***  This API provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.information.metadata
Class DAVAccessControlEntry

java.lang.Object
  |
  +--com.sas.services.information.metadata.VirtualMetadata
        |
        +--com.sas.services.information.metadata.DAVAccessControlEntry
All Implemented Interfaces:
AccessControlEntryInterface, MetadataInterface,

public class DAVAccessControlEntry
extends VirtualMetadata
implements AccessControlEntryInterface

See Also:
Serialized Form

Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA
 
Constructor Summary
DAVAccessControlEntry(IdentityInterface principal, 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.
 List getIdentities()
          Get a List of identities that are associated with this ACE.
 String getInheritedFrom()
           
 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(List identities)
          Set the set of identities on this ACE.
 void setInheritedFrom(String inheritedfrom)
           
 void setPermissions(List permissions)
          Set the list of permissions on the ACE.
 
Methods inherited from class com.sas.services.information.metadata.VirtualMetadata
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, commit, copyTo, delete, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getDescription, getEntityKey, getEntityURL, getExtensions, getGUID, getKeywords, getModifyDate, getName, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getType, getVersion, isAuthorized, isLoggingEnabled, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setName, setPermission, setRemarksList, setRepository, startTransaction, transactionEvent, uncheckout, update, version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, commit, copyTo, delete, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getDescription, getEntityKey, getEntityURL, getExtensions, getGUID, getKeywords, getModifyDate, getName, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getType, getVersion, isAuthorized, isLoggingEnabled, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setName, setPermission, setRemarksList, setRepository, startTransaction, transactionEvent, uncheckout, update, version
 

Constructor Detail

DAVAccessControlEntry

public DAVAccessControlEntry(IdentityInterface principal,
                             List permissions,
                             boolean isprotected,
                             boolean isinherited)
Method Detail

setInheritedFrom

public void setInheritedFrom(String inheritedfrom)
                      throws IllegalStateException

getInheritedFrom

public String getInheritedFrom()

addPermission

public void addPermission(PermissionInterface permission)
                   throws ServiceException,
                          RemoteException
Description copied from interface: AccessControlEntryInterface
Add a permission to this ACE.
Specified by:
addPermission in interface AccessControlEntryInterface
Following copied from interface: com.sas.services.information.metadata.AccessControlEntryInterface
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

public List getPermissions()
                    throws ServiceException,
                           RemoteException
Description copied from interface: AccessControlEntryInterface
Get a List of permissions that are associated with this ACE.
Specified by:
getPermissions in interface AccessControlEntryInterface
Following copied from interface: com.sas.services.information.metadata.AccessControlEntryInterface
Returns:
a List of Permission objects.
Throws:
ServiceException - in the event of repository errors.
RemoteException - in the event of remote object failure.

setIdentities

public void setIdentities(List identities)
                   throws ServiceException,
                          RemoteException
Description copied from interface: AccessControlEntryInterface
Set the set of identities on this ACE. Any existing identities will be removed, and replaced with this list.
Specified by:
setIdentities in interface AccessControlEntryInterface
Following copied from interface: com.sas.services.information.metadata.AccessControlEntryInterface
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

public void addIdentity(IdentityInterface identity)
                 throws ServiceException,
                        RemoteException
Description copied from interface: AccessControlEntryInterface
Add an identity to this ACE.
Specified by:
addIdentity in interface AccessControlEntryInterface
Following copied from interface: com.sas.services.information.metadata.AccessControlEntryInterface
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: AccessControlEntryInterface
Remove a permission from this ACE.
Specified by:
removePermission in interface AccessControlEntryInterface
Following copied from interface: com.sas.services.information.metadata.AccessControlEntryInterface
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

public void removeIdentity(IdentityInterface identity)
                    throws ServiceException,
                           RemoteException
Description copied from interface: AccessControlEntryInterface
Remove an identity from this ACE.
Specified by:
removeIdentity in interface AccessControlEntryInterface
Following copied from interface: com.sas.services.information.metadata.AccessControlEntryInterface
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

public void setPermissions(List permissions)
                    throws ServiceException,
                           RemoteException
Description copied from interface: AccessControlEntryInterface
Set the list of permissions on the ACE. Any existing permissions will be removed and replaced with this list.
Specified by:
setPermissions in interface AccessControlEntryInterface
Following copied from interface: com.sas.services.information.metadata.AccessControlEntryInterface
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

public List getIdentities()
                   throws ServiceException,
                          RemoteException
Description copied from interface: AccessControlEntryInterface
Get a List of identities that are associated with this ACE.
Specified by:
getIdentities in interface AccessControlEntryInterface
Overrides:
getIdentities in class VirtualMetadata
Following copied from interface: com.sas.services.information.metadata.AccessControlEntryInterface
Returns:
a List of IdentityInterface objects
Throws:
ServiceException - in the event of repository errors.
RemoteException - in the event of remote object failure.

isProtected

public boolean isProtected()

isInherited

public boolean isInherited()

***  This API provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:57