|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IdentityGroup
Grouping mechanism for identity objects. A IdentityGroup may also be a member of another IdentityGroup
Attributes of IdentityGroup are:
Associations of IdentityGroup 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(); IdentityGroup myObject = (IdentityGroup) factory.createComplexMetadataObject(objectStore, "IdentityGroup_Object", MetadataObjects.IDENTITYGROUP, "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_MEMBERIDENTITIES_NAME
Constant used for the name of the MemberIdentities association. |
static java.lang.String |
ATTRIBUTE_GROUPTYPE_NAME
Constant used for the name of the GroupType attribute. |
Fields inherited from interface com.sas.metadata.remote.Identity |
---|
ASSOCIATION_ACCESSCONTROLENTRIES_NAME, ASSOCIATION_ASSOCIATEDHOMEFOLDER_NAME, ASSOCIATION_IDENTITYCHANGES_NAME, ASSOCIATION_IDENTITYGROUPS_NAME, ASSOCIATION_INTERNALLOGININFO_NAME, ASSOCIATION_LOGINS_NAME, ASSOCIATION_RESPONSIBILITIES_NAME, ATTRIBUTE_DISPLAYNAME_NAME |
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 | |
---|---|
java.lang.String |
getGroupType()
Gets the String value of GroupType |
int |
getGroupTypeMaxLength()
Gets the maximum length of GroupType |
int |
getGroupTypeState()
Gets the Metadata State of GroupType |
AssociationList |
getMemberIdentities()
Gets the AssociationList of MemberIdentities |
AssociationList |
getMemberIdentities(boolean fGoToServer)
Gets the Associationlist of MemberIdentities |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: MemberIdentities |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setGroupType(java.lang.String inGroupType)
Sets the GroupType value and sets the state to MetadataState.LOCAL. |
void |
setGroupType(java.lang.String inGroupType,
int state)
Sets the GroupType Metadata State. |
void |
setGroupTypeState(int state)
Sets the Metadata State of GroupType . |
void |
setMemberIdentities(AssociationList list)
Sets the MemberIdentities list to be list . |
void |
setMemberIdentities(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
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_GROUPTYPE_NAME
GroupType: GroupType
static final java.lang.String ASSOCIATION_MEMBERIDENTITIES_NAME
MemberIdentities: The identities that are a part of this group.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface Identity
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
MemberIdentities
initializePredObjects
in interface Identity
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 getGroupType() throws java.rmi.RemoteException
String
value of GroupType
GroupType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getGroupTypeState() throws java.rmi.RemoteException
GroupType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getGroupTypeMaxLength() throws java.rmi.RemoteException
GroupType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getMemberIdentities() throws java.rmi.RemoteException, MdException
MemberIdentities
MemberIdentities
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 getMemberIdentities(boolean fGoToServer) throws java.rmi.RemoteException, MdException
MemberIdentities
fGoToServer
- boolean Get the value from the server.
MemberIdentities
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 setGroupType(java.lang.String inGroupType) throws java.rmi.RemoteException
GroupType
value and sets the state to MetadataState.LOCAL.
inGroupType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setGroupType(java.lang.String inGroupType, int state) throws java.rmi.RemoteException
GroupType
Metadata State.
inGroupType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setGroupTypeState(int state) throws java.rmi.RemoteException
GroupType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setMemberIdentities(AssociationList list) throws java.rmi.RemoteException
MemberIdentities
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setMemberIdentities(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 |