|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface PermissionCondition
Stores an expression that is applied to conditionally grant a user or group access to a resource. The syntax of the expression is not explicitly defined as it varies depending on the resource to which it applies. PermissionCondition objects should not be explicitly created or deleted. PermissionCondition objects are created for you by the authorization tab as appropriate.
Attributes of PermissionCondition are:
Associations of PermissionCondition 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(); PermissionCondition myObject = (PermissionCondition) factory.createComplexMetadataObject(objectStore, "PermissionCondition_Object", MetadataObjects.PERMISSIONCONDITION, "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_OWNINGACCESSCONTROLENTRY_NAME
Constant used for the name of the OwningAccessControlEntry association. |
static java.lang.String |
ATTRIBUTE_TEXT_NAME
Constant used for the name of the Text 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 AccessControlEntry |
getOwningAccessControlEntry()
Gets the AccessControlEntry for OwningAccessControlEntry |
abstract AssociationList |
getOwningAccessControlEntrys()
Gets the AssociationList of OwningAccessControlEntrys |
abstract AssociationList |
getOwningAccessControlEntrys(boolean fGoToServer)
Gets the Associationlist of OwningAccessControlEntrys |
abstract java.lang.String |
getText()
Gets the String value of Text |
abstract int |
getTextMaxLength()
Gets the maximum length of Text |
abstract int |
getTextState()
Gets the Metadata State of Text |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: OwningAccessControlEntry |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningAccessControlEntry |
abstract void |
setOwningAccessControlEntry(AccessControlEntry inObject)
Sets the OwningAccessControlEntrys list 0th element to be inObject. |
abstract void |
setOwningAccessControlEntrys(AssociationList list)
Sets the OwningAccessControlEntrys list to be list. |
abstract void |
setOwningAccessControlEntrys(AssociationList list,
int state)
Sets the OwningAccessControlEntrys list to be list. |
abstract void |
setText(java.lang.String inText)
Sets the Text value and sets the state to MetadataState.LOCAL. |
abstract void |
setText(java.lang.String inText,
int state)
Sets the Text Metadata State. |
abstract void |
setTextState(int state)
Sets the Metadata State of Text. |
| 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_TEXT_NAME
Text: Condition expression.
static final java.lang.String ASSOCIATION_OWNINGACCESSCONTROLENTRY_NAME
OwningAccessControlEntry: The access control entry that uses this condition.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
OwningAccessControlEntry
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
OwningAccessControlEntry
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface RootinitializePredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getText()
throws java.rmi.RemoteException
String value of Text
Text
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTextState()
throws java.rmi.RemoteException
Text
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTextMaxLength()
throws java.rmi.RemoteException
Text
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getOwningAccessControlEntrys()
throws java.rmi.RemoteException,
MdException
OwningAccessControlEntrys
OwningAccessControlEntrys which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
AccessControlEntry getOwningAccessControlEntry()
throws java.rmi.RemoteException,
MdException
AccessControlEntry for OwningAccessControlEntry
AccessControlEntry ( null if not set) of OwningAccessControlEntrywhich 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 getOwningAccessControlEntrys(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
OwningAccessControlEntrys
fGoToServer - boolean Get the value from the server.
OwningAccessControlEntrys 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 setText(java.lang.String inText)
throws java.rmi.RemoteException
Text value and sets the state to MetadataState.LOCAL.
inText - String
java.rmi.RemoteException - If error communicating with remote object.
void setText(java.lang.String inText,
int state)
throws java.rmi.RemoteException
Text Metadata State.
inText - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTextState(int state)
throws java.rmi.RemoteException
Text.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setOwningAccessControlEntrys(AssociationList list)
throws java.rmi.RemoteException
OwningAccessControlEntrys list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setOwningAccessControlEntrys(AssociationList list,
int state)
throws java.rmi.RemoteException
OwningAccessControlEntrys list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setOwningAccessControlEntry(AccessControlEntry inObject)
throws java.rmi.RemoteException
OwningAccessControlEntrys list 0th element to be inObject.
inObject - AccessControlEntry
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 | |||||||||||||