|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface SASPassword
Represents the storage of SAS passwords for SAS tables or connections. There will be one of these for each type of password associated with a file.
Attributes of SASPassword are:
Associations of SASPassword are:
AssociatedSecuredLibraryProtectedConnectionsProtectedPassthrusProtectedTableTSAssociatedNamespacefactory
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(); SASPassword myObject = (SASPassword) factory.createComplexMetadataObject(objectStore, "SASPassword_Object", MetadataObjects.SASPASSWORD, "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_ASSOCIATEDSECUREDLIBRARY_NAME
Constant used for the name of the AssociatedSecuredLibrary association. |
static java.lang.String |
ASSOCIATION_PROTECTEDCONNECTIONS_NAME
Constant used for the name of the ProtectedConnections association. |
static java.lang.String |
ASSOCIATION_PROTECTEDPASSTHRUS_NAME
Constant used for the name of the ProtectedPassthrus association. |
static java.lang.String |
ASSOCIATION_PROTECTEDTABLE_NAME
Constant used for the name of the ProtectedTable association. |
static java.lang.String |
ASSOCIATION_TSASSOCIATEDNAMESPACE_NAME
Constant used for the name of the TSAssociatedNamespace association. |
static java.lang.String |
ATTRIBUTE_ENCRYPTION_NAME
Constant used for the name of the Encryption attribute. |
static java.lang.String |
ATTRIBUTE_PASSWORD_NAME
Constant used for the name of the Password attribute. |
static java.lang.String |
ATTRIBUTE_TYPE_NAME
Constant used for the name of the Type 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 | |
|---|---|
SecuredLibrary |
getAssociatedSecuredLibrary()
Gets the SecuredLibrary for AssociatedSecuredLibrary |
AssociationList |
getAssociatedSecuredLibrarys()
Gets the AssociationList of AssociatedSecuredLibrarys |
AssociationList |
getAssociatedSecuredLibrarys(boolean fGoToServer)
Gets the Associationlist of AssociatedSecuredLibrarys |
java.lang.String |
getEncryption()
Gets the String value of Encryption |
int |
getEncryptionMaxLength()
Gets the maximum length of Encryption |
int |
getEncryptionState()
Gets the Metadata State of Encryption |
java.lang.String |
getPassword()
Gets the String value of Password |
int |
getPasswordMaxLength()
Gets the maximum length of Password |
int |
getPasswordState()
Gets the Metadata State of Password |
AssociationList |
getProtectedConnections()
Gets the Association list of ProtectedConnections |
AssociationList |
getProtectedConnections(boolean fGoToServer)
Gets the Associationlist of ProtectedConnections |
AssociationList |
getProtectedPassthrus()
Gets the Association list of ProtectedPassthrus |
AssociationList |
getProtectedPassthrus(boolean fGoToServer)
Gets the Associationlist of ProtectedPassthrus |
PhysicalTable |
getProtectedTable()
Gets the PhysicalTable for ProtectedTable |
AssociationList |
getProtectedTables()
Gets the Association list of ProtectedTables |
AssociationList |
getProtectedTables(boolean fGoToServer)
Gets the Associationlist of ProtectedTables |
TSNamespace |
getTSAssociatedNamespace()
Gets the TSNamespace for TSAssociatedNamespace |
AssociationList |
getTSAssociatedNamespaces()
Gets the Association list of TSAssociatedNamespaces |
AssociationList |
getTSAssociatedNamespaces(boolean fGoToServer)
Gets the Associationlist of TSAssociatedNamespaces |
java.lang.String |
getType()
Gets the String value of Type |
int |
getTypeMaxLength()
Gets the maximum length of Type |
int |
getTypeState()
Gets the Metadata State of Type |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AssociatedSecuredLibrary |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAssociatedSecuredLibrary(SecuredLibrary inObject)
Sets the AssociatedSecuredLibrarys list 0th element to be inObject. |
void |
setAssociatedSecuredLibrarys(AssociationList list)
Sets the AssociatedSecuredLibrarys list to be list. |
void |
setAssociatedSecuredLibrarys(AssociationList list,
int state)
Sets the AssociatedSecuredLibrarys list to be list. |
void |
setEncryption(java.lang.String inEncryption)
Sets the Encryption value and sets the state to MetadataState.LOCAL. |
void |
setEncryption(java.lang.String inEncryption,
int state)
Sets the Encryption Metadata State. |
void |
setEncryptionState(int state)
Sets the Metadata State of Encryption. |
void |
setPassword(java.lang.String inPassword)
Sets the Password value and sets the state to MetadataState.LOCAL. |
void |
setPassword(java.lang.String inPassword,
int state)
Sets the Password Metadata State. |
void |
setPasswordState(int state)
Sets the Metadata State of Password. |
void |
setProtectedConnections(AssociationList list)
Sets the ProtectedConnections list to be list. |
void |
setProtectedConnections(AssociationList inObjects,
int state)
Sets the entire ProtectedConnections list to match the passed in AssociationList, sets the state of the ProtectedConnections |
void |
setProtectedPassthrus(AssociationList list)
Sets the ProtectedPassthrus list to be list. |
void |
setProtectedPassthrus(AssociationList inObjects,
int state)
Sets the entire ProtectedPassthrus list to match the passed in AssociationList, sets the state of the ProtectedPassthrus |
void |
setProtectedTable(PhysicalTable inObject)
Sets the ProtectedTables list 0th element to be inObject. |
void |
setProtectedTables(AssociationList list)
Sets the ProtectedTables list to be list. |
void |
setProtectedTables(AssociationList list,
int state)
Sets the ProtectedTables list to be list. |
void |
setTSAssociatedNamespace(TSNamespace inObject)
Sets the TSAssociatedNamespaces list 0th element to be inObject. |
void |
setTSAssociatedNamespaces(AssociationList list)
Sets the TSAssociatedNamespaces list to be list. |
void |
setTSAssociatedNamespaces(AssociationList list,
int state)
Sets the TSAssociatedNamespaces list to be list. |
void |
setType(java.lang.String inType)
Sets the Type value and sets the state to MetadataState.LOCAL. |
void |
setType(java.lang.String inType,
int state)
Sets the Type Metadata State. |
void |
setTypeState(int state)
Sets the Metadata State of Type. |
| 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_PASSWORD_NAME
Password: Password
static final java.lang.String ATTRIBUTE_TYPE_NAME
Type: The type of the SAS password for the table. Values are: READ, WRITE, ALTER, ALL, SASPW
static final java.lang.String ATTRIBUTE_ENCRYPTION_NAME
Encryption: Encryption
static final java.lang.String ASSOCIATION_ASSOCIATEDSECUREDLIBRARY_NAME
AssociatedSecuredLibrary: The associated secured library that uses this password.
static final java.lang.String ASSOCIATION_PROTECTEDCONNECTIONS_NAME
ProtectedConnections: The connection for protected servers.
static final java.lang.String ASSOCIATION_PROTECTEDPASSTHRUS_NAME
ProtectedPassthrus: The connection for protected passthrus.
static final java.lang.String ASSOCIATION_PROTECTEDTABLE_NAME
ProtectedTable: The table associated with this password.
static final java.lang.String ASSOCIATION_TSASSOCIATEDNAMESPACE_NAME
TSAssociatedNamespace: The table server namespaces that use this access key.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
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
AssociatedSecuredLibrary
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface RootinitializePredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getPassword()
throws java.rmi.RemoteException
String value of Password
Password
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getPasswordState()
throws java.rmi.RemoteException
Password
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getPasswordMaxLength()
throws java.rmi.RemoteException
Password
java.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.
java.lang.String getEncryption()
throws java.rmi.RemoteException
String value of Encryption
Encryption
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getEncryptionState()
throws java.rmi.RemoteException
Encryption
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getEncryptionMaxLength()
throws java.rmi.RemoteException
Encryption
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getAssociatedSecuredLibrarys()
throws java.rmi.RemoteException,
MdException
AssociatedSecuredLibrarys
AssociatedSecuredLibrarys which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
SecuredLibrary getAssociatedSecuredLibrary()
throws java.rmi.RemoteException,
MdException
SecuredLibrary for AssociatedSecuredLibrary
SecuredLibrary ( null if not set) of AssociatedSecuredLibrarywhich 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 getProtectedConnections()
throws java.rmi.RemoteException,
MdException
ProtectedConnections
ProtectedConnections 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 getProtectedPassthrus()
throws java.rmi.RemoteException,
MdException
ProtectedPassthrus
ProtectedPassthrus 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 getProtectedTables()
throws java.rmi.RemoteException,
MdException
ProtectedTables
ProtectedTables 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.
PhysicalTable getProtectedTable()
throws java.rmi.RemoteException,
MdException
PhysicalTable for ProtectedTable
PhysicalTable ( null if not set ) of ProtectedTable 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 getTSAssociatedNamespaces()
throws java.rmi.RemoteException,
MdException
TSAssociatedNamespaces
TSAssociatedNamespaces 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.
TSNamespace getTSAssociatedNamespace()
throws java.rmi.RemoteException,
MdException
TSNamespace for TSAssociatedNamespace
TSNamespace ( null if not set ) of TSAssociatedNamespace 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 getAssociatedSecuredLibrarys(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
AssociatedSecuredLibrarys
fGoToServer - boolean Get the value from the server.
AssociatedSecuredLibrarys 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 getProtectedConnections(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
ProtectedConnections
fGoToServer - boolean Get the value from the server.
ProtectedConnections 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 getProtectedPassthrus(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
ProtectedPassthrus
fGoToServer - boolean Get the value from the server.
ProtectedPassthrus 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 getProtectedTables(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
ProtectedTables
fGoToServer - boolean Get the value from the server.
ProtectedTables 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 getTSAssociatedNamespaces(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
TSAssociatedNamespaces
fGoToServer - boolean Get the value from the server.
TSAssociatedNamespaces 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 setPassword(java.lang.String inPassword)
throws java.rmi.RemoteException
Password value and sets the state to MetadataState.LOCAL.
inPassword - String
java.rmi.RemoteException - If error communicating with remote object.
void setPassword(java.lang.String inPassword,
int state)
throws java.rmi.RemoteException
Password Metadata State.
inPassword - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setPasswordState(int state)
throws java.rmi.RemoteException
Password.
state - int
java.rmi.RemoteException - If error communicating with remote 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 setEncryption(java.lang.String inEncryption)
throws java.rmi.RemoteException
Encryption value and sets the state to MetadataState.LOCAL.
inEncryption - String
java.rmi.RemoteException - If error communicating with remote object.
void setEncryption(java.lang.String inEncryption,
int state)
throws java.rmi.RemoteException
Encryption Metadata State.
inEncryption - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setEncryptionState(int state)
throws java.rmi.RemoteException
Encryption.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedSecuredLibrarys(AssociationList list)
throws java.rmi.RemoteException
AssociatedSecuredLibrarys list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedSecuredLibrarys(AssociationList list,
int state)
throws java.rmi.RemoteException
AssociatedSecuredLibrarys list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedSecuredLibrary(SecuredLibrary inObject)
throws java.rmi.RemoteException
AssociatedSecuredLibrarys list 0th element to be inObject.
inObject - SecuredLibrary
java.rmi.RemoteException - If error communicating with remote object.
void setProtectedConnections(AssociationList list)
throws java.rmi.RemoteException
ProtectedConnections list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setProtectedConnections(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setProtectedPassthrus(AssociationList list)
throws java.rmi.RemoteException
ProtectedPassthrus list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setProtectedPassthrus(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setProtectedTables(AssociationList list)
throws java.rmi.RemoteException
ProtectedTables list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setProtectedTables(AssociationList list,
int state)
throws java.rmi.RemoteException
ProtectedTables list to be list. Objects of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setProtectedTable(PhysicalTable inObject)
throws java.rmi.RemoteException
ProtectedTables list 0th element to be inObject.
inObject - PhysicalTable
java.rmi.RemoteException - If error communicating with remote object.
void setTSAssociatedNamespaces(AssociationList list)
throws java.rmi.RemoteException
TSAssociatedNamespaces list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setTSAssociatedNamespaces(AssociationList list,
int state)
throws java.rmi.RemoteException
TSAssociatedNamespaces list to be list. Objects of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTSAssociatedNamespace(TSNamespace inObject)
throws java.rmi.RemoteException
TSAssociatedNamespaces list 0th element to be inObject.
inObject - TSNamespace
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 | |||||||||||||