*** This class provides Binary Compatibility only, not Source Compatibility ***
Class UnauthenticatedIdentity
java.lang.Object
com.sas.services.information.metadata.VirtualMetadata
com.sas.services.information.metadata.UnauthenticatedIdentity
- All Implemented Interfaces:
IdentityInterface,MetadataInterface,PersonInterface,PublicObjectInterface,Serializable,Remote
@SASScope("ALL")
@BinaryCompatibilityOnly
public class UnauthenticatedIdentity
extends VirtualMetadata
implements PersonInterface
- See Also:
-
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a new email to a user's list of email instances.voidaddEmailAddress(String address) Add a new email address to a user's email address list.voidaddExternalIdentity(ExternalIdentityInterface externalIdentity) Add an external identity to the Identity.voidaddLocation(LocationInterface location) Add a location to the user's list of locations.voidaddLogin(LoginInterface login) Add a login to the Identity.voidAdd a phone number to the user's list.voidDelete Internal AccountList<MetadataInterface> Returns the list of objects this person has created.StringGet the identity's display name attribute.StringGet the effective display name for the identity.StringGet the effective display name for the identity.ListGet the user email addresses.ListGet the user's email instancesGet a list of the External Identity objects associated with this Identity.ListGet the list of groups this object is a member of.ListGet a List of the IdentityGroups that this Identity belongs to.Returns the List of IdentityMembershipInterface instances ordered by membership levelStringReturn the type of Identity.Return Internal Account (InternalLoginUserInfo) Options for this PersonListReturn the list of locations for the user.ListGet a list of the Login objects associated with this Identity.List<MetadataInterface> Returns the list of objects this person has modified.StringgetName()Get the name of this object.ListGet the list of phone numbers for the user.ListGet a List of the subscriber identities owned by this Person.StringgetTitle()Get the Title attribute.StringgetType()Get the object type.ListGet a list of the user id's from the logins associated with this Identity.voidRemove an email from a user's list of email instances.voidremoveEmailAddress(String address) Remove an address from a user's list of email addresses.voidremoveExternalIdentity(ExternalIdentityInterface externalIdentity) Remove an external identity from the Identity.voidremoveLocation(LocationInterface location) Remove a location from the user's list of lcoations.voidremoveLogin(LoginInterface login) Remove a Login from the Identity.voidRemove a phone number from the user's list.voidsetDisplayName(String displayName) Set the identity's display name.voidsetInternalAccountOptions(InternalLoginUserInfo intrlLgnUsrInfo) Set Internal Account (InternalLoginUserInfo) Options for this PersonvoidsetInternalAccountPassword(String password) Set Internal Account PasswordvoidsetName(String name) Set this object's name.voidsetTitle(String title) Set the Person's Title.Methods inherited from class com.sas.services.information.metadata.VirtualMetadata
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addProcessorInterface, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getContainer, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentifier, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getObjectURI, getParent, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getProcessorInterface, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getTypeDescriptor, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isLoggingEnabled, isObjectAlive, isReadCompatible, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
-
Constructor Details
-
UnauthenticatedIdentity
public UnauthenticatedIdentity()
-
-
Method Details
-
getName
public String getName() throws RemoteExceptionDescription copied from interface:PublicObjectInterfaceGet the name of this object.- Specified by:
getNamein interfacePublicObjectInterface- Overrides:
getNamein classVirtualMetadata- Returns:
- String
- Throws:
RemoteException
-
getDisplayName
Description copied from interface:IdentityInterfaceGet the identity's display name attribute.- Specified by:
getDisplayNamein interfaceIdentityInterface- Returns:
- The display name, or null if it hasn't been set.
- Throws:
ServiceException- If a service level error occurs.RemoteException- In the event of remote object failure.
-
getEffectiveDispayName
Description copied from interface:IdentityInterfaceGet the effective display name for the identity. If the display name is non-null, that will be returned. Otherwise, the name is returned.- Specified by:
getEffectiveDispayNamein interfaceIdentityInterface- Returns:
- The effective display name.
- Throws:
ServiceException- If a service level error occurs.RemoteException- In the event of remote object failure.
-
getEffectiveDisplayName
Description copied from interface:IdentityInterfaceGet the effective display name for the identity. If the display name is non-null, that will be returned. Otherwise, the name is returned.- Specified by:
getEffectiveDisplayNamein interfaceIdentityInterface- Returns:
- The effective display name.
- Throws:
ServiceException- If a service level error occurs.RemoteException- In the event of remote object failure.
-
setDisplayName
Description copied from interface:IdentityInterfaceSet the identity's display name. Most users will not have permission to perform this operation. Only user/group administrators will be able to change display names.- Specified by:
setDisplayNamein interfaceIdentityInterface- Parameters:
displayName- The identity's new display name.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getType
public String getType() throws RemoteExceptionDescription copied from interface:MetadataInterfaceGet 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:
getTypein interfaceMetadataInterface- Overrides:
getTypein classVirtualMetadata- Returns:
- A type string for the object.
- Throws:
RemoteException- if an error occurs
-
getLogins
Description copied from interface:IdentityInterfaceGet a list of the Login objects associated with this Identity.- Specified by:
getLoginsin interfaceIdentityInterface- Returns:
- a List of the Logins.
- Throws:
ServiceException- in the event of a repository failure.RemoteException- in the event of remote object failure.
-
getUserIds
Description copied from interface:IdentityInterfaceGet a list of the user id's from the logins associated with this Identity.- Specified by:
getUserIdsin interfaceIdentityInterface- Returns:
- a List of the user id's.
- Throws:
ServiceException- in the event of repository failure.RemoteException- in the event of remote object failure.
-
setName
public void setName(String name) throws RemoteException Description copied from interface:MetadataInterfaceSet this object's name.- Specified by:
setNamein interfaceMetadataInterface- Overrides:
setNamein classVirtualMetadata- Parameters:
name- aStringfor the object name.- Throws:
RemoteException- if an error occurs
-
getEmailAddresses
public List getEmailAddresses() throws RemoteExceptionDescription copied from interface:PersonInterfaceGet the user email addresses.- Specified by:
getEmailAddressesin interfacePersonInterface- 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:PersonInterfaceAdd a new email address to a user's email address list.- Specified by:
addEmailAddressin interfacePersonInterface- 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:PersonInterfaceRemove an address from a user's list of email addresses.- Specified by:
removeEmailAddressin interfacePersonInterface- Parameters:
address- The address to remove from the user's email list.- Throws:
RemoteException- in the event of remote object failure.
-
getEmails
public List getEmails() throws RemoteExceptionDescription copied from interface:PersonInterfaceGet the user's email instances- Specified by:
getEmailsin interfacePersonInterface- Returns:
- A List containing the user's email instances.
- Throws:
RemoteException- in the event of remote object failure.
-
addEmail
Description copied from interface:PersonInterfaceAdd a new email to a user's list of email instances.- Specified by:
addEmailin interfacePersonInterface- Throws:
RemoteException- in the event of remote object failure.
-
removeEmail
Description copied from interface:PersonInterfaceRemove an email from a user's list of email instances.- Specified by:
removeEmailin interfacePersonInterface- Throws:
RemoteException- in the event of remote object failure.
-
getGroups
public List getGroups() throws RemoteExceptionDescription copied from interface:MetadataInterfaceGet the list of groups this object is a member of.- Specified by:
getGroupsin interfaceMetadataInterface- Specified by:
getGroupsin interfacePersonInterface- Overrides:
getGroupsin classVirtualMetadata- Returns:
- The List of GroupInterface objects this object is a member of.
- Throws:
RemoteException- In the event of remote object failure.
-
getIdentityGroups
Description copied from interface:IdentityInterfaceGet a List of the IdentityGroups that this Identity belongs to.- Specified by:
getIdentityGroupsin interfaceIdentityInterface- Returns:
- A List of IdentityGroupInterface objects that this identity is a direct member of.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getSubscribers
Description copied from interface:PersonInterfaceGet a List of the subscriber identities owned by this Person.- Specified by:
getSubscribersin interfacePersonInterface- Returns:
- a List of SubscriberInterface objects.
- Throws:
ServiceException- if a repository error occurs.RemoteException- in the event of remote object failure.
-
addLogin
Description copied from interface:IdentityInterfaceAdd a login to the Identity.- Specified by:
addLoginin interfaceIdentityInterface- Parameters:
login- The Login to add to this Identity.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
removeLogin
Description copied from interface:IdentityInterfaceRemove a Login from the Identity.- Specified by:
removeLoginin interfaceIdentityInterface- Parameters:
login- The Login to remove from this Identity.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getIdentityType
Description copied from interface:IdentityInterfaceReturn the type of Identity. This is mostly for internal use. Returns either "Person" or "IdentityGroup". To get the user friendly string, just use getType().- Specified by:
getIdentityTypein interfaceIdentityInterface- Returns:
- The identity type string.
- Throws:
ServiceException- If a service level error occurs.RemoteException- In the event of remote object failure.
-
getTitle
Description copied from interface:PersonInterfaceGet the Title attribute.- Specified by:
getTitlein interfacePersonInterface- Returns:
- The value of the Title attribute, or null if unset.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
setTitle
Description copied from interface:PersonInterfaceSet the Person's Title.- Specified by:
setTitlein interfacePersonInterface- Parameters:
title- The new Title for the person.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
addLocation
Description copied from interface:PersonInterfaceAdd a location to the user's list of locations.- Specified by:
addLocationin interfacePersonInterface- Parameters:
location- The new location to add.- Throws:
ServiceException- If a metadata error occurs.RemoteException- In the event of remote object failure.
-
addPhoneNumber
Description copied from interface:PersonInterfaceAdd a phone number to the user's list.- Specified by:
addPhoneNumberin interfacePersonInterface- Parameters:
phone- The new phone number to add.- Throws:
ServiceException- If a metadata error occurs.RemoteException- In the event of remote object failure.
-
getLocations
Description copied from interface:PersonInterfaceReturn the list of locations for the user. These may be valid addresses, but the description of Location in the metadata doesn't say that, so it could be just a country, etc.- Specified by:
getLocationsin interfacePersonInterface- Returns:
- The List of locations defined for the user.
- Throws:
ServiceException- If a metadata error occurs.RemoteException- In the event of remote object failure.
-
getPhoneNumbers
Description copied from interface:PersonInterfaceGet the list of phone numbers for the user.- Specified by:
getPhoneNumbersin interfacePersonInterface- Returns:
- The List of phone numbers defined for the user.
- Throws:
ServiceException- If a metadata error occurs.RemoteException- In the event of remote object failure.
-
removeLocation
Description copied from interface:PersonInterfaceRemove a location from the user's list of lcoations.- Specified by:
removeLocationin interfacePersonInterface- Parameters:
location- The location to remove.- Throws:
ServiceException- If a metadata error occurs.RemoteException- In the event of remote object failure.
-
removePhoneNumber
Description copied from interface:PersonInterfaceRemove a phone number from the user's list.- Specified by:
removePhoneNumberin interfacePersonInterface- Parameters:
phone- The phone number to remove.- Throws:
ServiceException- If a metadata error occurs.RemoteException- In the event of remote object failure.
-
setInternalAccountPassword
Description copied from interface:PersonInterfaceSet Internal Account Password- Specified by:
setInternalAccountPasswordin interfacePersonInterface- Parameters:
password- The password (clear text or encoded) to be set for this Person- Throws:
ServiceException- If a metadata error occurs.RemoteException- In the event of remote object failure.
-
deleteInternalAccount
Description copied from interface:PersonInterfaceDelete Internal Account- Specified by:
deleteInternalAccountin interfacePersonInterface- Throws:
ServiceException- If a metadata error occurs.RemoteException- In the event of remote object failure.
-
getInternalAccountOptions
Description copied from interface:PersonInterfaceReturn Internal Account (InternalLoginUserInfo) Options for this Person- Specified by:
getInternalAccountOptionsin interfacePersonInterface- Throws:
ServiceException- If a metadata error occurs.RemoteException- In the event of remote object failure.
-
setInternalAccountOptions
public void setInternalAccountOptions(InternalLoginUserInfo intrlLgnUsrInfo) throws ServiceException, RemoteException Description copied from interface:PersonInterfaceSet Internal Account (InternalLoginUserInfo) Options for this Person- Specified by:
setInternalAccountOptionsin interfacePersonInterface- Throws:
ServiceException- If a metadata error occurs.RemoteException- In the event of remote object failure.
-
getIdentityMembershipLevels
public List<IdentityMembershipInterface> getIdentityMembershipLevels() throws ServiceException, RemoteExceptionDescription copied from interface:IdentityInterfaceReturns the List of IdentityMembershipInterface instances ordered by membership level- Specified by:
getIdentityMembershipLevelsin interfaceIdentityInterface- Returns:
- List<
IdentityMembershipInterface> - Throws:
ServiceException- If a service level error occurs.RemoteException- In the event of remote object failure.
-
getCreatedObjects
Description copied from interface:PersonInterfaceReturns the list of objects this person has created.Note, this can potentially be a fairly expensive request depending on how many objects the user has created.
- Specified by:
getCreatedObjectsin interfacePersonInterface- Returns:
- list of created objects
- Throws:
ServiceException- If a service level error occurs.RemoteException- in the event of remote object failure.
-
getModifiedObjects
Description copied from interface:PersonInterfaceReturns the list of objects this person has modified.Note, this can potentially be a fairly expensive request depending on how many objects the user has modified.
- Specified by:
getModifiedObjectsin interfacePersonInterface- Returns:
- list of modified objects
- Throws:
ServiceException- If a service level error occurs.RemoteException- in the event of remote object failure.
-
getExternalIdentities
public List<ExternalIdentityInterface> getExternalIdentities() throws ServiceException, RemoteExceptionDescription copied from interface:IdentityInterfaceGet a list of the External Identity objects associated with this Identity.- Specified by:
getExternalIdentitiesin interfaceIdentityInterface- Returns:
- a List of the External Identities.
- Throws:
ServiceException- in the event of a repository failure.RemoteException- in the event of remote object failure.
-
addExternalIdentity
public void addExternalIdentity(ExternalIdentityInterface externalIdentity) throws ServiceException, RemoteException Description copied from interface:IdentityInterfaceAdd an external identity to the Identity.- Specified by:
addExternalIdentityin interfaceIdentityInterface- Parameters:
externalIdentity- The external identity to add to this Identity.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
removeExternalIdentity
public void removeExternalIdentity(ExternalIdentityInterface externalIdentity) throws ServiceException, RemoteException Description copied from interface:IdentityInterfaceRemove an external identity from the Identity.- Specified by:
removeExternalIdentityin interfaceIdentityInterface- Parameters:
externalIdentity- The external identity to remove from this Identity.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-