*** This class provides Binary Compatibility only, not Source Compatibility ***
Class DAVAccessControlEntry
java.lang.Object
com.sas.services.information.metadata.VirtualMetadata
com.sas.services.information.metadata.DAVAccessControlEntry
- All Implemented Interfaces:
AccessControlEntryInterface,MetadataInterface,PublicObjectInterface,Serializable,Remote
@SASScope("ALL")
@BinaryCompatibilityOnly
public class DAVAccessControlEntry
extends VirtualMetadata
implements AccessControlEntryInterface
Represents a WebDAV Access Control Entry
- Since:
- 1.1
- See Also:
-
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
ConstructorsConstructorDescriptionDAVAccessControlEntry(IdentityInterface principal, List permissions, boolean isprotected, boolean isinherited) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIdentity(IdentityInterface identity) Add an identity to this ACE.voidaddPermission(PermissionInterface permission) Add a permission to this ACE.ListGet the access control templates for this entry.ListGet all the identities that are associated to this metadata object through permissions.StringListGet a List of permissions that are associated with this ACE.booleanbooleanvoidremoveIdentity(IdentityInterface identity) Remove an identity from this ACE.voidremovePermission(PermissionInterface permission) Remove a permission from this ACE.voidsetIdentities(List identities) Set the set of identities on this ACE.voidsetInheritedFrom(String inheritedfrom) voidsetPermissions(List permissions) Set the list of permissions on the ACE.Methods inherited from class com.sas.services.information.metadata.VirtualMetadata
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addProcessorInterface, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getContainer, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentifier, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getName, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getObjectURI, getParent, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getProcessorInterface, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getTypeDescriptor, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isLoggingEnabled, isObjectAlive, isReadCompatible, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
-
Constructor Details
-
DAVAccessControlEntry
public DAVAccessControlEntry(IdentityInterface principal, List permissions, boolean isprotected, boolean isinherited)
-
-
Method Details
-
setInheritedFrom
public void setInheritedFrom(String inheritedfrom) throws IllegalStateException - Throws:
IllegalStateException
-
getInheritedFrom
public String getInheritedFrom() -
addPermission
Description copied from interface:AccessControlEntryInterfaceAdd a permission to this ACE.- Specified by:
addPermissionin interfaceAccessControlEntryInterface- Parameters:
permission- A permission to add to this ACE.- Throws:
ServiceException- in the event of repository errors.RemoteException- in the event of remote object failure.
-
getPermissions
Description copied from interface:AccessControlEntryInterfaceGet a List of permissions that are associated with this ACE.- Specified by:
getPermissionsin interfaceAccessControlEntryInterface- Returns:
- a List of Permission objects.
- Throws:
ServiceException- in the event of repository errors.RemoteException- in the event of remote object failure.
-
setIdentities
Description copied from interface:AccessControlEntryInterfaceSet the set of identities on this ACE. Any existing identities will be removed, and replaced with this list.- Specified by:
setIdentitiesin interfaceAccessControlEntryInterface- Parameters:
identities- The List of IdentityInterface objects to set as the identities on this ACE.- Throws:
ServiceException- in the event of repository errors.RemoteException- in the event of remote object failure.
-
addIdentity
Description copied from interface:AccessControlEntryInterfaceAdd an identity to this ACE.- Specified by:
addIdentityin interfaceAccessControlEntryInterface- Parameters:
identity- The identity to add to this ACE.- Throws:
ServiceException- in the event of repository errors.RemoteException- in the event of remote object failure.
-
removePermission
public void removePermission(PermissionInterface permission) throws ServiceException, RemoteException Description copied from interface:AccessControlEntryInterfaceRemove a permission from this ACE.- Specified by:
removePermissionin interfaceAccessControlEntryInterface- Parameters:
permission- A permission to remove from this ACE.- Throws:
ServiceException- in the event of repository errors.RemoteException- in the event of remote object failure.
-
removeIdentity
Description copied from interface:AccessControlEntryInterfaceRemove an identity from this ACE.- Specified by:
removeIdentityin interfaceAccessControlEntryInterface- Parameters:
identity- the Identity to remove from this ACE.- Throws:
ServiceException- in the event of repository errors.RemoteException- in the event of remote object failure.
-
setPermissions
Description copied from interface:AccessControlEntryInterfaceSet the list of permissions on the ACE. Any existing permissions will be removed and replaced with this list.- Specified by:
setPermissionsin interfaceAccessControlEntryInterface- Parameters:
permissions- The List of Permission objects to set on this ACE.- Throws:
ServiceException- in the event of repository errors.RemoteException- in the event of remote object failure.
-
getIdentities
Description copied from class:VirtualMetadataGet all the identities that are associated to this metadata object through permissions.- Specified by:
getIdentitiesin interfaceAccessControlEntryInterface- Specified by:
getIdentitiesin interfaceMetadataInterface- Overrides:
getIdentitiesin classVirtualMetadata- Returns:
- a List of IdentityInterface objects that have some permission defined for this object.
- Throws:
ServiceException- if a repository error occurs.RemoteException- in the event of remote object failure.
-
isProtected
public boolean isProtected() -
isInherited
public boolean isInherited() -
getAccessControlTemplates
Description copied from interface:AccessControlEntryInterfaceGet the access control templates for this entry.- Specified by:
getAccessControlTemplatesin interfaceAccessControlEntryInterface- Returns:
- A List of access control templates for this entry.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-