|
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 | |
---|---|
AccessControlEntry |
getOwningAccessControlEntry()
Gets the AccessControlEntry for OwningAccessControlEntry |
AssociationList |
getOwningAccessControlEntrys()
Gets the AssociationList of OwningAccessControlEntrys |
AssociationList |
getOwningAccessControlEntrys(boolean fGoToServer)
Gets the Associationlist of OwningAccessControlEntrys |
java.lang.String |
getText()
Gets the String value of Text |
int |
getTextMaxLength()
Gets the maximum length of Text |
int |
getTextState()
Gets the Metadata State of Text |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: OwningAccessControlEntry |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningAccessControlEntry |
void |
setOwningAccessControlEntry(AccessControlEntry inObject)
Sets the OwningAccessControlEntrys list 0th element to be inObject . |
void |
setOwningAccessControlEntrys(AssociationList list)
Sets the OwningAccessControlEntrys list to be list . |
void |
setOwningAccessControlEntrys(AssociationList list,
int state)
Sets the OwningAccessControlEntrys list to be list . |
void |
setText(java.lang.String inText)
Sets the Text value and sets the state to MetadataState.LOCAL. |
void |
setText(java.lang.String inText,
int state)
Sets the Text Metadata State. |
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 MdObjectBaseUtil
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
OwningAccessControlEntry
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
java.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 OwningAccessControlEntry
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 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 |