|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.asset.AssetEntry
public class AssetEntry
AssetEntry locates a sheet or folder in AssetRepository. For a user scope sheet/folder, the associated user is required, and for a report scope sheet/folder, the associated report id stored as the property REPORT_ID is required.
| Field Summary | |
|---|---|
static int |
BEAN
Bean entry. |
static int |
BEAN_FOLDER
Bean folder entry. |
static int |
COLUMN
Column entry. |
static int |
COMPONENT
Component entry. |
static String |
CUBE
Cube query type. |
static String |
CUBE_COL_TYPE
Cube column type. |
static String |
CURRENT_QUERY
Current query. |
static int |
DATA
Data entry. |
static int |
DATA_MODEL
Data Model entry. |
static int |
DATA_SOURCE
Data source entry. |
static int |
DATA_SOURCE_FOLDER
Datasource folder entry. |
static String |
DATA_SOURCE_TYPE
Datasource type. |
static int |
DATE_DIMENSIONS
Cube column is date dimension. |
static int |
DIMENSIONS
Cube column is dimension. |
static int |
EMBEDDED_PS_FOLDER
Local Worksheet folder entry. |
static int |
ERM
All erm entries. |
static int |
EXTENDED_LOGIC_MODEL
Extended Logic model entry. |
static int |
EXTENDED_MODEL
Physical model partition entry. |
static int |
EXTENDED_PARTITION
Extended physical model partition entry. |
static int |
FOLDER
Folder entry. |
static int |
LOCAL_QUERY_FOLDER
Local Query folder entry. |
static int |
LOGIC_MODEL
Logic model. |
static int |
MEASURES
Cube column is measure. |
static int |
META_TEMPLATE
Meta template entry. |
static int |
META_TEMPLATE_FOLDER
Meta template folder entry. |
static String |
NORMAL
Normal query type. |
static int |
PARAMETER_SHEET
Parameter sheet entry. |
static int |
PARAMETER_SHEET_FOLDER
Parameter sheet folder entry. |
static int |
PARTITION
Physical model partition entry. |
static String |
PATH_ARRAY
Path array. |
static int |
PHYSICAL
Physical entry. |
static int |
PHYSICAL_COLUMN
Physical column. |
static int |
PHYSICAL_FOLDER
Physical folder. |
static int |
PHYSICAL_TABLE
Physical table. |
static String |
PRE_AGGREGATE
Pre-aggregate query type. |
static int |
QUERY
Query entry. |
static int |
QUERY_FOLDER
Query folder entry. |
static String |
QUERY_TYPE
Query type. |
static int |
REPLET
Report |
static int |
REPORT_COMPONENT
Report component type. |
static String |
REPORT_DATA_SOURCE
Report data source. |
static String |
REPORT_ID
Report id property. |
static int |
REPORT_WORKSHEET_FOLDER
Local Worksheet folder entry. |
static int |
REPOSITORY_FOLDER
Repository folder. |
static int |
SCRIPT
Script entry. |
static int |
SCRIPT_FOLDER
Table style sub folder entry. |
static int |
SHAPE
Shape entry. |
static String |
SHEET_DESCRIPTION
Worksheet description. |
static int |
TABLE
Table entry. |
static int |
TABLE_STYLE
Table style entry. |
static int |
TABLE_STYLE_FOLDER
Table style folder entry. |
static int |
UNKNOWN
Unknown entry. |
static int |
VARIABLE
Vairable entry. |
static int |
VIEWSHEET
Viewsheet entry. |
static int |
VIEWSHEET_BOOKMARK
Bookmark entry. |
static int |
VIEWSHEET_SNAPSHOT
Snapshot entry. |
static int |
VPM
Virtual private model entry. |
static int |
WORKSHEET
Worksheet entry. |
static String |
WORKSHEET_TYPE
Worksheet type. |
| Constructor Summary | |
|---|---|
AssetEntry()
Constructor. |
|
AssetEntry(int scope,
int type,
String path,
String user)
Constructor. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone the object. |
int |
compareTo(Object obj)
Compare to another object. |
void |
copyProperties(AssetEntry entry)
Copy properties from another asset entry. |
static AssetEntry |
createAssetEntry(Element elem)
Create an asset entry from an xml element. |
static AssetEntry |
createAssetEntry(String identifier)
Create an asset entry from a string identifier. |
static AssetEntry |
createGlobalRoot()
Create the root entry for the global scope. |
static AssetEntry |
createReportRoot()
Create the root entry for the report scope. |
static AssetEntry |
createUserRoot(Principal user)
Create the root entry for the user scope. |
boolean |
equals(Object obj)
Check if equals another object. |
String |
getAlias()
Get a alias of the asset entry. |
Date |
getCreatedDate()
Get the created date |
String |
getCreatedUsername()
Get the created username |
String |
getDependencyPattern()
Get the dependecy pattern. |
static String |
getDependencyPrefix()
Get the dependecy prefix. |
String |
getDescription()
Get the description without localization. |
String |
getDescription(boolean localize)
Get the description without localization. |
String |
getDescription(boolean localize,
boolean isAsset)
Get the description without localization. |
String |
getLockPath()
Get the lock path of the asset entry. |
Date |
getModifiedDate()
Get the modified date |
String |
getModifiedUsername()
Get the modified username |
String |
getName()
Get the name of the asset entry. |
AssetEntry |
getParent()
Get the parent entry of the asset entry. |
String |
getParentPath()
Get the parent path of the asset entry. |
String |
getPath()
Get the path of the asset entry. |
String |
getProperty(String key)
Get a property of the asset entry. |
Enumeration |
getPropertyKeys()
Get the keys of the properties. |
int |
getScope()
Get the scope of the asset entry, which should be one of the predefined types in AssetRepository like GLOBAL_SCOPE, USER_SCOPE, etc. |
String |
getSheetName()
If the entry is sheet, get fullpath and scope as the sheet name. |
int |
getType()
Get the type of the asset entry, which should be one of the predefined types like FOLDER, WORKSHEET, etc. |
String |
getUser()
Get the user of the asset entry. |
int |
hashCode()
Get the hash code value. |
boolean |
isActualFolder()
|
boolean |
isAncestor(AssetEntry entry)
Check if is the ancestor of another entry. |
boolean |
isBean()
Check if is a bean entry. |
boolean |
isBeanFolder()
Check if is a bean folder entry. |
boolean |
isColumn()
Check if is a column entry. |
boolean |
isData()
Check if is a data entry. |
boolean |
isDataModel()
Check if is a data model entry. |
boolean |
isDataSource()
Check if is a data source entry. |
boolean |
isDataSourceFolder()
Check if is a data source folder entry. |
boolean |
isEditable()
Check if is editable. |
boolean |
isEmbeddedParameterSheet()
Check if is an embedded parameter sheet entry. |
boolean |
isEmbeddedPSFolder()
Check if is a local parameter sheet folder entry. |
boolean |
isExtendedLogicModel()
Check if is a extended logic model entry. |
boolean |
isExtendedModel()
Check if is a extended model entry. |
boolean |
isExtendedPartition()
Check if is a extended partion entry. |
boolean |
isFolder()
Check if is a folder entry. |
static boolean |
isIgnoredProperty(String key)
Check if is an ignored property. |
boolean |
isLocalQuery()
Check if is a local query folder entry. |
boolean |
isLocalQueryFolder()
Check if is a local query folder entry. |
boolean |
isLocalWorksheet()
Check if is a local worksheet entry. |
boolean |
isLogicModel()
Check if is a logic model entry. |
boolean |
isMetaTemplate()
Check if is a meta template entry. |
boolean |
isMetaTemplateFolder()
Check if is a meta template folder entry. |
boolean |
isMyReportsFolder()
Check if is the My Reports folder entry. |
boolean |
isParameterSheet()
Check if is a parameter sheet entry. |
boolean |
isParameterSheetFolder()
Check if is a parameter sheet folder entry. |
boolean |
isPartition()
Check if is a partion entry. |
boolean |
isPhysicalFolder()
Check if is a physical folder entry. |
boolean |
isPhysicalTable()
Check if is a physical table entry. |
boolean |
isQuery()
Check if is a query entry. |
boolean |
isQueryFolder()
Check if is a query folder entry. |
boolean |
isReplet()
Check if is a replet entry. |
boolean |
isReportDataSource()
Check if is treated as a report data source. |
boolean |
isReportWorksheetFolder()
Check if is a local worksheet folder entry. |
boolean |
isRepositoryFolder()
Check if is a repository folder entry. |
boolean |
isRoot()
Check if is root. |
boolean |
isScript()
Check if is a script function entry. |
boolean |
isScriptFolder()
Check if is a script folder entry. |
boolean |
isSheet()
Check if is a sheet entry. |
boolean |
isTable()
Check if is a table entry. |
boolean |
isTableStyle()
Check if is a table style entry. |
boolean |
isTableStyleFolder()
Check if is a table style folder entry. |
boolean |
isTableStyleSubFolder()
Check if is a table style sub folder entry. |
boolean |
isValid()
Check if the asset entry is valid. |
boolean |
isVariable()
Check if is a variable entry. |
boolean |
isViewsheet()
Check if is a viewsheet entry. |
boolean |
isVPM()
Check if is a vpm entry. |
boolean |
isVSSnapshot()
Check if is a viewsheet snapshot entry. |
boolean |
isWorksheet()
Check if is a worksheet entry. |
boolean |
isWorksheetFolder()
Check if is a worksheet folder entry. |
boolean |
parseData(DataInputStream input)
Parse data from an InputStream. |
void |
parseXML(Element elem)
Method to parse an xml segment. |
void |
resetMVOptions()
Reset mv options. |
void |
setAlias(String alias)
Set a alias of the asset entry. |
void |
setCreatedDate(Date createdDate)
Set the created date |
void |
setCreatedUsername(String createdUsername)
Set the created username |
void |
setModifiedDate(Date modifiedDate)
Set the modified date |
void |
setModifiedUsername(String modifiedUsername)
Set modified username |
void |
setProperty(String key,
String value)
Set a property of the asset entry. |
void |
setReportDataSource(boolean source)
Set whether is treated as a report data source. |
String |
toDescription()
Get the description for debug only. |
String |
toIdentifier()
To string identifier. |
String |
toString()
Get the string representation. |
String |
toView()
Get the string to display. |
void |
writeData(DataOutputStream dos)
Write data to a DataOutputStream. |
void |
writeProperties2(DataOutputStream dos)
Write properties. |
void |
writeXML(PrintWriter writer)
Write the xml segment to print writer. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int UNKNOWN
public static final int FOLDER
public static final int WORKSHEET
public static final int DATA
public static final int COLUMN
public static final int TABLE
public static final int QUERY
public static final int LOGIC_MODEL
public static final int DATA_SOURCE
public static final int VIEWSHEET
public static final int PHYSICAL
public static final int PHYSICAL_FOLDER
public static final int PHYSICAL_TABLE
public static final int PHYSICAL_COLUMN
public static final int COMPONENT
public static final int SHAPE
public static final int REPOSITORY_FOLDER
public static final int VIEWSHEET_SNAPSHOT
public static final int VIEWSHEET_BOOKMARK
public static final int VARIABLE
public static final int DATA_SOURCE_FOLDER
public static final int BEAN
public static final int PARAMETER_SHEET
public static final int META_TEMPLATE
public static final int TABLE_STYLE
public static final int SCRIPT
public static final int REPORT_COMPONENT
public static final int BEAN_FOLDER
public static final int PARAMETER_SHEET_FOLDER
public static final int META_TEMPLATE_FOLDER
public static final int TABLE_STYLE_FOLDER
public static final int SCRIPT_FOLDER
public static final int DATA_MODEL
public static final int PARTITION
public static final int EXTENDED_MODEL
public static final int EXTENDED_PARTITION
public static final int EXTENDED_LOGIC_MODEL
public static final int VPM
public static final int QUERY_FOLDER
public static final int LOCAL_QUERY_FOLDER
public static final int REPORT_WORKSHEET_FOLDER
public static final int EMBEDDED_PS_FOLDER
public static final int REPLET
public static final int ERM
public static final String REPORT_ID
public static final String WORKSHEET_TYPE
public static final String SHEET_DESCRIPTION
public static final String REPORT_DATA_SOURCE
public static final String PATH_ARRAY
public static final String QUERY_TYPE
public static final String CURRENT_QUERY
public static final String NORMAL
public static final String PRE_AGGREGATE
public static final String CUBE
public static final String CUBE_COL_TYPE
public static final String DATA_SOURCE_TYPE
public static final int DIMENSIONS
public static final int MEASURES
public static final int DATE_DIMENSIONS
| Constructor Detail |
|---|
public AssetEntry()
public AssetEntry(int scope,
int type,
String path,
String user)
| Method Detail |
|---|
public static boolean isIgnoredProperty(String key)
public static AssetEntry createAssetEntry(String identifier)
identifier - the specified string identifier.
public static AssetEntry createAssetEntry(Element elem)
throws Exception
elem - the specified xml element.
Exceptionpublic static AssetEntry createGlobalRoot()
public static AssetEntry createUserRoot(Principal user)
public static AssetEntry createReportRoot()
public static String getDependencyPrefix()
public boolean isReportDataSource()
public void setReportDataSource(boolean source)
source - true if treated as a report data source,
false otherwise.public int getScope()
public int getType()
public String getPath()
public String getLockPath()
public String getUser()
public String getProperty(String key)
key - the name of the property.
public void setProperty(String key,
String value)
key - the name of the property.value - the value of the property, null to remove the
property.public String getName()
public boolean isRoot()
public boolean isFolder()
public boolean isActualFolder()
public boolean isWorksheet()
public boolean isViewsheet()
true if yes, false otherwise.public boolean isVSSnapshot()
true if yes, false otherwise.public boolean isSheet()
true if yes, false otherwise.public boolean isData()
public boolean isColumn()
public boolean isTable()
public boolean isQuery()
public boolean isLogicModel()
true if yes, false otherwise.public boolean isPhysicalFolder()
public boolean isRepositoryFolder()
public boolean isPhysicalTable()
public boolean isDataSource()
public boolean isDataSourceFolder()
public boolean isVariable()
public boolean isBean()
public boolean isParameterSheet()
public boolean isReplet()
public boolean isMetaTemplate()
public boolean isTableStyle()
public boolean isScript()
public boolean isBeanFolder()
public boolean isParameterSheetFolder()
public boolean isMetaTemplateFolder()
public boolean isTableStyleFolder()
public boolean isTableStyleSubFolder()
public boolean isScriptFolder()
public boolean isEmbeddedParameterSheet()
public boolean isLocalQueryFolder()
public boolean isLocalQuery()
public boolean isReportWorksheetFolder()
public boolean isEmbeddedPSFolder()
public boolean isLocalWorksheet()
public boolean isDataModel()
public boolean isPartition()
public boolean isExtendedPartition()
public boolean isExtendedLogicModel()
public boolean isExtendedModel()
public boolean isVPM()
public boolean isQueryFolder()
public boolean isMyReportsFolder()
public boolean isWorksheetFolder()
public boolean isEditable()
public String getParentPath()
public AssetEntry getParent()
public boolean isAncestor(AssetEntry entry)
entry - the specified entry.
public String toString()
toString in class Objectpublic String toView()
public String toDescription()
public String getAlias()
public void setAlias(String alias)
alias - the alias of the property.public String getDescription()
public String getDescription(boolean localize)
localize - true if the description needs to localize.
public String getDescription(boolean localize,
boolean isAsset)
localize - true if the description needs to localize.isAsset - true if the description is asset description.
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - the specified object.
public int compareTo(Object obj)
compareTo in interface Comparableobj - the specified object.
public boolean isValid()
public Enumeration getPropertyKeys()
public void copyProperties(AssetEntry entry)
entry - the specified asset entry.public String getDependencyPattern()
public void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriter - the destination print writer.public void writeData(DataOutputStream dos)
writeData in interface inetsoft.util.DataSerializabledos - the destination DataOutputStream.
IOException.public void writeProperties2(DataOutputStream dos)
dos - the destination DataOutputStream.
public void parseXML(Element elem)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableelem - the specified xml element.
Exceptionpublic void resetMVOptions()
public boolean parseData(DataInputStream input)
parseData in interface inetsoft.util.DataSerializableinput - the source DataInputStream.public String toIdentifier()
public String getSheetName()
public Object clone()
clone in interface AssetObjectclone in class Objectpublic Date getCreatedDate()
public void setCreatedDate(Date createdDate)
createdDate - the created datepublic String getCreatedUsername()
public void setCreatedUsername(String createdUsername)
createdUsername - the created usernamepublic Date getModifiedDate()
public void setModifiedDate(Date modifiedDate)
modifiedDate - the modified datepublic String getModifiedUsername()
public void setModifiedUsername(String modifiedUsername)
modifiedUsername - the modified username
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||