|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface SecurityRuleScheme
This class is used to group SecurityRules into a unit. The rules in a scheme were generally created together and will most likely need to be deleted together. The SecurityScheme provides the common link needed to facilitate this functionality.
Attributes of SecurityRuleScheme are:
Associations of SecurityRuleScheme 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(); SecurityRuleScheme myObject = (SecurityRuleScheme) factory.createComplexMetadataObject(objectStore, "SecurityRuleScheme_Object", MetadataObjects.SECURITYRULESCHEME, "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_SECRULES_NAME
Constant used for the name of the SecRules association. |
static java.lang.String |
ATTRIBUTE_TYPE_NAME
Constant used for the name of the Type 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 | |
|---|---|
abstract AssociationList |
getSecRules()
Gets the Association list of SecRules |
abstract AssociationList |
getSecRules(boolean fGoToServer)
Gets the Associationlist of SecRules |
abstract java.lang.String |
getType()
Gets the String value of Type |
abstract int |
getTypeMaxLength()
Gets the maximum length of Type |
abstract int |
getTypeState()
Gets the Metadata State of Type |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setSecRules(AssociationList list)
Sets the SecRules list to be list. |
abstract void |
setSecRules(AssociationList inObjects,
int state)
Sets the entire SecRules list to match the passed in AssociationList, sets the state of the SecRules |
abstract void |
setType(java.lang.String inType)
Sets the Type value and sets the state to MetadataState.LOCAL. |
abstract void |
setType(java.lang.String inType,
int state)
Sets the Type Metadata State. |
abstract void |
setTypeState(int state)
Sets the Metadata State of Type. |
| 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_TYPE_NAME
Type: Type of rules in this scheme.
static final java.lang.String ASSOCIATION_SECRULES_NAME
SecRules: The security rules that are part of this scheme.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getType()
throws java.rmi.RemoteException
String value of Type
Type
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTypeState()
throws java.rmi.RemoteException
Type
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTypeMaxLength()
throws java.rmi.RemoteException
Type
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getSecRules()
throws java.rmi.RemoteException,
MdException
SecRules
SecRules 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 getSecRules(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
SecRules
fGoToServer - boolean Get the value from the server.
SecRules 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 setType(java.lang.String inType)
throws java.rmi.RemoteException
Type value and sets the state to MetadataState.LOCAL.
inType - String
java.rmi.RemoteException - If error communicating with remote object.
void setType(java.lang.String inType,
int state)
throws java.rmi.RemoteException
Type Metadata State.
inType - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTypeState(int state)
throws java.rmi.RemoteException
Type.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setSecRules(AssociationList list)
throws java.rmi.RemoteException
SecRules list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setSecRules(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 | |||||||||||||