|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.sree.RepositoryEntry
public class RepositoryEntry
Represents an entry in the replet repository. An entry can be a folder, replet, or archived file.
| Field Summary | |
|---|---|
static int |
ALL
Flag indicating all types of entries. |
static int |
ARCHIVE
Flag indicating the entry is an archived report. |
static int |
ARCHIVED_REPORTS
Flag indicating the archived reports. |
static int |
CHANGE_FOLDER_OPERATION
Change folder operation. |
static int |
COMPOSITE_ARCHIVE
Flag indicating the entry is a composite archived report. |
static int |
FILE
Flag indicating the entry is a report file. |
static int |
FOLDER
Flag indicating the entry is a folder. |
static int |
LIVE_REPORTS
Flag indicating the live reports. |
static String |
PROTOTYPE_FOLDER
Prototype folder. |
static int |
REMOVE_OPERATION
Remove operation. |
static int |
RENAME_OPERATION
Rename operation. |
static int |
REPLET
Flag indicating the entry is a replet. |
static String |
REPOSITORY_FOLDER
Repository folder. |
static int |
SNAPSHOTS
Flag indicating the snapshots. |
static int |
TRASHCAN
Flag indicating the entry is a deleted folder or archive. |
static String |
TRASHCAN_FOLDER
Trashcan folder. |
static int |
USER_FOLDERS
Flag indicating the user folders. |
static String |
USERS_FOLDER
Users' folder. |
static int |
VIEWSHEET
Flag indicating the entry is a viewsheet. |
static int |
VIEWSHEETS
Flag indicating the viewsheets. |
static int |
WORKSHEET
Flag indicating the entry is a worksheet. |
static int |
WORKSHEET_FOLDER
Flag indicating the entry is a worksheet folder. |
static int |
WORKSHEETS
Flag indicating the worksheets. |
| Constructor Summary | |
|---|---|
RepositoryEntry()
Constructor. |
|
RepositoryEntry(String path,
int type)
Create a repository entry. |
|
RepositoryEntry(String path,
int type,
String owner)
Create a repository entry. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object obj)
Compare to another object. |
boolean |
equals(Object obj)
Check if equals another object. |
AssetEntry |
getAssetEntry()
Get the asset entry. |
int |
getHtmlType()
Get htmlType. |
String |
getLabel()
Get the label of the repository entry. |
String |
getName()
Get the name of the repository entry. |
String |
getOwner()
Get the owner. |
RepositoryEntry |
getParent()
Get the parent entry of the repository entry. |
String |
getParentPath()
Get the parent path of the repository entry. |
String |
getPath()
Get repository entry path. |
int |
getType()
Get repository entry type, which should be one of the predefined types like FOLDER, REPLET, ARCHIVE, etc. |
int |
hashCode()
Get the hash code value. |
boolean |
isArchive()
Check if is an archive entry. |
boolean |
isFolder()
Check if is a folder entry. |
boolean |
isMyReport()
Check if is stored in my report folder or is my report folder. |
boolean |
isReplet()
Check if is a replet entry. |
boolean |
isRoot()
Check if is root. |
void |
parseAttributes(Element tag)
Method to parse attributes. |
void |
parseContents(Element tag)
Method to parse contents. |
void |
parseXML(Element tag)
Method to parse an xml segment. |
void |
setHtmlType(int htmlType)
Set htmlType. |
boolean |
supportsOperation(int operation)
Check if supports an operation, which should be one of the predefined operation like RENAME_OPERATION, CHANGE_FOLDER_OPERATION, REMOVE_OPERATION, etc. |
String |
toString()
Get the string representation. |
void |
writeAttributes(PrintWriter writer)
Write attributes. |
protected void |
writeCDATA(PrintWriter writer,
String name,
String value)
Write a name-value pair cdata representation to an output stream. |
void |
writeContents(PrintWriter writer)
Write contents. |
void |
writeXML(PrintWriter writer)
Write the xml segment to print writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int FOLDER
public static final int REPLET
public static final int ARCHIVE
public static final int COMPOSITE_ARCHIVE
public static final int TRASHCAN
public static final int FILE
public static final int VIEWSHEET
public static final int WORKSHEET
public static final int WORKSHEET_FOLDER
public static final int ALL
public static final int RENAME_OPERATION
public static final int CHANGE_FOLDER_OPERATION
public static final int REMOVE_OPERATION
public static final String REPOSITORY_FOLDER
public static final String PROTOTYPE_FOLDER
public static final String TRASHCAN_FOLDER
public static final String USERS_FOLDER
public static final int USER_FOLDERS
public static final int LIVE_REPORTS
public static final int SNAPSHOTS
public static final int ARCHIVED_REPORTS
public static final int VIEWSHEETS
public static final int WORKSHEETS
| Constructor Detail |
|---|
public RepositoryEntry()
public RepositoryEntry(String path,
int type)
path - the specified path.type - the specified entry type.
public RepositoryEntry(String path,
int type,
String owner)
path - the specified path.type - the specified entry type.owner - the specified owner.| Method Detail |
|---|
public boolean supportsOperation(int operation)
operation - the specified operation.
public boolean isRoot()
public String getName()
public String getLabel()
public RepositoryEntry getParent()
public String getParentPath()
public String getPath()
public int getType()
public boolean isFolder()
public boolean isReplet()
public boolean isArchive()
public String getOwner()
public boolean isMyReport()
public void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriter - the destination print writer.
public void parseXML(Element tag)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableExceptionpublic void writeAttributes(PrintWriter writer)
writer - the destination print writer.
public void parseAttributes(Element tag)
throws Exception
Exceptionpublic void writeContents(PrintWriter writer)
writer - the destination print writer.
public void parseContents(Element tag)
throws Exception
Exceptionpublic String toString()
toString in class Objectpublic 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 AssetEntry getAssetEntry()
protected void writeCDATA(PrintWriter writer,
String name,
String value)
writer - the specified output stream.name - the specified name.value - the specified value.public void setHtmlType(int htmlType)
public int getHtmlType()
|
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 | ||||||||