|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.security.GenericSecuredObject atg.adapter.secure.SecuredRepositoryObject atg.adapter.secure.GenericSecuredRepositoryItem atg.adapter.secure.GenericSecuredMutableRepositoryItem atg.adapter.secure.GenericSecuredMutableFolderItem
public class GenericSecuredMutableFolderItem
A class which can be used to wrap a GSAFolder because it implements all appropriate interfaces (FolderItem, ContentRepositoryFolder, MutableRepositoryItem)
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Fields inherited from class atg.adapter.secure.GenericSecuredRepositoryItem |
---|
ITEM_RIGHTS, ITEM_RIGHTS_MAP, mPolicy, mPropertyObjects |
Fields inherited from class atg.adapter.secure.SecuredRepositoryObject |
---|
mDescriptor, mItem, mMutableItem, mRepository |
Fields inherited from class atg.security.GenericSecuredObject |
---|
mAcl, mOwner, mSecurityContext |
Constructor Summary | |
---|---|
GenericSecuredMutableFolderItem(GenericSecuredMutableContentRepository pRepository,
MutableRepositoryItem pItem)
Wraps a repository item with a secured repository item. |
|
GenericSecuredMutableFolderItem(GenericSecuredMutableRepository pRepository,
MutableRepositoryItem pItem)
Wraps a repository item with a secured repository item. |
Method Summary | |
---|---|
java.lang.String[] |
getAncestorFolderIds()
Returns an array of ids for all folders which are parents of this item. |
java.lang.String[] |
getAncestorFolderPaths()
Returns an array of paths for all folders which are parents of this item. |
java.lang.String[] |
getChildContentIds()
Returns an array of document ids which can be used to access the pieces of content in the folder. |
java.lang.String[] |
getChildContentPaths()
Returns an array of document names which can be used to access the pieces of content in the folder. |
java.lang.String[] |
getChildFolderIds()
Returns an array of ids which access all the folders which are children of this folder. |
java.lang.String[] |
getChildFolderPaths()
Returns an array of folder names which access all the folders which are children of this folder. |
java.lang.String |
getFolderId()
Return the id of this folder. |
java.lang.String |
getItemPath()
Return the path of this item, represented as a "relative path" from a "document root." |
Methods inherited from class atg.adapter.secure.GenericSecuredMutableRepositoryItem |
---|
getOriginalItemDescriptor, setAccessControlList, setOwner, setPropertyAccessControlList, setPropertyValue, unsecuredSetCreationSecurity |
Methods inherited from class atg.adapter.secure.GenericSecuredRepositoryItem |
---|
checkPropertyAccess, equals, getContextMemberships, getItemDescriptor, getItemDisplayName, getPropertyAccessControlList, getPropertySecuredObject, getPropertyValue, getRepository, getRepositoryId, hasAccess, hashCode, hasPropertyAccess, isRemoved, isTransient, toString |
Methods inherited from class atg.adapter.secure.SecuredRepositoryObject |
---|
getRepositoryItem, getSecuredObjectDescriptor, invalidate, logError, logError, logError, supportsAccessControlList, supportsOwner, unsecuredGetAccessControlList, unsecuredGetContainers, unsecuredGetOwner, unsecuredSetAccessControlList, unsecuredSetOwner |
Methods inherited from class atg.security.GenericSecuredObject |
---|
checkAccess, checkRuntimeAccess, getAccessControlList, getOwner, getSecurityContext, setSecurityContext, unsecuredGetSecuredContainers |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface atg.repository.DisplayableItem |
---|
getItemDisplayName |
Methods inherited from interface atg.repository.SecuredRepositoryItem |
---|
getPropertyAccessControlList, getPropertySecuredObject, hasAccess, hasPropertyAccess |
Methods inherited from interface atg.security.SecuredObject |
---|
getAccessControlList, getOwner, getSecurityContext, supportsAccessControlList, supportsOwner, unsecuredGetAccessControlList, unsecuredGetContainers, unsecuredGetOwner, unsecuredSetAccessControlList, unsecuredSetOwner |
Methods inherited from interface atg.repository.RepositoryItem |
---|
getContextMemberships, getItemDescriptor, getPropertyValue, getRepository, getRepositoryId, isTransient |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public GenericSecuredMutableFolderItem(GenericSecuredMutableContentRepository pRepository, MutableRepositoryItem pItem) throws RepositoryException
RepositoryException
public GenericSecuredMutableFolderItem(GenericSecuredMutableRepository pRepository, MutableRepositoryItem pItem) throws RepositoryException
RepositoryException
Method Detail |
---|
public java.lang.String getFolderId()
getFolderId
in interface ContentRepositoryFolder
public java.lang.String[] getChildFolderPaths()
getChildFolderPaths
in interface ContentRepositoryFolder
ContentRepository.getFolderByPath
,
ContentRepository.getFoldersByPath
public java.lang.String[] getChildFolderIds()
getChildFolderIds
in interface ContentRepositoryFolder
ContentRepository.getFolder
,
ContentRepository.getFolders
public java.lang.String[] getChildContentPaths()
getChildContentPaths
in interface ContentRepositoryFolder
ContentRepository.getItemByPath
,
ContentRepository.getItemsByPath
public java.lang.String[] getChildContentIds()
getChildContentIds
in interface ContentRepositoryFolder
Repository.getItem
,
Repository.getItems
public java.lang.String getItemPath()
getItemPath
in interface FolderItem
public java.lang.String[] getAncestorFolderPaths()
itemPath
property value "/foo/bar/somepage.html" then this method would return
{"/", "/foo", "/foo/bar"}. With a these paths one can fetch the content
via the ContentRepository.getFolderByPath methods.
getAncestorFolderPaths
in interface FolderItem
ContentRepository.getFolderByPath
,
ContentRepository.getFoldersByPath
public java.lang.String[] getAncestorFolderIds()
getAncestorFolderIds
in interface FolderItem
ContentRepository.getFolder
,
ContentRepository.getFolders
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |