public class SecuredRepositoryObject extends GenericSecuredObject
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION  | 
protected atg.adapter.secure.SecuredRepositoryObjectDescriptor | 
mDescriptor
The secured object descriptor that this item is configured with. 
 | 
protected RepositoryItem | 
mItem
The repository item that manages the backing store for
 this object. 
 | 
protected MutableRepositoryItem | 
mMutableItem
The mutable version of the repository item that manages
 the backing store for this object, or null if the
 item is immutable. 
 | 
protected GenericSecuredRepository | 
mRepository
The secured repository that we're a part of. 
 | 
mAcl, mOwner, mSecurityContext| Constructor and Description | 
|---|
SecuredRepositoryObject(GenericSecuredRepository pRepository,
                       atg.adapter.secure.SecuredRepositoryObjectDescriptor pDescriptor,
                       RepositoryItem pItem)
Creates a new repository-backed secured object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RepositoryItem | 
getRepositoryItem()
Returns the repository item that this object refers to. 
 | 
atg.adapter.secure.SecuredRepositoryObjectDescriptor | 
getSecuredObjectDescriptor()
Returns the descriptor for the secured object. 
 | 
void | 
invalidate()
Invalidates the cache of owner and access control information. 
 | 
void | 
logError(java.lang.String message)
Logs an error message. 
 | 
void | 
logError(java.lang.String message,
        java.lang.Throwable t)
Logs an error message with an accompanying exception. 
 | 
void | 
logError(java.lang.Throwable t)
Logs an exception. 
 | 
boolean | 
supportsAccessControlList()
Returns true if this object supports an access control list. 
 | 
boolean | 
supportsOwner()
Returns true if this object supports an owner. 
 | 
AccessControlList | 
unsecuredGetAccessControlList()
Retrieves the access control list associated with this object
 without performing access control. 
 | 
SecuredContainer[] | 
unsecuredGetContainers()
Returns the set of containers (parents) that contain or may
 contain access control information that should be effective
 when this object is being manipulated. 
 | 
Persona | 
unsecuredGetOwner()
Retrieves the owner of this object without performing access
 control. 
 | 
void | 
unsecuredSetAccessControlList(AccessControlList acl)
Changes the access control list associated with this object
 without performing access control. 
 | 
void | 
unsecuredSetOwner(Persona pOwner)
Changes the owner of this object without performing access
 control. 
 | 
checkAccess, checkRuntimeAccess, getAccessControlList, getOwner, getSecurityContext, hasAccess, setAccessControlList, setOwner, setSecurityContext, unsecuredGetSecuredContainers, unsecuredSetCreationSecuritypublic static java.lang.String CLASS_VERSION
protected GenericSecuredRepository mRepository
protected atg.adapter.secure.SecuredRepositoryObjectDescriptor mDescriptor
protected RepositoryItem mItem
protected MutableRepositoryItem mMutableItem
public SecuredRepositoryObject(GenericSecuredRepository pRepository, atg.adapter.secure.SecuredRepositoryObjectDescriptor pDescriptor, RepositoryItem pItem)
public RepositoryItem getRepositoryItem()
public atg.adapter.secure.SecuredRepositoryObjectDescriptor getSecuredObjectDescriptor()
public void invalidate()
public void logError(java.lang.String message)
public void logError(java.lang.String message,
            java.lang.Throwable t)
public void logError(java.lang.Throwable t)
public boolean supportsAccessControlList()
supportsAccessControlList in interface SecuredObjectsupportsAccessControlList in class GenericSecuredObjectpublic boolean supportsOwner()
supportsOwner in interface SecuredObjectsupportsOwner in class GenericSecuredObjectpublic AccessControlList unsecuredGetAccessControlList() throws SecurityException
This is considered to be a private API for the security policy and domain objects and should not be used by applications.
unsecuredGetAccessControlList in interface SecuredObjectunsecuredGetAccessControlList in class GenericSecuredObjectSecurityExceptionpublic void unsecuredSetAccessControlList(AccessControlList acl) throws SecurityException
This is considered to be a private API for the security policy and domain objects and should not be used by applications.
unsecuredSetAccessControlList in interface SecuredObjectunsecuredSetAccessControlList in class GenericSecuredObjectSecurityExceptionpublic Persona unsecuredGetOwner() throws SecurityException
This is considered to be a private API for the security policy and domain objects and should not be used by applications.
unsecuredGetOwner in interface SecuredObjectunsecuredGetOwner in class GenericSecuredObjectSecurityExceptionpublic void unsecuredSetOwner(Persona pOwner) throws SecurityException
This is considered to be a private API for the security policy and domain objects and should not be used by applications.
unsecuredSetOwner in interface SecuredObjectunsecuredSetOwner in class GenericSecuredObjectSecurityExceptionpublic SecuredContainer[] unsecuredGetContainers() throws SecurityException
This is considered to be a private API for the security policy and domain objects and should not be used by applications. In this implementation the container is considered to be the object descriptor.
unsecuredGetContainers in interface SecuredObjectunsecuredGetContainers in class GenericSecuredObjectSecurityException