|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PathInfo
Interface PathInfo contains information of a resource path in
the server.
| Method Summary | |
|---|---|
java.lang.Object |
getCustomFieldValue(java.lang.String name)
Return the value of a custom field which could be String or other formats. |
java.lang.String |
getDescription()
Return the information which admin described for the resource. |
java.lang.String[] |
getFileInfo()
Get this resource path's file information |
long |
getLastModified()
Get last modified time of the file that getRealPath() indicates. |
int |
getLatestVersionNumber()
Get latest version number of resource. |
java.lang.String |
getLinkedCatalog()
get the linked catalog |
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 |
getProfileName()
get the profile name, only used for report |
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 |
isEnableLinkedCatalog()
if enable linked catalog |
boolean |
isEnableNLS()
if the resource is enable NLS(resource type is report) |
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 |
boolean |
isUseInherited()
if use inherited linked catalog |
| Method Detail |
|---|
java.lang.String getUserID()
java.lang.String getPath()
java.lang.String getName()
java.lang.String getParentPath()
java.lang.String getRealPath()
throws RptServerException
RptServerException - if a RptServerException occurs.java.lang.String getDescription()
boolean isResourceNode()
boolean isDir()
boolean isFile()
boolean isCatalog()
boolean isReport()
boolean isSelfContainReport()
boolean isAdhocReport()
boolean isShared()
java.lang.String[] getFileInfo()
throws RptServerException
RptServerExceptionboolean isResult()
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.int getMaxVersionAmount()
PathInfo object represented is not a resource, return -1;
boolean isOwner(java.lang.String userID)
userID - the user ID.
int getLatestVersionNumber()
PathInfo object represent is not a resource, return -1.
boolean isArchiveNewVersion()
boolean isEnableArchivePolicy()
boolean isDynamic()
boolean isEnableDynamicResource()
boolean isEnableLinkedCatalog()
java.lang.String getLinkedCatalog()
boolean isUseInherited()
java.lang.String getProfileName()
long getLastModified()
getRealPath() indicates.
getRealPath() indicates,
return 0L if real path is empty or doesnot exist.boolean isEnableNLS()
java.lang.Object getCustomFieldValue(java.lang.String name)
name - the name of the custom field.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||