|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityTypeContainmentRule
A SecurityTypeContainmentRule tells the authorization facility how to find parent objects for a particular metadata type. There may be more than one rule for any class.
Attributes of SecurityTypeContainmentRule are:
Associations of SecurityTypeContainmentRule 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(); SecurityTypeContainmentRule myObject = (SecurityTypeContainmentRule) factory.createComplexMetadataObject(objectStore, "SecurityTypeContainmentRule_Object", MetadataObjects.SECURITYTYPECONTAINMENTRULE, "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_TYPENAME_NAME
Constant used for the name of the TypeName attribute. |
Fields inherited from interface com.sas.metadata.remote.SecurityRule |
---|
ASSOCIATION_SECRULESCHEME_NAME, ATTRIBUTE_RULE_NAME, ATTRIBUTE_TYPE_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 |
getTypeName()
Gets the String value of TypeName |
int |
getTypeNameMaxLength()
Gets the maximum length of TypeName |
int |
getTypeNameState()
Gets the Metadata State of TypeName |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setTypeName(java.lang.String inTypeName)
Sets the TypeName value and sets the state to MetadataState.LOCAL. |
void |
setTypeName(java.lang.String inTypeName,
int state)
Sets the TypeName Metadata State. |
void |
setTypeNameState(int state)
Sets the Metadata State of TypeName . |
Methods inherited from interface com.sas.metadata.remote.SecurityRule |
---|
getRule, getRuleMaxLength, getRuleState, getSecRuleScheme, getSecRuleSchemes, getSecRuleSchemes, getType, getTypeMaxLength, getTypeState, setRule, setRule, setRuleState, setSecRuleScheme, setSecRuleSchemes, setSecRuleSchemes, setType, setType, setTypeState |
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_TYPENAME_NAME
TypeName: Name of metadata type for which this rule applies.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface SecondaryType
initializeRequiredObjects
in interface SecurityRule
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
initializePredObjects
in interface SecurityRule
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getTypeName() throws java.rmi.RemoteException
String
value of TypeName
TypeName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getTypeNameState() throws java.rmi.RemoteException
TypeName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getTypeNameMaxLength() throws java.rmi.RemoteException
TypeName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void setTypeName(java.lang.String inTypeName) throws java.rmi.RemoteException
TypeName
value and sets the state to MetadataState.LOCAL.
inTypeName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setTypeName(java.lang.String inTypeName, int state) throws java.rmi.RemoteException
TypeName
Metadata State.
inTypeName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTypeNameState(int state) throws java.rmi.RemoteException
TypeName
.
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 |