|
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
inetsoft.sree.ArchiveEntry
public class ArchiveEntry
Represents an archive entry in the replet repository.
| Field Summary |
|---|
| Fields inherited from class inetsoft.sree.RepositoryEntry |
|---|
ALL, ARCHIVE, ARCHIVED_REPORTS, CHANGE_FOLDER_OPERATION, COMPOSITE_ARCHIVE, FILE, FOLDER, LIVE_REPORTS, PROTOTYPE_FOLDER, REMOVE_OPERATION, RENAME_OPERATION, REPLET, REPOSITORY_FOLDER, SNAPSHOTS, TRASHCAN, TRASHCAN_FOLDER, USER_FOLDERS, USERS_FOLDER, VIEWSHEET, VIEWSHEETS, WORKSHEET, WORKSHEET_FOLDER, WORKSHEETS |
| Constructor Summary | |
|---|---|
ArchiveEntry(String path)
Create an archive entry. |
|
ArchiveEntry(String path,
int type,
String owner)
Create an archive entry. |
|
ArchiveEntry(String path,
String owner)
Create an archive entry. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Check if equals another object. |
String |
getComment()
Get the comment of the archive entry. |
Date |
getDate()
Get the date of the archive entry. |
String |
getFileType()
Get the file type of the archive entry. |
RepositoryEntry |
getParent()
Get the parent entry of the repository entry. |
String |
getPrefix()
Get the prefix of the archive entry. |
String |
getSuffix()
Get the suffix of the archive entry. |
String |
getVersion()
Get the version of the archive entry. |
int |
hashCode()
Get the hash code value. |
boolean |
isCompositeArchive()
Check if is a composite archive. |
boolean |
isVersionedArchive()
Check if is a versioned archive entry. |
void |
parseAttributes(Element tag)
Method to parse attributes. |
void |
parseContents(Element tag)
Method to parse contents. |
void |
setComment(String comment)
Set the comment of the archive entry. |
void |
setDate(Date date)
Set the date of the archive entry. |
void |
setFileType(String ftype)
Set the file type of the archive entry. |
void |
setVersion(String version)
Set the version of the arcive entry. |
void |
setVersionedArchive(boolean versioned)
Set versioned archive option. |
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. |
void |
writeContents(PrintWriter writer)
Write contents. |
| Methods inherited from class inetsoft.sree.RepositoryEntry |
|---|
compareTo, getAssetEntry, getHtmlType, getLabel, getName, getOwner, getParentPath, getPath, getType, isArchive, isFolder, isMyReport, isReplet, isRoot, parseXML, setHtmlType, writeCDATA, writeXML |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArchiveEntry(String path)
path - the specified path.
public ArchiveEntry(String path,
String owner)
path - the specified path.owner - the specified owner.
public ArchiveEntry(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)
supportsOperation in class RepositoryEntryoperation - the specified operation.
public void setVersionedArchive(boolean versioned)
versioned - true if is a versioned archive entry,
false otherwise.public boolean isVersionedArchive()
public void setVersion(String version)
version - the specified version.public String getVersion()
public void setDate(Date date)
date - the specified date.public Date getDate()
public void setComment(String comment)
comment - the specified comment.public String getComment()
public void setFileType(String ftype)
ftype - the specified file type.public String getFileType()
public boolean isCompositeArchive()
public RepositoryEntry getParent()
getParent in class RepositoryEntrypublic String getPrefix()
public String getSuffix()
public String toString()
toString in class RepositoryEntrypublic boolean equals(Object obj)
equals in class RepositoryEntryobj - the specified object.
public int hashCode()
hashCode in class RepositoryEntrypublic void writeAttributes(PrintWriter writer)
writeAttributes in class RepositoryEntrywriter - the destination print writer.
public void parseAttributes(Element tag)
throws Exception
parseAttributes in class RepositoryEntryExceptionpublic void writeContents(PrintWriter writer)
writeContents in class RepositoryEntrywriter - the destination print writer.
public void parseContents(Element tag)
throws Exception
parseContents in class RepositoryEntryException
|
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 | ||||||||