|
|||||||||
| 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)
Returns the value of a custom field which can be String or other formats. |
java.lang.String |
getDescription()
Returns the information with which described the resource. |
java.lang.String |
getDisplay(java.util.Locale locale)
Returns the resource display text for specified locale. |
java.lang.String |
getDisplayName()
Returns the resource display name. |
java.lang.String[] |
getFileInfo()
Gets this resource path's file information. |
long |
getLastModified()
Gets last modified time of the file that getRealPath() indicates. |
int |
getLatestVersionNumber()
Gets latest version number of a resource. |
java.lang.String |
getLinkedCatalog()
Gets the linked catalog. |
int |
getMaxVersionAmount()
Gets max version amount of a resource. |
java.lang.String |
getName()
Returns the resource name. |
java.lang.String |
getParentPath()
Returns the resource parent path . |
java.lang.String |
getPath()
Returns the resource path. |
java.lang.String |
getProfileName()
Gets the profile name, only used for report. |
java.lang.String |
getRealPath()
Returns the resource real path of this PathInfo. |
byte |
getResourceSubType()
|
byte |
getResourceType()
|
byte |
getStatus()
Returns the report resource status. |
java.lang.String |
getUserID()
Returns the user ID that accesses the resource path. |
boolean |
isAdhocReport()
Deprecated. No replacement. |
boolean |
isArchiveNewVersion()
Checks if to archive a new version when adding a new version to a resource. |
boolean |
isCatalog()
Test if the resource path maps to a catalog. |
boolean |
isDir()
Checks if the resource path maps to a file system directory. |
boolean |
isDynamic()
Checks if the resource is from real path. |
boolean |
isEnableArchivePolicy()
Checks if the archive policy is enabled on this node. |
boolean |
isEnableDynamicResource()
Checks if resources from the node's real path can be used. |
boolean |
isEnableLinkedCatalog()
Checks if to enable linked catalog. |
boolean |
isEnableNLS()
Checks if the resource enables NLS (resource type is report). |
boolean |
isFile()
Checks if the resource path maps to a file system file. |
boolean |
isInUserDir()
Checks if the folder that this PathInfo object represents is a
user folder. |
boolean |
isJDashboard()
Checks if the resource path maps to a dashboard report. |
boolean |
isLC()
Checks if the resource path maps to a LC. |
boolean |
isLiveReport()
Checks if the resource path maps to a live report. |
boolean |
isOwner(java.lang.String userID)
Checks if the user ID is the resource owner. |
boolean |
isReport()
Checks if the resource path maps to a report. |
boolean |
isResourceNode()
Deprecated. As of version, it does not have effect. |
boolean |
isResult()
Checks if the resource path maps to a result. |
boolean |
isRptReport()
Checks if the resource path maps to a report set source file. |
boolean |
isSelfContainReport()
Checks if the resource path maps to a self-contained report. |
boolean |
isShared()
Checks if the resource path is mapped to a shared disk or shared path. |
boolean |
isStudioReport()
Checks if the resource path maps to a studio report. |
boolean |
isUseInherited()
Checks if to use inherited linked catalog. |
boolean |
isVA()
|
boolean |
isXmlCatalog()
Checks if the resource path maps to an xml catalog. |
boolean |
isXmlReport()
Checks if the resource path maps to an xml report. |
| 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 an RptServerException occurs.java.lang.String getDescription()
boolean isResourceNode()
boolean isDir()
boolean isFile()
boolean isCatalog()
boolean isLC()
boolean isXmlCatalog()
boolean isReport()
boolean isSelfContainReport()
boolean isRptReport()
boolean isXmlReport()
java.lang.String getDisplayName()
java.lang.String getDisplay(java.util.Locale locale)
locale - the locale.
ResourceNLSManager.updateNLSEntry(Locale, String, TextNLSEntry, String), return null if not defined.ResourceNLSManagerboolean isStudioReport()
boolean isAdhocReport()
boolean isLiveReport()
boolean isJDashboard()
boolean isShared()
java.lang.String[] getFileInfo()
throws RptServerException
RptServerExceptionboolean isResult()
boolean isInUserDir()
PathInfo object represents is a
user folder.
PathInfo object represents a user
folder, or false if it does not represent a user folder.int getMaxVersionAmount()
PathInfo object represents is not a resource, return -1.
boolean isOwner(java.lang.String userID)
userID - the user ID.
int getLatestVersionNumber()
PathInfo object represents 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 the real path is empty or it does not exist.boolean isEnableNLS()
java.lang.Object getCustomFieldValue(java.lang.String name)
name - the name of the custom field.
byte getStatus()
byte getResourceType()
byte getResourceSubType()
boolean isVA()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||