|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersonInterface
This is a generic interface for interacting with a repository entry that represents a person.
Field Summary |
---|
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 |
Method Summary | |
---|---|
void |
addEmail(EmailInterface email)
Add a new email to a user's list of email instances. |
void |
addEmailAddress(java.lang.String address)
Deprecated. Use addEmail( EmailInterface email ) instead |
void |
addLocation(LocationInterface location)
Add a location to the user's list of locations. |
void |
addPhoneNumber(PhoneNumberInterface phone)
Add a phone number to the user's list. |
void |
deleteInternalAccount()
Delete Internal Account |
java.util.List |
getEmailAddresses()
Deprecated. Use getEmails() instead |
java.util.List<EmailInterface> |
getEmails()
Get the user's email instances |
java.util.List |
getGroups()
Get a list of the groups the person is a member of. |
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 |
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. |
void |
removeEmail(EmailInterface email)
Remove an email from a user's list of email instances. |
void |
removeEmailAddress(java.lang.String address)
Deprecated. Use removeEmail( EmailInterface email ) instead |
void |
removeLocation(LocationInterface location)
Remove a location from the user's list of lcoations. |
void |
removePhoneNumber(PhoneNumberInterface phone)
Remove a phone number from the user's list. |
void |
setInternalAccountOptions(InternalLoginUserInfo intrlLgnUsrInfo)
Set Internal Account (InternalLoginUserInfo) Options for this Person |
void |
setInternalAccountPassword(java.lang.String password)
Set Internal Account Password |
void |
setTitle(java.lang.String title)
Set the Person's Title. |
Methods inherited from interface com.sas.services.information.metadata.IdentityInterface |
---|
addLogin, getDisplayName, getEffectiveDispayName, getEffectiveDisplayName, getIdentityGroups, getIdentityMembershipLevels, getIdentityType, getLogins, getUserIds, removeLogin, setDisplayName |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Method Detail |
---|
java.lang.String getTitle() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setTitle(java.lang.String title) throws ServiceException, java.rmi.RemoteException
title
- The new Title for the person.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.@Deprecated java.util.List getEmailAddresses() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.@Deprecated void addEmailAddress(java.lang.String address) throws ServiceException, java.rmi.RemoteException
address
- The new address to add.
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.@Deprecated void removeEmailAddress(java.lang.String address) throws ServiceException, java.rmi.RemoteException
address
- The address to remove from the user's email list.
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List<EmailInterface> getEmails() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.void addEmail(EmailInterface email) throws ServiceException, java.rmi.RemoteException
address
- The new EmailInterface instance to add.
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.void removeEmail(EmailInterface email) throws ServiceException, java.rmi.RemoteException
address
- The address to remove from the user's email list.
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getGroups() throws ServiceException, java.rmi.RemoteException
getGroups
in interface MetadataInterface
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getSubscribers() throws ServiceException, java.rmi.RemoteException
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getLocations() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a metadata error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void addLocation(LocationInterface location) throws ServiceException, java.rmi.RemoteException
location
- The new location to add.
ServiceException
- If a metadata error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void removeLocation(LocationInterface location) throws ServiceException, java.rmi.RemoteException
location
- The location to remove.
ServiceException
- If a metadata error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getPhoneNumbers() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a metadata error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void addPhoneNumber(PhoneNumberInterface phone) throws ServiceException, java.rmi.RemoteException
phone
- The new phone number to add.
ServiceException
- If a metadata error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void removePhoneNumber(PhoneNumberInterface phone) throws ServiceException, java.rmi.RemoteException
phone
- The phone number to remove.
ServiceException
- If a metadata error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setInternalAccountPassword(java.lang.String password) throws ServiceException, java.rmi.RemoteException
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.void deleteInternalAccount() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a metadata error occurs.
java.rmi.RemoteException
- In the event of remote object failure.InternalLoginUserInfo getInternalAccountOptions() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a metadata error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setInternalAccountOptions(InternalLoginUserInfo intrlLgnUsrInfo) throws ServiceException, java.rmi.RemoteException
phone
- The InternalLoginUserInfo object containing the options to set for this InternalAccount
ServiceException
- If a metadata 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 |