|
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:
AccessControlEntries
AssociatedHomeFolder
IdentityChanges
IdentityGroups
InternalLoginInfo
Logins
Responsibilities
factory
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 | |
---|---|
AssociationList |
getAccessControlEntries()
Gets the AssociationList of AccessControlEntries |
AssociationList |
getAccessControlEntries(boolean fGoToServer)
Gets the Associationlist of AccessControlEntries |
Tree |
getAssociatedHomeFolder()
Gets the Tree for AssociatedHomeFolder |
AssociationList |
getAssociatedHomeFolders()
Gets the Association list of AssociatedHomeFolders |
AssociationList |
getAssociatedHomeFolders(boolean fGoToServer)
Gets the Associationlist of AssociatedHomeFolders |
java.lang.String |
getDisplayName()
Gets the String value of DisplayName |
int |
getDisplayNameMaxLength()
Gets the maximum length of DisplayName |
int |
getDisplayNameState()
Gets the Metadata State of DisplayName |
AssociationList |
getIdentityChanges()
Gets the Association list of IdentityChanges |
AssociationList |
getIdentityChanges(boolean fGoToServer)
Gets the Associationlist of IdentityChanges |
AssociationList |
getIdentityGroups()
Gets the Association list of IdentityGroups |
AssociationList |
getIdentityGroups(boolean fGoToServer)
Gets the Associationlist of IdentityGroups |
InternalLogin |
getInternalLoginInfo()
Gets the InternalLogin for InternalLoginInfo |
AssociationList |
getInternalLoginInfos()
Gets the Association list of InternalLoginInfos |
AssociationList |
getInternalLoginInfos(boolean fGoToServer)
Gets the Associationlist of InternalLoginInfos |
AssociationList |
getLogins()
Gets the Association list of Logins |
AssociationList |
getLogins(boolean fGoToServer)
Gets the Associationlist of Logins |
AssociationList |
getResponsibilities()
Gets the Association list of Responsibilities |
AssociationList |
getResponsibilities(boolean fGoToServer)
Gets the Associationlist of Responsibilities |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AccessControlEntries |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAccessControlEntries(AssociationList list)
Sets the AccessControlEntries list to be list . |
void |
setAccessControlEntries(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setAssociatedHomeFolder(Tree inObject)
Sets the AssociatedHomeFolders list 0th element to be inObject . |
void |
setAssociatedHomeFolders(AssociationList list)
Sets the AssociatedHomeFolders list to be list . |
void |
setAssociatedHomeFolders(AssociationList list,
int state)
Sets the AssociatedHomeFolders list to be list . |
void |
setDisplayName(java.lang.String inDisplayName)
Sets the DisplayName value and sets the state to MetadataState.LOCAL. |
void |
setDisplayName(java.lang.String inDisplayName,
int state)
Sets the DisplayName Metadata State. |
void |
setDisplayNameState(int state)
Sets the Metadata State of DisplayName . |
void |
setIdentityChanges(AssociationList list)
Sets the IdentityChanges list to be list . |
void |
setIdentityChanges(AssociationList inObjects,
int state)
Sets the entire IdentityChanges list to match the passed in AssociationList, sets the state of the IdentityChanges |
void |
setIdentityGroups(AssociationList list)
Sets the IdentityGroups list to be list . |
void |
setIdentityGroups(AssociationList inObjects,
int state)
Sets the entire IdentityGroups list to match the passed in AssociationList, sets the state of the IdentityGroups |
void |
setInternalLoginInfo(InternalLogin inObject)
Sets the InternalLoginInfos list 0th element to be inObject . |
void |
setInternalLoginInfos(AssociationList list)
Sets the InternalLoginInfos list to be list . |
void |
setInternalLoginInfos(AssociationList list,
int state)
Sets the InternalLoginInfos list to be list . |
void |
setLogins(AssociationList list)
Sets the Logins list to be list . |
void |
setLogins(AssociationList inObjects,
int state)
Sets the entire Logins list to match the passed in AssociationList, sets the state of the Logins |
void |
setResponsibilities(AssociationList list)
Sets the Responsibilities list to be list . |
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 new 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.)
Metadata upgrade required! - Because the DisplayName is a new attribute on an existing metadata type, a metadata conversion must take place. This conversion will use the same mechanism as that used in the april 25th conversion. However, if you have already converted your repositories to SAS 9.2 the conversion process that takes place will be much simpler. Note: Additional details regarding the conversion process will be released prior to the 27th.
Required Client Application Changes: GUIs that display a Person or IdentityGroup (or Role) should begin using the DisplayName to identify the user in the list of users. If a particular Person or IdentityGroup does not have a DisplayName, then they should display the Name attribute. Applications that are based on JOMA or direct metadata access will need to add this logic to their apps. For applications that are based on Foundation Services Smart Objects all they will need to do is call a new method "getEffectiveDisplayName()" that will return the appropriate name to place in the GUI. **Note, your application should also provide bubble help or something that will display additional identifying information (like the unique name) to help in situations where multiple people or groups have the same display name.
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 MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
AccessControlEntries
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.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 |