|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ReportArchive
Report Archive defines the archive interfaces.
| Field Summary | |
|---|---|
static String |
REMOVE_ARCHIVE_EVENT
Remove archive event. |
static String |
RENAME_ARCHIVE_EVENT
Rename archive event. |
static String |
UNREMOVE_FOLDER_EVENT
Unremove archive folder event. |
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add property change listener. |
boolean |
changeFile(String opath,
String npath)
Change an archive file. |
boolean |
changeFolder(String opath,
String npath)
Change an archive folder. |
void |
cleanHtmlType()
Clean htmlType. |
boolean |
fileExists(String path,
String version)
Check if an archive file exists. |
boolean |
folderExists(String path)
Check if an archive folder exists. |
ReportData |
get(String path,
String version)
Get the report data of an archive file. |
ArchiveRule |
getArchiveRule(String path)
Get the archive rule of an archive file or folder. |
String[] |
getFiles(String folder,
boolean all)
List the archive files in an archive folder. |
String[] |
getFolders(String folder,
boolean all)
List the sub folders in an archive folder. |
int |
getHtmlType()
Get htmlType. |
ArchiveIdentity[] |
getRemovedFiles()
Get all the removed archive files. |
ArchiveIdentity[] |
getRemovedFolders()
Get all the removed archive folders. |
String[] |
getRulePaths()
Get all the paths have archive rule. |
String |
getUser()
Get the user of the archive. |
VersionInfo[] |
getVersions(String path,
boolean all)
Get all versions of an archive file in the archive. |
boolean |
isVersioned()
Check if the report archive is a versioned report archive. |
boolean |
mountFile(String path)
Mount an archive file to the store. |
boolean |
mountFolder(String path)
Mount an archive folder to the store. |
boolean |
removeFile(String path,
String version,
boolean permanent)
Remove an archive file from the store. |
boolean |
removeFolder(String path,
boolean permanent)
Remove an archive folder from the store. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove property change listener. |
boolean |
save(String path,
ReportData data,
String comment,
Principal user)
Save an archive file at the specified path. |
void |
setArchiveRule(String path,
ArchiveRule rule)
Set the archive rule of an arhive file or folder. |
void |
setHtmlType(int htmlType)
Set htmlType. |
void |
setUser(String user)
Set the user of the archive. |
boolean |
unmountFile(String path)
Unmount an archive file from the store. |
boolean |
unmountFolder(String path)
Unmount an archive folder from the store. |
boolean |
unremoveFile(String path,
String ver)
Restore a removed archive file version from trashcan. |
boolean |
unremoveFolder(String path)
Restore a removed folder from transhcan. |
| Field Detail |
|---|
static final String RENAME_ARCHIVE_EVENT
static final String REMOVE_ARCHIVE_EVENT
static final String UNREMOVE_FOLDER_EVENT
| Method Detail |
|---|
void addPropertyChangeListener(PropertyChangeListener listener)
listener - the specified listener.void removePropertyChangeListener(PropertyChangeListener listener)
listener - the specified listener.boolean isVersioned()
void setArchiveRule(String path,
ArchiveRule rule)
path - the specified archive file or folder path.rule - the specified archive rule.ArchiveRule getArchiveRule(String path)
path - the specified archive file or folder path.
String[] getRulePaths()
String[] getFiles(String folder,
boolean all)
folder - the specified archive folder path.all - true to include removed archive files,
false otherwise.
String[] getFolders(String folder,
boolean all)
folder - the specified archive folder path.all - true to include removed archive folders,
false otherwise.
boolean removeFile(String path,
String version,
boolean permanent)
path - the specified archive file path.version - the specified version.permanent - true to remove the archive file permanently,
false otherwise.
boolean unremoveFile(String path,
String ver)
path - the specified archive file path.ver - the specified version.
ArchiveIdentity[] getRemovedFiles()
boolean removeFolder(String path,
boolean permanent)
path - the specified archive folder path.permanent - true to remove the archive folder permanently,
false otherwise.
boolean unremoveFolder(String path)
path - the specified archive folder path.
ArchiveIdentity[] getRemovedFolders()
boolean changeFile(String opath,
String npath)
opath - the specified old archive file path.npath - the specified new arcive file npath.
boolean changeFolder(String opath,
String npath)
opath - the specified old archive folder path.npath - the specified new archive folder path.
boolean save(String path,
ReportData data,
String comment,
Principal user)
throws Exception
path - the specified archive file path.comment - the specified comment.user - the user that created the report.
Exception
VersionInfo[] getVersions(String path,
boolean all)
path - the specified archive file path.all - true to include removed versions,
false otherwise.
boolean fileExists(String path,
String version)
path - the specified archive file path.version - the specified version.
boolean folderExists(String path)
path - the specified archive folder path.
ReportData get(String path,
String version)
path - the specified archive file path.version - the specified version.
boolean mountFile(String path)
path - the specified archive file path.
boolean unmountFile(String path)
path - the specified archive file path.
boolean mountFolder(String path)
path - the specified archive folder path.
boolean unmountFolder(String path)
path - the specified archive folder path.
void setUser(String user)
user - the user of the archive.String getUser()
void setHtmlType(int htmlType)
int getHtmlType()
void cleanHtmlType()
|
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 | ||||||||