com.sas.services.information.metadata
Class DavPerson
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.Folder
|
+--com.sas.services.information.metadata.DavPerson
- All Implemented Interfaces:
- FolderInterface, IdentityInterface, MetadataInterface, PersonInterface,
- public class DavPerson
- extends Folder
- implements PersonInterface, java.io.Serializable
DAV Smart object implementation for PersonInterface. Represents a user/person.
- Since:
- 1.0
- See Also:
- Serialized Form
|
Constructor Summary |
|
DavPerson()
Creates a new DavPerson. |
protected |
DavPerson(Class theClass)
Creates a new DavPerson. |
|
DavPerson(DAVPerson o)
Creates a new DavPerson that incorporates the person object passed to the constructor. |
protected |
DavPerson(DAVPerson o,
Class theClass)
Creates a new DavPerson that incorporates the person object passed to the constructor. |
| Methods inherited from class com.sas.services.information.metadata.Folder |
addItem, addNewItem, addSubfolder, delete, deleteItem, deleteSubfolder, getFolderRefresh, getFolderType, getItem, getItemByClass, getItemByType, getItemRefresh, getItems, getItemsByClass, getItemsByType, getParent, getPath, getSubfolder, getSubfolders, makeSubfolder, mapNameToFilesystem, mapUrlToFilesystem, removeItem, removeSubfolder, setFolderRefresh, setFolderType, setItemRefresh, setRepository |
| Methods inherited from class com.sas.services.information.metadata.Metadata |
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, clearInformationService, commit, copyTo, 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, moveTo, newServiceObject, notifyTransactionListeners, refresh, 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, refresh, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setPermission, setRemarksList, setRepository, startTransaction, transactionEvent, uncheckout, update, version |
DavPerson
public DavPerson()
throws RemoteException
- Creates a new DavPerson.
- Throws:
RemoteException - if unable to export the remote object.
DavPerson
public DavPerson(DAVPerson o)
throws RemoteException
- Creates a new DavPerson that incorporates the person object passed to the constructor.
- Parameters:
o - DAV person.- Throws:
RemoteException - if unable to export the remote object.
DavPerson
protected DavPerson(Class theClass)
throws RemoteException
- Creates a new DavPerson.
- Parameters:
theClass - The subclass's class which will be used to determine
appropriate RMI socket factories.- Throws:
RemoteException - if unable to export the remote object.
DavPerson
protected DavPerson(DAVPerson o,
Class theClass)
throws RemoteException
- Creates a new DavPerson that incorporates the person object passed to the constructor.
- Parameters:
o - DAV person.theClass - The subclass's class which will be used to determine
appropriate RMI socket factories.- Throws:
RemoteException - if unable to export the remote object.
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 Folder
- 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 Folder
- 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
- Description copied from interface:
PersonInterface
- 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
- Following copied from interface:
com.sas.services.information.metadata.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
- Description copied from interface:
PersonInterface
- Get a List of the subscriber identities owned by this Person.
- Specified by:
getSubscribers in interface PersonInterface
- Following copied from interface:
com.sas.services.information.metadata.PersonInterface
- Returns:
- a List of SubscriberInterface objects.
- Throws:
ServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:57