|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.information.metadata.DAVAccessControlEntry
@SASScope(value="ALL") @BinaryCompatibilityOnly public class DAVAccessControlEntry
Represents a WebDAV Access Control Entry
| Field Summary |
|---|
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
|---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Constructor Summary | |
|---|---|
DAVAccessControlEntry(IdentityInterface principal,
java.util.List permissions,
boolean isprotected,
boolean isinherited)
|
|
| Method Summary | |
|---|---|
void |
addIdentity(IdentityInterface identity)
Add an identity to this ACE. |
void |
addPermission(PermissionInterface permission)
Add a permission to this ACE. |
java.util.List |
getAccessControlTemplates()
Get the access control templates for this entry. |
java.util.List |
getIdentities()
Get all the identities that are associated to this metadata object through permissions. |
java.lang.String |
getInheritedFrom()
|
java.util.List |
getPermissions()
Get a List of permissions that are associated with this ACE. |
boolean |
isInherited()
|
boolean |
isProtected()
|
void |
removeIdentity(IdentityInterface identity)
Remove an identity from this ACE. |
void |
removePermission(PermissionInterface permission)
Remove a permission from this ACE. |
void |
setIdentities(java.util.List identities)
Set the set of identities on this ACE. |
void |
setInheritedFrom(java.lang.String inheritedfrom)
|
void |
setPermissions(java.util.List permissions)
Set the list of permissions on the ACE. |
| Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
|---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
| Constructor Detail |
|---|
public DAVAccessControlEntry(IdentityInterface principal,
java.util.List permissions,
boolean isprotected,
boolean isinherited)
| Method Detail |
|---|
public void setInheritedFrom(java.lang.String inheritedfrom)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic java.lang.String getInheritedFrom()
public void addPermission(PermissionInterface permission)
throws ServiceException,
java.rmi.RemoteException
AccessControlEntryInterface
addPermission in interface AccessControlEntryInterfacepermission - A permission to add to this ACE.
ServiceException - in the event of repository errors.
java.rmi.RemoteException - in the event of remote object failure.
public java.util.List getPermissions()
throws ServiceException,
java.rmi.RemoteException
AccessControlEntryInterface
getPermissions in interface AccessControlEntryInterfaceServiceException - in the event of repository errors.
java.rmi.RemoteException - in the event of remote object failure.
public void setIdentities(java.util.List identities)
throws ServiceException,
java.rmi.RemoteException
AccessControlEntryInterface
setIdentities in interface AccessControlEntryInterfaceidentities - The List of IdentityInterface objects to
set as the identities on this ACE.
ServiceException - in the event of repository errors.
java.rmi.RemoteException - in the event of remote object failure.
public void addIdentity(IdentityInterface identity)
throws ServiceException,
java.rmi.RemoteException
AccessControlEntryInterface
addIdentity in interface AccessControlEntryInterfaceidentity - The identity to add to this ACE.
ServiceException - in the event of repository errors.
java.rmi.RemoteException - in the event of remote object failure.
public void removePermission(PermissionInterface permission)
throws ServiceException,
java.rmi.RemoteException
AccessControlEntryInterface
removePermission in interface AccessControlEntryInterfacepermission - A permission to remove from this ACE.
ServiceException - in the event of repository errors.
java.rmi.RemoteException - in the event of remote object failure.
public void removeIdentity(IdentityInterface identity)
throws ServiceException,
java.rmi.RemoteException
AccessControlEntryInterface
removeIdentity in interface AccessControlEntryInterfaceidentity - the Identity to remove from this ACE.
ServiceException - in the event of repository errors.
java.rmi.RemoteException - in the event of remote object failure.
public void setPermissions(java.util.List permissions)
throws ServiceException,
java.rmi.RemoteException
AccessControlEntryInterface
setPermissions in interface AccessControlEntryInterfacepermissions - The List of Permission objects to set on this ACE.
ServiceException - in the event of repository errors.
java.rmi.RemoteException - in the event of remote object failure.
public java.util.List getIdentities()
throws ServiceException,
java.rmi.RemoteException
VirtualMetadata
getIdentities in interface AccessControlEntryInterfacegetIdentities in interface MetadataInterfacegetIdentities in class VirtualMetadataServiceException - if a repository error occurs.
java.rmi.RemoteException - in the event of remote object failure.public boolean isProtected()
public boolean isInherited()
public java.util.List getAccessControlTemplates()
throws ServiceException,
java.rmi.RemoteException
AccessControlEntryInterface
getAccessControlTemplates in interface AccessControlEntryInterfaceServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||