|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface PathInfo contains information of a resource path in the server.
| Method Summary | |
java.lang.String |
getDescription()
Return the information which admin described for the resource. |
java.lang.String[] |
getFileInfo()
Get this resource path's file information |
int |
getLatestVersionNumber()
Get latest version number of resource. if the node which this PathInfo
object represent is not a resource, return -1. |
int |
getMaxVersionAmount()
Get max version amount of resource, if the node which this PathInfo
object represented is not a resource, return -1; |
java.lang.String |
getName()
Return the resource name. |
java.lang.String |
getParentPath()
Return the resource parent path. |
java.lang.String |
getPath()
Return the resource path. |
java.lang.String |
getRealPath()
Return the resource real path. |
java.lang.String |
getUserID()
Return the user ID that accesses to the resource path. |
boolean |
isAdhocReport()
Test if the resource path maps to a analysis report. |
boolean |
isArchiveNewVersion()
Check if archive a new version when add new version on resource. |
boolean |
isCatalog()
Test if the resource path maps to a catalog. |
boolean |
isDir()
Test if the resource path map to a file system directory. |
boolean |
isDynamic()
if the resource from realpath |
boolean |
isEnableArchivePolicy()
Check if archive policy is enabled on this node, if it is true, isReplaceOldVersion() and getMaxVersionAmount() are effective, if it is false, no archive policy apply on node, that is, max version amount is 0(no limited), and do not replace old version. |
boolean |
isEnableDynamicResource()
if resources from node's realpath can be used |
boolean |
isFile()
Test if the resource path maps to a file system file. |
boolean |
isInUserDir()
Check if folder that this PathInfo object represent is a user folder. |
boolean |
isOwner(java.lang.String userID)
Check if the user ID is the resource owner. |
boolean |
isReport()
Test if the resource path maps to a report. |
boolean |
isResourceNode()
Deprecated. As if version, it has not effective. |
boolean |
isResult()
If the resource path maps to a result. |
boolean |
isSelfContainReport()
Test if the resource path maps to a self-contains report. |
boolean |
isShared()
Test if the resource path is mapped to a shared disk or shared path |
| Method Detail |
public java.lang.String getUserID()
public java.lang.String getPath()
public java.lang.String getName()
public java.lang.String getParentPath()
public java.lang.String getRealPath()
throws RptServerException
RptServerException - if a RptServerException occurs.public java.lang.String getDescription()
public boolean isResourceNode()
public boolean isDir()
public boolean isFile()
public boolean isCatalog()
public boolean isReport()
public boolean isSelfContainReport()
public boolean isAdhocReport()
public boolean isShared()
public java.lang.String[] getFileInfo()
throws RptServerException
RptServerExceptionpublic boolean isResult()
public boolean isInUserDir()
PathInfo object represent is a user folder.
PathInfo object represents a user folder,
or false if it does not represent a user folder.public int getMaxVersionAmount()
PathInfo
object represented is not a resource, return -1;
public boolean isOwner(java.lang.String userID)
userID - the user ID.
public int getLatestVersionNumber()
PathInfo
object represent is not a resource, return -1.
public boolean isArchiveNewVersion()
public boolean isEnableArchivePolicy()
public boolean isDynamic()
public boolean isEnableDynamicResource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||