|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface SecuredLibrary
Describes a SAS Base library that relies on the SAS Metadata Server to authorize access by users and groups. The permissions that administrators define on the SecuredLibrary object control user rights to create tables in the library and set default Drop Table, Alter Table, Read Rows, Insert Rows, Update Rows, and Delete Rows permissions for all tables in the library.
Attributes of SecuredLibrary are:
Associations of SecuredLibrary 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(); SecuredLibrary myObject = (SecuredLibrary) factory.createComplexMetadataObject(objectStore, "SecuredLibrary_Object", MetadataObjects.SECUREDLIBRARY, "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_DEFAULTPASSWORDS_NAME
Constant used for the name of the DefaultPasswords association. |
static java.lang.String |
ATTRIBUTE_ENCRYPT_NAME
Constant used for the name of the Encrypt attribute. |
| Fields inherited from interface com.sas.metadata.remote.SASLibrary |
|---|
ASSOCIATION_DEFAULTLOGIN_NAME, ASSOCIATION_LIBRARYCONNECTION_NAME, ASSOCIATION_SASCATALOGS_NAME, ATTRIBUTE_ENGINE_NAME, ATTRIBUTE_ISDBMSLIBNAME_NAME, ATTRIBUTE_ISPREASSIGNED_NAME, ATTRIBUTE_LIBREF_NAME |
| Fields inherited from interface com.sas.metadata.remote.RelationalSchema |
|---|
ASSOCIATION_SCHEMAPACKAGE_NAME, ASSOCIATION_TABLES_NAME |
| Fields inherited from interface com.sas.metadata.remote.DeployedDataPackage |
|---|
ASSOCIATION_ALIASES_NAME, ASSOCIATION_ALIASFOR_NAME, ASSOCIATION_DEPLOYEDCOMPONENTS_NAME, ASSOCIATION_TABLECOLLECTIONS_NAME, ASSOCIATION_USEDBYPACKAGES_NAME, ASSOCIATION_USINGPACKAGES_NAME |
| 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 | |
|---|---|
AssociationList |
getDefaultPasswords()
Gets the Association list of DefaultPasswords |
AssociationList |
getDefaultPasswords(boolean fGoToServer)
Gets the Associationlist of DefaultPasswords |
java.lang.String |
getEncrypt()
Gets the String value of Encrypt |
int |
getEncryptMaxLength()
Gets the maximum length of Encrypt |
int |
getEncryptState()
Gets the Metadata State of Encrypt |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setDefaultPasswords(AssociationList list)
Sets the DefaultPasswords list to be list. |
void |
setDefaultPasswords(AssociationList inObjects,
int state)
Sets the entire DefaultPasswords list to match the passed in AssociationList, sets the state of the DefaultPasswords |
void |
setEncrypt(java.lang.String inEncrypt)
Sets the Encrypt value and sets the state to MetadataState.LOCAL. |
void |
setEncrypt(java.lang.String inEncrypt,
int state)
Sets the Encrypt Metadata State. |
void |
setEncryptState(int state)
Sets the Metadata State of Encrypt. |
| Methods inherited from interface com.sas.metadata.remote.RelationalSchema |
|---|
getSchemaPackage, getSchemaPackages, getSchemaPackages, getTables, getTables, setSchemaPackage, setSchemaPackages, setSchemaPackages, setTables, setTables |
| Methods inherited from interface com.sas.metadata.remote.DeployedDataPackage |
|---|
getAliases, getAliases, getAliasFor, getAliasFors, getAliasFors, getDeployedComponents, getDeployedComponents, getTableCollections, getTableCollections, getUsedByPackages, getUsedByPackages, getUsingPackages, getUsingPackages, setAliases, setAliases, setAliasFor, setAliasFors, setAliasFors, setDeployedComponents, setDeployedComponents, setTableCollections, setTableCollections, setUsedByPackages, setUsedByPackages, setUsingPackages, setUsingPackages |
| 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_ENCRYPT_NAME
Encrypt: The encrypt value for this secured library. Valid values are Y (Yes), N (No), or R (Required).
static final java.lang.String ASSOCIATION_DEFAULTPASSWORDS_NAME
DefaultPasswords: The default passwords used by this secured library.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface DeployedDataPackageinitializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface RelationalSchemainitializeRequiredObjects in interface RootinitializeRequiredObjects in interface SASLibraryjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
initializePredObjects in interface DeployedDataPackageinitializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface RelationalSchemainitializePredObjects in interface RootinitializePredObjects in interface SASLibraryjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getEncrypt()
throws java.rmi.RemoteException
String value of Encrypt
Encrypt
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getEncryptState()
throws java.rmi.RemoteException
Encrypt
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getEncryptMaxLength()
throws java.rmi.RemoteException
Encrypt
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getDefaultPasswords()
throws java.rmi.RemoteException,
MdException
DefaultPasswords
DefaultPasswords 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 getDefaultPasswords(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
DefaultPasswords
fGoToServer - boolean Get the value from the server.
DefaultPasswords 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 setEncrypt(java.lang.String inEncrypt)
throws java.rmi.RemoteException
Encrypt value and sets the state to MetadataState.LOCAL.
inEncrypt - String
java.rmi.RemoteException - If error communicating with remote object.
void setEncrypt(java.lang.String inEncrypt,
int state)
throws java.rmi.RemoteException
Encrypt Metadata State.
inEncrypt - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setEncryptState(int state)
throws java.rmi.RemoteException
Encrypt.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setDefaultPasswords(AssociationList list)
throws java.rmi.RemoteException
DefaultPasswords list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setDefaultPasswords(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 | |||||||||||||