|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface ResponsibleParty
This metadata type associates a responsibility with an identity. Later, this ResponsibleParty object can be associated with one or more resources. A ResponsibleParty object must be created in the same SAS Metadata Repository as the Person or IdentityGroup object of the identity that it describes. New methods have been added to the SAS Open Metadata Interface that create and get ResponsibleParty objects in the appropriate repository, regardless of whether the requesting identity has WriteMetadata permission to that repository or not. For more information, see AddResponsibleParty and GetResponsibleParty in the SAS 9.2 Open Metadata Interface: Reference and Usage.
ResponsibleParty objects
Attributes of ResponsibleParty are:
Associations of ResponsibleParty are:
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(); ResponsibleParty myObject = (ResponsibleParty) factory.createComplexMetadataObject(objectStore, "ResponsibleParty_Object", MetadataObjects.RESPONSIBLEPARTY, "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_OBJECTS_NAME
Constant used for the name of the Objects association. |
static java.lang.String |
ASSOCIATION_PERSONS_NAME
Constant used for the name of the Persons association. |
static java.lang.String |
ATTRIBUTE_ROLE_NAME
Constant used for the name of the Role attribute. |
| 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 |
getObjects()
Gets the AssociationList of Objects |
abstract AssociationList |
getObjects(boolean fGoToServer)
Gets the Associationlist of Objects |
abstract AssociationList |
getPersons()
Gets the AssociationList of Persons |
abstract AssociationList |
getPersons(boolean fGoToServer)
Gets the Associationlist of Persons |
abstract java.lang.String |
getRole()
Gets the String value of Role |
abstract int |
getRoleMaxLength()
Gets the maximum length of Role |
abstract int |
getRoleState()
Gets the Metadata State of Role |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: ObjectsPersons |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setObjects(AssociationList list)
Sets the Objects list to be list. |
abstract void |
setObjects(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setPersons(AssociationList list)
Sets the Persons list to be list. |
abstract void |
setPersons(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
abstract void |
setRole(java.lang.String inRole)
Sets the Role value and sets the state to MetadataState.LOCAL. |
abstract void |
setRole(java.lang.String inRole,
int state)
Sets the Role Metadata State. |
abstract void |
setRoleState(int state)
Sets the Metadata State of Role. |
| 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_ROLE_NAME
Role: The responsibility the associated identity has in relation to the associated objects. Begining in SAS 9.2, the list of SAS-supported roles will be maintained and localized within a utility jar. Supported roles include: OWNER USER ADMINISTRATOR CHANGEDBY
static final java.lang.String ASSOCIATION_OBJECTS_NAME
Objects: The responsibility as defined by the Role attribute may apply to one or many objects. An application with a requirement to determine all of the objects for which a person has been assigned a particular responsibility would find the ResponsibleParty object where Role is the responsibility in question and query the Objects association to obtain the list of objects.
static final java.lang.String ASSOCIATION_PERSONS_NAME
Persons: The list of persons that have been assigned the responsibility defined in this object.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface RootinitializeRequiredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
ObjectsPersons
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface RootinitializePredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getRole()
throws java.rmi.RemoteException
String value of Role
Role
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getRoleState()
throws java.rmi.RemoteException
Role
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getRoleMaxLength()
throws java.rmi.RemoteException
Role
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getObjects()
throws java.rmi.RemoteException,
MdException
Objects
Objects 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 getPersons()
throws java.rmi.RemoteException,
MdException
Persons
Persons 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 getObjects(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Objects
fGoToServer - boolean Get the value from the server.
Objects 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 getPersons(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Persons
fGoToServer - boolean Get the value from the server.
Persons 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 setRole(java.lang.String inRole)
throws java.rmi.RemoteException
Role value and sets the state to MetadataState.LOCAL.
inRole - String
java.rmi.RemoteException - If error communicating with remote object.
void setRole(java.lang.String inRole,
int state)
throws java.rmi.RemoteException
Role Metadata State.
inRole - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setRoleState(int state)
throws java.rmi.RemoteException
Role.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setObjects(AssociationList list)
throws java.rmi.RemoteException
Objects list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setObjects(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setPersons(AssociationList list)
throws java.rmi.RemoteException
Persons list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setPersons(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 | |||||||||||||