|
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 |
addLocation(LocationInterface location)
Add a location to the user's list of locations. |
void |
addLogin(LoginInterface login)
Add a login to the Identity Group. |
void |
addPhoneNumber(PhoneNumberInterface phone)
Add a phone number to the user's list. |
void |
deleteInternalAccount()
Delete Internal Account |
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 |
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.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 |
removeLocation(LocationInterface location)
Remove a location from the user's list of lcoations. |
void |
removeLogin(LoginInterface login)
Remove a Login from the Identity Group. |
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 PublicObjectInterface
getName
in class Metadata
java.rmi.RemoteException
- in the event of remote object failure.public java.lang.String getDisplayName() throws ServiceException, java.rmi.RemoteException
IdentityInterface
getDisplayName
in interface IdentityInterface
ServiceException
- 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 IdentityInterface
ServiceException
- 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 IdentityInterface
ServiceException
- 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 IdentityInterface
displayName
- 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 MetadataInterface
getType
in class Folder
java.rmi.RemoteException
- in the event of remote object failure.public java.util.List getLogins() throws ServiceException, java.rmi.RemoteException
IdentityInterface
getLogins
in interface IdentityInterface
ServiceException
- 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 IdentityInterface
login
- The Login to add to this Identity Group.
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 IdentityInterface
login
- The Login to remove from this Identity Group.
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 IdentityInterface
ServiceException
- 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 MetadataInterface
setName
in class Folder
name
- 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 PersonInterface
java.rmi.RemoteException
- in the event of remote object failure.public void addEmailAddress(java.lang.String address) throws java.rmi.RemoteException
PersonInterface
addEmailAddress
in interface PersonInterface
address
- 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 PersonInterface
address
- 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 PersonInterface
java.rmi.RemoteException
- in the event of remote object failure.public void addEmail(EmailInterface ei) throws java.rmi.RemoteException
PersonInterface
addEmail
in interface PersonInterface
java.rmi.RemoteException
- in the event of remote object failure.public void removeEmail(EmailInterface ei) throws java.rmi.RemoteException
PersonInterface
removeEmail
in interface PersonInterface
java.rmi.RemoteException
- in the event of remote object failure.public java.util.List getGroups() throws java.rmi.RemoteException
MetadataInterface
getGroups
in interface MetadataInterface
getGroups
in interface PersonInterface
getGroups
in class Metadata
java.rmi.RemoteException
- In the event of remote object failure.public java.util.List getIdentityGroups() throws ServiceException, java.rmi.RemoteException
IdentityInterface
getIdentityGroups
in interface IdentityInterface
ServiceException
- 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 PersonInterface
ServiceException
- 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 IdentityInterface
ServiceException
- 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 PersonInterface
ServiceException
- 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 PersonInterface
title
- 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 PersonInterface
location
- 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 PersonInterface
phone
- 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 PersonInterface
ServiceException
- 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 PersonInterface
ServiceException
- 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 PersonInterface
location
- 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 PersonInterface
phone
- 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 PersonInterface
password
- 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 PersonInterface
ServiceException
- 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 PersonInterface
ServiceException
- 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 PersonInterface
ServiceException
- 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 IdentityInterface
IdentityMembershipInterface
>
ServiceException
- If a service level 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 |