com.sas.services.information.metadata
Class OMRPerson
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.OMRPerson
- All Implemented Interfaces:
- IdentityInterface, MetadataInterface, PersonInterface,
- public class OMRPerson
- extends Metadata
- implements PersonInterface, java.io.Serializable
Person persisted in a SAS Metadata Repository.
- Since:
- 1.1
- See Also:
- Serialized Form
| 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, getIdentities, getInformationService, getKeywords, getModifyDate, 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, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setPermission, setRemarksList, setTreeRefresh, startTransaction, transactionEvent, uncheckout, update, version |
| 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, getIdentities, getKeywords, getModifyDate, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getVersion, isAuthorized, isLoggingEnabled, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setPermission, setRemarksList, startTransaction, transactionEvent, uncheckout, update, version |
OMRPerson
public OMRPerson()
throws RemoteException
OMRPerson
public OMRPerson(Person o)
throws RemoteException
OMRPerson
public OMRPerson(PersonImpl o)
throws RemoteException
OMRPerson
public OMRPerson(RepositoryInterface repos,
String name,
FolderInterface parent)
throws RemoteException
getName
public String getName()
throws RemoteException
- Description copied from interface:
MetadataInterface
- Get the name for this object.
- Specified by:
getName in interface MetadataInterface- Overrides:
getName in class Metadata
- Following copied from interface:
com.sas.services.information.metadata.MetadataInterface
- Returns:
- The object name.
- Throws:
RemoteException - if an error occurs
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
getLogins
public List getLogins()
throws ServiceException,
RemoteException
- Description copied from interface:
IdentityInterface
- Get a list of the Login objects associated with this Identity.
- Specified by:
getLogins in interface IdentityInterface
- Following copied from interface:
com.sas.services.information.metadata.IdentityInterface
- Returns:
- a List of the Logins.
- Throws:
ServiceException - in the event of a repository failure.RemoteException - in the event of remote object failure.
setName
public void setName(String name)
throws RemoteException
- Description copied from interface:
PersonInterface
- Set the name of the user.
- Specified by:
setName in interface PersonInterface- Overrides:
setName in class Metadata
- Following copied from interface:
com.sas.services.information.metadata.PersonInterface
- Parameters:
name - The new name of the user.- Throws:
RemoteException - in the event of remote object failure.
getEmailAddresses
public List getEmailAddresses()
throws RemoteException
- Description copied from interface:
PersonInterface
- Get the user email addresses.
- Specified by:
getEmailAddresses in interface PersonInterface
- Following copied from interface:
com.sas.services.information.metadata.PersonInterface
- Returns:
- A List of strings representing the user's email addresses.
- Throws:
RemoteException - in the event of remote object failure.
addEmailAddress
public void addEmailAddress(String address)
throws RemoteException
- Description copied from interface:
PersonInterface
- Add a new email address to a user's email address list.
- Specified by:
addEmailAddress in interface PersonInterface
- Following copied from interface:
com.sas.services.information.metadata.PersonInterface
- Parameters:
address - The new address to add.- Throws:
RemoteException - in the event of remote object failure.
removeEmailAddress
public void removeEmailAddress(String address)
throws RemoteException
- Description copied from interface:
PersonInterface
- Remove an address from a user's list of email addresses.
- Specified by:
removeEmailAddress in interface PersonInterface
- Following copied from interface:
com.sas.services.information.metadata.PersonInterface
- Parameters:
address - The address to remove from the user's email list.- Throws:
RemoteException - in the event of remote object failure.
getGroups
public List getGroups()
throws RemoteException
- Description copied from interface:
PersonInterface
- Get a list of the groups the person is a member of.
- Specified by:
getGroups in interface PersonInterface
- Following copied from interface:
com.sas.services.information.metadata.PersonInterface
- Returns:
- A List of GroupInterface objects that represent the
groups this person is a member of.
- Throws:
RemoteException - in the event of remote object failure.
getIdentityGroups
public List getIdentityGroups()
throws ServiceException,
RemoteException
- Get a List of the IdentityGroups the user is a member of. The
difference between a Group and an IdentityGroup is that Groups
are just associations of any object types. IdentityGroups are
groups of Identities that can be used for access control
purposes.
- Specified by:
getIdentityGroups in interface PersonInterface
- Returns:
- a List of IdentityGroupInterface objects.
- Throws:
ServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
getSubscribers
public List getSubscribers()
throws ServiceException,
RemoteException
- Get a List of the subscriber identities owned by this Person.
- Specified by:
getSubscribers in interface PersonInterface
- Returns:
- a List of SubscriberInterface objects.
- Throws:
ServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
refresh
public void refresh()
throws ServiceException,
RemoteException
- Refresh the data for this object from the repository.
- Specified by:
refresh in interface MetadataInterface- Overrides:
refresh in class Metadata
- Throws:
ServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
setRepository
public void setRepository(RepositoryInterface repos)
throws IllegalStateException,
RemoteException
- Description copied from interface:
MetadataInterface
- Set the repository that this item exists in.
- Specified by:
setRepository in interface MetadataInterface- Overrides:
setRepository in class Metadata
- Following copied from interface:
com.sas.services.information.metadata.MetadataInterface
- Parameters:
repository - A handle to the repository for this object.- Throws:
IllegalStateException - If the repository has already been set.RemoteException - if an error occurs
Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:59