|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationAction
Represents a feature/action of an application. These are used in conjunction with Roles (IdentityGroup objects with a type of Role) to control which application features are made available to different users. Application actions are designed by applications and created by them during installation and/or configuration. The user manager can be used to create roles and manage user access to those features. Since applications are designed to respond only to certain actions there is no need for users to explicitly create their own application actions.
Attributes of ApplicationAction are:
Associations of ApplicationAction 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(); ApplicationAction myObject = (ApplicationAction) factory.createComplexMetadataObject(objectStore, "ApplicationAction_Object", MetadataObjects.APPLICATIONACTION, "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 |
ATTRIBUTE_ACTIONIDENTIFIER_NAME
Constant used for the name of the ActionIdentifier attribute. |
static java.lang.String |
ATTRIBUTE_ACTIONTYPE_NAME
Constant used for the name of the ActionType 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 | |
---|---|
java.lang.String |
getActionIdentifier()
Gets the String value of ActionIdentifier |
int |
getActionIdentifierMaxLength()
Gets the maximum length of ActionIdentifier |
int |
getActionIdentifierState()
Gets the Metadata State of ActionIdentifier |
java.lang.String |
getActionType()
Gets the String value of ActionType |
int |
getActionTypeMaxLength()
Gets the maximum length of ActionType |
int |
getActionTypeState()
Gets the Metadata State of ActionType |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setActionIdentifier(java.lang.String inActionIdentifier)
Sets the ActionIdentifier value and sets the state to MetadataState.LOCAL. |
void |
setActionIdentifier(java.lang.String inActionIdentifier,
int state)
Sets the ActionIdentifier Metadata State. |
void |
setActionIdentifierState(int state)
Sets the Metadata State of ActionIdentifier . |
void |
setActionType(java.lang.String inActionType)
Sets the ActionType value and sets the state to MetadataState.LOCAL. |
void |
setActionType(java.lang.String inActionType,
int state)
Sets the ActionType Metadata State. |
void |
setActionTypeState(int state)
Sets the Metadata State of ActionType . |
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_ACTIONIDENTIFIER_NAME
ActionIdentifier: ActionIdentifier
static final java.lang.String ATTRIBUTE_ACTIONTYPE_NAME
ActionType: ActionType
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
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 getActionIdentifier() throws java.rmi.RemoteException
String
value of ActionIdentifier
ActionIdentifier
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getActionIdentifierState() throws java.rmi.RemoteException
ActionIdentifier
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getActionIdentifierMaxLength() throws java.rmi.RemoteException
ActionIdentifier
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getActionType() throws java.rmi.RemoteException
String
value of ActionType
ActionType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getActionTypeState() throws java.rmi.RemoteException
ActionType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getActionTypeMaxLength() throws java.rmi.RemoteException
ActionType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void setActionIdentifier(java.lang.String inActionIdentifier) throws java.rmi.RemoteException
ActionIdentifier
value and sets the state to MetadataState.LOCAL.
inActionIdentifier
- String
java.rmi.RemoteException
- If error communicating with remote object.void setActionIdentifier(java.lang.String inActionIdentifier, int state) throws java.rmi.RemoteException
ActionIdentifier
Metadata State.
inActionIdentifier
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setActionIdentifierState(int state) throws java.rmi.RemoteException
ActionIdentifier
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setActionType(java.lang.String inActionType) throws java.rmi.RemoteException
ActionType
value and sets the state to MetadataState.LOCAL.
inActionType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setActionType(java.lang.String inActionType, int state) throws java.rmi.RemoteException
ActionType
Metadata State.
inActionType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setActionTypeState(int state) throws java.rmi.RemoteException
ActionType
.
state
- 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 |