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

com.sas.services.information.metadata
Class OMRAccessControlEntry

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--com.sas.services.information.metadata.Metadata
                          |
                          +--com.sas.services.information.metadata.OMRAccessControlEntry
All Implemented Interfaces:
AccessControlEntryInterface, MetadataInterface,

public class OMRAccessControlEntry
extends Metadata
implements AccessControlEntryInterface

A class representing an AccessControlEntry in OMR.

Since:
1.0
See Also:
Serialized Form

Fields inherited from class com.sas.services.information.metadata.Metadata
_repository, _repositoryFlag, _repositoryObject, formats, gmtZone, REPOSITORY_DAV, REPOSITORY_LDAP, REPOSITORY_NONE, REPOSITORY_OMR
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA
 
Constructor Summary
OMRAccessControlEntry()
          default constructor
OMRAccessControlEntry(AccessControlEntry o)
          construct a new instance with the AccessControlEntry jOMA object.
OMRAccessControlEntry(AccessControlEntryImpl o)
          Construct a new instance with the jOMA object.
OMRAccessControlEntry(RepositoryInterface repos, String name, FolderInterface parent)
          create a new instace that doesn't exist in the repository yet, the repository handle and name are required.
 
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.
 List getPermissions()
          Get a List of permissions that are associated with this ACE.
 String getType()
          Get the object type.
 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 setPermissions(List permissions)
          Set the list of permissions on the ACE.
 
Methods inherited from class com.sas.services.information.metadata.Metadata
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, clearInformationService, commit, copyTo, delete, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getDescription, getEntityKey, getEntityURL, getExtensions, getGUID, getInformationService, getKeywords, getModifyDate, getName, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getTreeRefresh, getVersion, isAuthorized, isLoggingEnabled, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, notifyTransactionListeners, refresh, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setName, setPermission, setRemarksList, setRepository, setTreeRefresh, startTransaction, transactionEvent, uncheckout, update, version
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, 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, 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

OMRAccessControlEntry

public OMRAccessControlEntry()
                      throws RemoteException
default constructor

OMRAccessControlEntry

public OMRAccessControlEntry(AccessControlEntry o)
                      throws RemoteException
construct a new instance with the AccessControlEntry jOMA object.

OMRAccessControlEntry

public OMRAccessControlEntry(AccessControlEntryImpl o)
                      throws RemoteException
Construct a new instance with the jOMA object.

OMRAccessControlEntry

public OMRAccessControlEntry(RepositoryInterface repos,
                             String name,
                             FolderInterface parent)
                      throws RemoteException
create a new instace that doesn't exist in the repository yet, the repository handle and name are required. The parent can be null.
Method Detail

getType

public String getType()
               throws RemoteException
Description copied from interface: MetadataInterface
Get the object type. Subclasses of Metadata will return a repository-neutral type string. If no subclass exists, Metadata returns the repository-specific type.
Specified by:
getType in interface MetadataInterface
Overrides:
getType in class Metadata
Following copied from interface: com.sas.services.information.metadata.MetadataInterface
Returns:
A type string for the object.
Throws:
RemoteException - if an error occurs

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 Metadata
See Also:
AccessControlEntryInterface.getIdentities()

addIdentity

public void addIdentity(IdentityInterface identity)
                 throws ServiceException,
                        RemoteException
Add an identity to this ACE.
Specified by:
addIdentity in interface 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.

removeIdentity

public void removeIdentity(IdentityInterface identity)
                    throws ServiceException,
                           RemoteException
Remove an identity from this ACE.
Specified by:
removeIdentity in interface 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.

setIdentities

public void setIdentities(List identities)
                   throws ServiceException,
                          RemoteException
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
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.

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
See Also:
AccessControlEntryInterface.getPermissions()

addPermission

public void addPermission(PermissionInterface permission)
                   throws ServiceException,
                          RemoteException
Add a permission to this ACE.
Specified by:
addPermission in interface 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.

removePermission

public void removePermission(PermissionInterface permission)
                      throws ServiceException,
                             RemoteException
Remove a permission from this ACE.
Specified by:
removePermission in interface 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.

setPermissions

public void setPermissions(List permissions)
                    throws ServiceException,
                           RemoteException
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
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.

***  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:58