|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
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
A class representing an AccessControlEntry in OMR.
| 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 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 |
| Constructor Detail |
public OMRAccessControlEntry()
throws RemoteException
public OMRAccessControlEntry(AccessControlEntry o)
throws RemoteException
public OMRAccessControlEntry(AccessControlEntryImpl o)
throws RemoteException
public OMRAccessControlEntry(RepositoryInterface repos,
String name,
FolderInterface parent)
throws RemoteException
| Method Detail |
public String getType()
throws RemoteException
MetadataInterfacegetType in interface MetadataInterfacegetType in class Metadatacom.sas.services.information.metadata.MetadataInterfaceRemoteException - if an error occurs
public List getIdentities()
throws ServiceException,
RemoteException
AccessControlEntryInterfacegetIdentities in interface AccessControlEntryInterfacegetIdentities in class MetadataAccessControlEntryInterface.getIdentities()
public void addIdentity(IdentityInterface identity)
throws ServiceException,
RemoteException
addIdentity in interface AccessControlEntryInterfaceidentity - The identity to add to this ACE.ServiceException - in the event of repository errors.RemoteException - in the event of remote object failure.
public void removeIdentity(IdentityInterface identity)
throws ServiceException,
RemoteException
removeIdentity in interface AccessControlEntryInterfaceidentity - the Identity to remove from this ACE.ServiceException - in the event of repository errors.RemoteException - in the event of remote object failure.
public void setIdentities(List identities)
throws ServiceException,
RemoteException
setIdentities in interface AccessControlEntryInterfaceidentities - The List of IdentityInterface objects to
set as the identities on this ACE.ServiceException - in the event of repository errors.RemoteException - in the event of remote object failure.
public List getPermissions()
throws ServiceException,
RemoteException
AccessControlEntryInterfacegetPermissions in interface AccessControlEntryInterfaceAccessControlEntryInterface.getPermissions()
public void addPermission(PermissionInterface permission)
throws ServiceException,
RemoteException
addPermission in interface AccessControlEntryInterfacepermission - A permission to add to this ACE.ServiceException - in the event of repository errors.RemoteException - in the event of remote object failure.
public void removePermission(PermissionInterface permission)
throws ServiceException,
RemoteException
removePermission in interface AccessControlEntryInterfacepermission - A permission to remove from this ACE.ServiceException - in the event of repository errors.RemoteException - in the event of remote object failure.
public void setPermissions(List permissions)
throws ServiceException,
RemoteException
setPermissions in interface AccessControlEntryInterfacepermissions - The List of Permission objects to set on this ACE.ServiceException - in the event of repository errors.RemoteException - in the event of remote object failure.
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||