|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface Identity
Identity - abstract class for objects that identify an entity.
Attributes of Identity are:
Associations of Identity are:
AccessControlEntriesAssociatedHomeFolderIdentityChangesIdentityGroupsInternalLoginInfoLoginsResponsibilitiesfactory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); Identity myObject = (Identity) factory.createComplexMetadataObject(objectStore, "Identity_Object", MetadataObjects.IDENTITY, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil.
updateMetadataAll
method.
delete method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
| Field Summary | |
|---|---|
static java.lang.String |
ASSOCIATION_ACCESSCONTROLENTRIES_NAME
Constant used for the name of the AccessControlEntries association. |
static java.lang.String |
ASSOCIATION_ASSOCIATEDHOMEFOLDER_NAME
Constant used for the name of the AssociatedHomeFolder association. |
static java.lang.String |
ASSOCIATION_IDENTITYCHANGES_NAME
Constant used for the name of the IdentityChanges association. |
static java.lang.String |
ASSOCIATION_IDENTITYGROUPS_NAME
Constant used for the name of the IdentityGroups association. |
static java.lang.String |
ASSOCIATION_INTERNALLOGININFO_NAME
Constant used for the name of the InternalLoginInfo association. |
static java.lang.String |
ASSOCIATION_LOGINS_NAME
Constant used for the name of the Logins association. |
static java.lang.String |
ASSOCIATION_RESPONSIBILITIES_NAME
Constant used for the name of the Responsibilities association. |
static java.lang.String |
ATTRIBUTE_DISPLAYNAME_NAME
Constant used for the name of the DisplayName attribute. |
| Fields inherited from interface com.sas.metadata.remote.PrimaryType |
|---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAME |
| Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
|---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
| Method Summary | |
|---|---|
abstract AssociationList |
getAccessControlEntries()
Gets the AssociationList of AccessControlEntries |
abstract AssociationList |
getAccessControlEntries(boolean fGoToServer)
Gets the Associationlist of AccessControlEntries |
abstract Tree |
getAssociatedHomeFolder()
Gets the Tree for AssociatedHomeFolder |
abstract AssociationList |
getAssociatedHomeFolders()
Gets the Association list of AssociatedHomeFolders |
abstract AssociationList |
getAssociatedHomeFolders(boolean fGoToServer)
Gets the Associationlist of AssociatedHomeFolders |
abstract java.lang.String |
getDisplayName()
Gets the String value of DisplayName |
abstract int |
getDisplayNameMaxLength()
Gets the maximum length of DisplayName |
abstract int |
getDisplayNameState()
Gets the Metadata State of DisplayName |
abstract AssociationList |
getIdentityChanges()
Gets the Association list of IdentityChanges |
abstract AssociationList |
getIdentityChanges(boolean fGoToServer)
Gets the Associationlist of IdentityChanges |
abstract AssociationList |
getIdentityGroups()
Gets the Association list of IdentityGroups |
abstract AssociationList |
getIdentityGroups(boolean fGoToServer)
Gets the Associationlist of IdentityGroups |
abstract InternalLogin |
getInternalLoginInfo()
Gets the InternalLogin for InternalLoginInfo |
abstract AssociationList |
getInternalLoginInfos()
Gets the Association list of InternalLoginInfos |
abstract AssociationList |
getInternalLoginInfos(boolean fGoToServer)
Gets the Associationlist of InternalLoginInfos |
abstract AssociationList |
getLogins()
Gets the Association list of Logins |
abstract AssociationList |
getLogins(boolean fGoToServer)
Gets the Associationlist of Logins |
abstract AssociationList |
getResponsibilities()
Gets the Association list of Responsibilities |
abstract AssociationList |
getResponsibilities(boolean fGoToServer)
Gets the Associationlist of Responsibilities |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AccessControlEntries |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setAccessControlEntries(AssociationList list)
Sets the AccessControlEntries list to be list. |
abstract void |
setAccessControlEntries(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setAssociatedHomeFolder(Tree inObject)
Sets the AssociatedHomeFolders list 0th element to be inObject. |
abstract void |
setAssociatedHomeFolders(AssociationList list)
Sets the AssociatedHomeFolders list to be list. |
abstract void |
setAssociatedHomeFolders(AssociationList list,
int state)
Sets the AssociatedHomeFolders list to be list. |
abstract void |
setDisplayName(java.lang.String inDisplayName)
Sets the DisplayName value and sets the state to MetadataState.LOCAL. |
abstract void |
setDisplayName(java.lang.String inDisplayName,
int state)
Sets the DisplayName Metadata State. |
abstract void |
setDisplayNameState(int state)
Sets the Metadata State of DisplayName. |
abstract void |
setIdentityChanges(AssociationList list)
Sets the IdentityChanges list to be list. |
abstract void |
setIdentityChanges(AssociationList inObjects,
int state)
Sets the entire IdentityChanges list to match the passed in AssociationList, sets the state of the IdentityChanges |
abstract void |
setIdentityGroups(AssociationList list)
Sets the IdentityGroups list to be list. |
abstract void |
setIdentityGroups(AssociationList inObjects,
int state)
Sets the entire IdentityGroups list to match the passed in AssociationList, sets the state of the IdentityGroups |
abstract void |
setInternalLoginInfo(InternalLogin inObject)
Sets the InternalLoginInfos list 0th element to be inObject. |
abstract void |
setInternalLoginInfos(AssociationList list)
Sets the InternalLoginInfos list to be list. |
abstract void |
setInternalLoginInfos(AssociationList list,
int state)
Sets the InternalLoginInfos list to be list. |
abstract void |
setLogins(AssociationList list)
Sets the Logins list to be list. |
abstract void |
setLogins(AssociationList inObjects,
int state)
Sets the entire Logins list to match the passed in AssociationList, sets the state of the Logins |
abstract void |
setResponsibilities(AssociationList list)
Sets the Responsibilities list to be list. |
abstract void |
setResponsibilities(AssociationList inObjects,
int state)
Sets the entire Responsibilities list to match the passed in AssociationList, sets the state of the Responsibilities |
| Methods inherited from interface com.sas.metadata.remote.PrimaryType |
|---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
| Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
|---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
| Field Detail |
|---|
static final java.lang.String ATTRIBUTE_DISPLAYNAME_NAME
DisplayName:
This field is expected to contain the name of the person or group as it should be displayed in GUIs. In enterprise installations this would be a first and last name with a middle initial potentially added in the middle. There will be no constraints on the field other than size. It is possible that the display name not be populated at all or that the 3 people have the same display name. (The "name" field is still required to be unique on the server.)
GUIs that display a Person or IdentityGroup (or Role) should use the DisplayName to identify the user in the list of users. If a particular Person or IdentityGroup does not have a DisplayName, then the Name attribute should be used.
static final java.lang.String ASSOCIATION_ACCESSCONTROLENTRIES_NAME
AccessControlEntries: The access control entries associated with this identity.
static final java.lang.String ASSOCIATION_ASSOCIATEDHOMEFOLDER_NAME
AssociatedHomeFolder: The home folder for this identity.
static final java.lang.String ASSOCIATION_IDENTITYCHANGES_NAME
IdentityChanges: The changes made by this identity (or user).
static final java.lang.String ASSOCIATION_IDENTITYGROUPS_NAME
IdentityGroups: The groups that this identity are a part.
static final java.lang.String ASSOCIATION_INTERNALLOGININFO_NAME
InternalLoginInfo: The internal login configuration for this identity.
static final java.lang.String ASSOCIATION_LOGINS_NAME
Logins: The logins defined for this identity.
static final java.lang.String ASSOCIATION_RESPONSIBILITIES_NAME
Responsibilities: The list of responsibilities for this person.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
AccessControlEntries
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getDisplayName()
throws java.rmi.RemoteException
String value of DisplayName
DisplayName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getDisplayNameState()
throws java.rmi.RemoteException
DisplayName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getDisplayNameMaxLength()
throws java.rmi.RemoteException
DisplayName
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getAccessControlEntries()
throws java.rmi.RemoteException,
MdException
AccessControlEntries
AccessControlEntries which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getAssociatedHomeFolders()
throws java.rmi.RemoteException,
MdException
AssociatedHomeFolders
AssociatedHomeFolders which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
Tree getAssociatedHomeFolder()
throws java.rmi.RemoteException,
MdException
Tree for AssociatedHomeFolder
Tree ( null if not set ) of AssociatedHomeFolder which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getIdentityChanges()
throws java.rmi.RemoteException,
MdException
IdentityChanges
IdentityChanges which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getIdentityGroups()
throws java.rmi.RemoteException,
MdException
IdentityGroups
IdentityGroups which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getInternalLoginInfos()
throws java.rmi.RemoteException,
MdException
InternalLoginInfos
InternalLoginInfos which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
InternalLogin getInternalLoginInfo()
throws java.rmi.RemoteException,
MdException
InternalLogin for InternalLoginInfo
InternalLogin ( null if not set ) of InternalLoginInfo which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getLogins()
throws java.rmi.RemoteException,
MdException
Logins
Logins which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getResponsibilities()
throws java.rmi.RemoteException,
MdException
Responsibilities
Responsibilities which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getAccessControlEntries(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
AccessControlEntries
fGoToServer - boolean Get the value from the server.
AccessControlEntries which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getAssociatedHomeFolders(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
AssociatedHomeFolders
fGoToServer - boolean Get the value from the server.
AssociatedHomeFolders which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getIdentityChanges(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
IdentityChanges
fGoToServer - boolean Get the value from the server.
IdentityChanges which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getIdentityGroups(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
IdentityGroups
fGoToServer - boolean Get the value from the server.
IdentityGroups which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getInternalLoginInfos(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
InternalLoginInfos
fGoToServer - boolean Get the value from the server.
InternalLoginInfos which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getLogins(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Logins
fGoToServer - boolean Get the value from the server.
Logins which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getResponsibilities(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Responsibilities
fGoToServer - boolean Get the value from the server.
Responsibilities which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
void setDisplayName(java.lang.String inDisplayName)
throws java.rmi.RemoteException
DisplayName value and sets the state to MetadataState.LOCAL.
inDisplayName - String
java.rmi.RemoteException - If error communicating with remote object.
void setDisplayName(java.lang.String inDisplayName,
int state)
throws java.rmi.RemoteException
DisplayName Metadata State.
inDisplayName - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setDisplayNameState(int state)
throws java.rmi.RemoteException
DisplayName.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setAccessControlEntries(AssociationList list)
throws java.rmi.RemoteException
AccessControlEntries list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setAccessControlEntries(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedHomeFolders(AssociationList list)
throws java.rmi.RemoteException
AssociatedHomeFolders list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedHomeFolders(AssociationList list,
int state)
throws java.rmi.RemoteException
AssociatedHomeFolders list to be list. Objects of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedHomeFolder(Tree inObject)
throws java.rmi.RemoteException
AssociatedHomeFolders list 0th element to be inObject.
inObject - Tree
java.rmi.RemoteException - If error communicating with remote object.
void setIdentityChanges(AssociationList list)
throws java.rmi.RemoteException
IdentityChanges list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setIdentityChanges(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIdentityGroups(AssociationList list)
throws java.rmi.RemoteException
IdentityGroups list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setIdentityGroups(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setInternalLoginInfos(AssociationList list)
throws java.rmi.RemoteException
InternalLoginInfos list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setInternalLoginInfos(AssociationList list,
int state)
throws java.rmi.RemoteException
InternalLoginInfos list to be list. Objects of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setInternalLoginInfo(InternalLogin inObject)
throws java.rmi.RemoteException
InternalLoginInfos list 0th element to be inObject.
inObject - InternalLogin
java.rmi.RemoteException - If error communicating with remote object.
void setLogins(AssociationList list)
throws java.rmi.RemoteException
Logins list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setLogins(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setResponsibilities(AssociationList list)
throws java.rmi.RemoteException
Responsibilities list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setResponsibilities(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||