|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.information.metadata.DavPerson
public class DavPerson
DAV Smart object implementation for PersonInterface. Represents a user/person.
| Field Summary |
|---|
| Fields inherited from class com.sas.services.information.metadata.Folder |
|---|
CREATION_DATE, CURRENT_VERSION, MODIFIED_DATE, OLDEST_VERSION, REPOSITORY_CONTENT_MAPPING |
| Fields inherited from class com.sas.services.information.metadata.Metadata |
|---|
_actionInterfaces, _children, _isCompatible, _isDestroyPending, _isReadCompatible, _myRefreshInterval, _myState, _omrCreateDate, _omrModifyDate, _repository, _repositoryFlag, _repositoryObject, _treeRefreshTime, formats, gmtZone, OMSOBJ_STRING, REPOSITORY_DAV, REPOSITORY_LOMR, REPOSITORY_NONE, REPOSITORY_OMR, SLASH |
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
|---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Fields inherited from interface com.sas.services.information.metadata.FolderInterface |
|---|
FOLDER_TYPE_BIP |
| Constructor Summary | |
|---|---|
|
DavPerson()
Creates a new DavPerson. |
protected |
DavPerson(java.lang.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,
java.lang.Class theClass)
Creates a new DavPerson that incorporates the person object passed to the constructor. |
| Method Summary | |
|---|---|
void |
addEmail(EmailInterface ei)
Add a new email to a user's list of email instances. |
void |
addEmailAddress(java.lang.String address)
Add a new email address to a user's email address list. |
void |
addExternalIdentity(ExternalIdentityInterface externalIdentity)
Add an external identity to the Identity. |
void |
addLocation(LocationInterface location)
Add a location to the user's list of locations. |
void |
addLogin(LoginInterface login)
Add a login to the Identity. |
void |
addPhoneNumber(PhoneNumberInterface phone)
Add a phone number to the user's list. |
void |
deleteInternalAccount()
Delete Internal Account |
java.util.List<MetadataInterface> |
getCreatedObjects()
Returns the list of objects this person has created. |
java.lang.String |
getDisplayName()
Get the identity's display name attribute. |
java.lang.String |
getEffectiveDispayName()
Get the effective display name for the identity. |
java.lang.String |
getEffectiveDisplayName()
Get the effective display name for the identity. |
java.util.List |
getEmailAddresses()
Get the user email addresses. |
java.util.List |
getEmails()
Get the user's email instances |
java.util.List<ExternalIdentityInterface> |
getExternalIdentities()
Get a list of the External Identity objects associated with this Identity. |
java.util.List |
getGroups()
Get the list of groups this object is a member of. |
java.util.List |
getIdentityGroups()
Get a List of the IdentityGroups that this Identity belongs to. |
java.util.List<IdentityMembershipInterface> |
getIdentityMembershipLevels()
Returns the List of IdentityMembershipInterface instances ordered by membership level |
java.lang.String |
getIdentityType()
Return the type of Identity. |
InternalLoginUserInfo |
getInternalAccountOptions()
Return Internal Account (InternalLoginUserInfo) Options for this Person |
java.util.List |
getLocations()
Return the list of locations for the user. |
java.util.List |
getLogins()
Get a list of the Login objects associated with this Identity. |
java.util.List<MetadataInterface> |
getModifiedObjects()
Returns the list of objects this person has modified. |
java.lang.String |
getName()
Gets the name of the object. |
java.util.List |
getPhoneNumbers()
Get the list of phone numbers for the user. |
java.util.List |
getSubscribers()
Get a List of the subscriber identities owned by this Person. |
java.lang.String |
getTitle()
Get the Title attribute. |
java.lang.String |
getType()
Return a type string to identify this object. |
java.util.List |
getUserIds()
Get a list of the user id's from the logins associated with this Identity. |
void |
removeEmail(EmailInterface ei)
Remove an email from a user's list of email instances. |
void |
removeEmailAddress(java.lang.String address)
Remove an address from a user's list of email addresses. |
void |
removeExternalIdentity(ExternalIdentityInterface externalIdentity)
Remove an external identity from the Identity. |
void |
removeLocation(LocationInterface location)
Remove a location from the user's list of lcoations. |
void |
removeLogin(LoginInterface login)
Remove a Login from the Identity. |
void |
removePhoneNumber(PhoneNumberInterface phone)
Remove a phone number from the user's list. |
void |
setDisplayName(java.lang.String displayName)
Set the identity's display name. |
void |
setInternalAccountOptions(InternalLoginUserInfo intrlLgnUsrInfo)
Set Internal Account (InternalLoginUserInfo) Options for this Person |
void |
setInternalAccountPassword(java.lang.String password)
Set Internal Account Password |
void |
setName(java.lang.String name)
Set the name of the object. |
void |
setTitle(java.lang.String title)
Set the Person's Title. |
| Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
|---|
addProcessorInterface, getContainer, getIdentifier, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
| Constructor Detail |
|---|
public DavPerson()
throws java.rmi.RemoteException
java.rmi.RemoteException - if unable to export the remote object.
public DavPerson(DAVPerson o)
throws java.rmi.RemoteException
o - DAV person.
java.rmi.RemoteException - if unable to export the remote object.
protected DavPerson(java.lang.Class theClass)
throws java.rmi.RemoteException
theClass - The subclass's class which will be used to determine
appropriate RMI socket factories.
java.rmi.RemoteException - if unable to export the remote object.
protected DavPerson(DAVPerson o,
java.lang.Class theClass)
throws java.rmi.RemoteException
o - DAV person.theClass - The subclass's class which will be used to determine
appropriate RMI socket factories.
java.rmi.RemoteException - if unable to export the remote object.| Method Detail |
|---|
public java.lang.String getName()
throws java.rmi.RemoteException
Metadata
getName in interface PublicObjectInterfacegetName in class Metadatajava.rmi.RemoteException - in the event of remote object failure.
public java.lang.String getDisplayName()
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
getDisplayName in interface IdentityInterfaceServiceException - If a service level error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public java.lang.String getEffectiveDispayName()
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
getEffectiveDispayName in interface IdentityInterfaceServiceException - If a service level error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public java.lang.String getEffectiveDisplayName()
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
getEffectiveDisplayName in interface IdentityInterfaceServiceException - If a service level error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public void setDisplayName(java.lang.String displayName)
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
setDisplayName in interface IdentityInterfacedisplayName - The identity's new display name.
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public java.lang.String getType()
throws java.rmi.RemoteException
Folder
getType in interface MetadataInterfacegetType in class Folderjava.rmi.RemoteException - in the event of remote object failure.
public java.util.List getLogins()
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
getLogins in interface IdentityInterfaceServiceException - in the event of a repository failure.
java.rmi.RemoteException - in the event of remote object failure.
public void addLogin(LoginInterface login)
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
addLogin in interface IdentityInterfacelogin - The Login to add to this Identity.
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public void removeLogin(LoginInterface login)
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
removeLogin in interface IdentityInterfacelogin - The Login to remove from this Identity.
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public java.util.List getUserIds()
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
getUserIds in interface IdentityInterfaceServiceException - in the event of repository failure.
java.rmi.RemoteException - in the event of remote object failure.
public void setName(java.lang.String name)
throws java.rmi.RemoteException
Folder
setName in interface MetadataInterfacesetName in class Foldername - The name of the object in the repository.
java.rmi.RemoteException - in the event of remote object failure.
public java.util.List getEmailAddresses()
throws java.rmi.RemoteException
PersonInterface
getEmailAddresses in interface PersonInterfacejava.rmi.RemoteException - in the event of remote object failure.
public void addEmailAddress(java.lang.String address)
throws java.rmi.RemoteException
PersonInterface
addEmailAddress in interface PersonInterfaceaddress - The new address to add.
java.rmi.RemoteException - in the event of remote object failure.
public void removeEmailAddress(java.lang.String address)
throws java.rmi.RemoteException
PersonInterface
removeEmailAddress in interface PersonInterfaceaddress - The address to remove from the user's email list.
java.rmi.RemoteException - in the event of remote object failure.
public java.util.List getEmails()
throws java.rmi.RemoteException
PersonInterface
getEmails in interface PersonInterfacejava.rmi.RemoteException - in the event of remote object failure.
public void addEmail(EmailInterface ei)
throws java.rmi.RemoteException
PersonInterface
addEmail in interface PersonInterfacejava.rmi.RemoteException - in the event of remote object failure.
public void removeEmail(EmailInterface ei)
throws java.rmi.RemoteException
PersonInterface
removeEmail in interface PersonInterfacejava.rmi.RemoteException - in the event of remote object failure.
public java.util.List getGroups()
throws java.rmi.RemoteException
MetadataInterface
getGroups in interface MetadataInterfacegetGroups in interface PersonInterfacegetGroups in class Metadatajava.rmi.RemoteException - In the event of remote object failure.
public java.util.List getIdentityGroups()
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
getIdentityGroups in interface IdentityInterfaceServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public java.util.List getSubscribers()
throws ServiceException,
java.rmi.RemoteException
PersonInterface
getSubscribers in interface PersonInterfaceServiceException - if a repository error occurs.
java.rmi.RemoteException - in the event of remote object failure.
public java.lang.String getIdentityType()
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
getIdentityType in interface IdentityInterfaceServiceException - If a service level error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public java.lang.String getTitle()
throws ServiceException,
java.rmi.RemoteException
PersonInterface
getTitle in interface PersonInterfaceServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public void setTitle(java.lang.String title)
throws ServiceException,
java.rmi.RemoteException
PersonInterface
setTitle in interface PersonInterfacetitle - The new Title for the person.
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public void addLocation(LocationInterface location)
throws ServiceException,
java.rmi.RemoteException
PersonInterface
addLocation in interface PersonInterfacelocation - The new location to add.
ServiceException - If a metadata error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public void addPhoneNumber(PhoneNumberInterface phone)
throws ServiceException,
java.rmi.RemoteException
PersonInterface
addPhoneNumber in interface PersonInterfacephone - The new phone number to add.
ServiceException - If a metadata error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public java.util.List getLocations()
throws ServiceException,
java.rmi.RemoteException
PersonInterface
getLocations in interface PersonInterfaceServiceException - If a metadata error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public java.util.List getPhoneNumbers()
throws ServiceException,
java.rmi.RemoteException
PersonInterface
getPhoneNumbers in interface PersonInterfaceServiceException - If a metadata error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public void removeLocation(LocationInterface location)
throws ServiceException,
java.rmi.RemoteException
PersonInterface
removeLocation in interface PersonInterfacelocation - The location to remove.
ServiceException - If a metadata error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public void removePhoneNumber(PhoneNumberInterface phone)
throws ServiceException,
java.rmi.RemoteException
PersonInterface
removePhoneNumber in interface PersonInterfacephone - The phone number to remove.
ServiceException - If a metadata error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public void setInternalAccountPassword(java.lang.String password)
throws ServiceException,
java.rmi.RemoteException
PersonInterface
setInternalAccountPassword in interface PersonInterfacepassword - The password (clear text or encoded) to be set for this Person
ServiceException - If a metadata error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public void deleteInternalAccount()
throws ServiceException,
java.rmi.RemoteException
PersonInterface
deleteInternalAccount in interface PersonInterfaceServiceException - If a metadata error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public InternalLoginUserInfo getInternalAccountOptions()
throws ServiceException,
java.rmi.RemoteException
PersonInterface
getInternalAccountOptions in interface PersonInterfaceServiceException - If a metadata error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public void setInternalAccountOptions(InternalLoginUserInfo intrlLgnUsrInfo)
throws ServiceException,
java.rmi.RemoteException
PersonInterface
setInternalAccountOptions in interface PersonInterfaceServiceException - If a metadata error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public java.util.List<IdentityMembershipInterface> getIdentityMembershipLevels()
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
getIdentityMembershipLevels in interface IdentityInterfaceIdentityMembershipInterface>
ServiceException - If a service level error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public java.util.List<MetadataInterface> getCreatedObjects()
throws ServiceException,
java.rmi.RemoteException
PersonInterfaceNote, this can potentially be a fairly expensive request depending on how many objects the user has created.
getCreatedObjects in interface PersonInterfaceServiceException - If a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.
public java.util.List<MetadataInterface> getModifiedObjects()
throws ServiceException,
java.rmi.RemoteException
PersonInterfaceNote, this can potentially be a fairly expensive request depending on how many objects the user has modified.
getModifiedObjects in interface PersonInterfaceServiceException - If a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.
public java.util.List<ExternalIdentityInterface> getExternalIdentities()
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
getExternalIdentities in interface IdentityInterfaceServiceException - in the event of a repository failure.
java.rmi.RemoteException - in the event of remote object failure.
public void addExternalIdentity(ExternalIdentityInterface externalIdentity)
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
addExternalIdentity in interface IdentityInterfaceexternalIdentity - The external identity to add to this Identity.
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
public void removeExternalIdentity(ExternalIdentityInterface externalIdentity)
throws ServiceException,
java.rmi.RemoteException
IdentityInterface
removeExternalIdentity in interface IdentityInterfaceexternalIdentity - The external identity to remove from this Identity.
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||