|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SASLibraryInterface
Field Summary | |
---|---|
static java.lang.String |
ENGINE_KEY
Key used to obtain the engine name from a library assignment Map created by genAssignLibrefMap |
static java.lang.String |
NAME_KEY
Key used to obtain the libref name from a library assignment Map created by genAssignLibrefMap |
static java.lang.String |
OPTIONS_KEY
Key used to obtain the options parameter of a library assignment Map created by genAssignLibrefMap |
static java.lang.String |
PATH_KEY
Key used to obtain the library path name from a library assignment Map created by genAssignLibrefMap |
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
Method Summary | |
---|---|
java.lang.String |
generateLibref()
Generate a SAS Libref statement for this library. |
java.lang.String |
generateLibref(java.lang.String prompt,
boolean encodePasswords,
boolean genFilenameForXMLLibs,
boolean ignorePreassigned)
Generate a SAS Libref statement for this library. |
java.util.Map |
generateLibrefMap(java.lang.String prompt,
boolean encodePasswords,
boolean genFilenameForXMLLibs,
boolean ignorePreassigned,
java.lang.String overrideLibname)
Generate a library assignment java.util.Map for a SASLibrary stored in metadata. |
java.lang.String |
getEngine()
Get the SAS engine name. |
java.lang.String |
getLibref()
Get the SAS libref string. |
java.util.List |
getPhysicalTables()
Return just the PhysicalTableInterface objects that are associated to this library. |
com.sas.services.information.metadata.SASLibraryInterface.PreAssignmentType |
getPreAssignmentType()
Gets the PreAssignment type of the library |
java.util.List |
getWorkspaceServers()
Returns a List of Logical workspace servers that can access this SASLibrary. |
boolean |
isDBMSLibname()
Does this SASLibrary represent a DBMS libname. |
boolean |
isPreassigned()
Is this SASLibrary preassigned. |
void |
setEngine(java.lang.String engine)
Set the engine string for the SASLibrary. |
void |
setIsDBMSLibname(boolean value)
Set the value of the isDMBSLibname attribute. |
void |
setIsPreassigned(boolean flag)
Set the flag indicating if the SASLibrary is preassigned or not. |
void |
setLibref(java.lang.String libref)
Set the libref string for the library. |
void |
setPreAssignmentType(com.sas.services.information.metadata.SASLibraryInterface.PreAssignmentType type)
Sets the PreAssignment type of the Library |
Methods inherited from interface com.sas.services.information.metadata.RelationalSchemaInterface |
---|
addTable, getDatabaseCatalog, getTables, removeTable, setDatabaseCatalog |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Field Detail |
---|
static final java.lang.String NAME_KEY
static final java.lang.String ENGINE_KEY
static final java.lang.String PATH_KEY
static final java.lang.String OPTIONS_KEY
Method Detail |
---|
boolean isDBMSLibname() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setIsDBMSLibname(boolean value) throws ServiceException, java.rmi.RemoteException
value
- The new value of isDMBSLibname.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.lang.String getEngine() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setEngine(java.lang.String engine) throws ServiceException, java.rmi.RemoteException
engine
- The String representing the engine.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.lang.String getLibref() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setLibref(java.lang.String libref) throws ServiceException, java.rmi.RemoteException
libref
- The new libref string.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.boolean isPreassigned() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setIsPreassigned(boolean flag) throws ServiceException, java.rmi.RemoteException
flag
- true if the library should be preassigned. False otherwise.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.lang.String generateLibref() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.lang.String generateLibref(java.lang.String prompt, boolean encodePasswords, boolean genFilenameForXMLLibs, boolean ignorePreassigned) throws ServiceException, java.rmi.RemoteException
prompt
- A prompt string to use if a challenge callback is set up and
credentials are required from the user.encodePasswords
- True to encode any passwords in the libref.genFilenameForXMLLibs
- True to generate file names for XML libraries.ignorePreassigned
- True to ignore preassigned libname information.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.Map generateLibrefMap(java.lang.String prompt, boolean encodePasswords, boolean genFilenameForXMLLibs, boolean ignorePreassigned, java.lang.String overrideLibname) throws ServiceException, java.rmi.RemoteException
prompt
- A prompt string to use if a challenge callback is set up and
credentials are required from the user.encodePasswords
- True to encode any passwords in the libref.genFilenameForXMLLibs
- True to generate file names for XML libraries.ignorePreassigned
- True to ignore preassigned libname information.overrideLibname
- override for the default libref name associated with this library
or null
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getPhysicalTables() throws ServiceException, java.rmi.RemoteException
PhysicalTableInterface
objects that are associated to this library.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getWorkspaceServers() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setPreAssignmentType(com.sas.services.information.metadata.SASLibraryInterface.PreAssignmentType type) throws ServiceException, java.rmi.RemoteException
type
-
ServiceException
- - If a repository error occurs.
java.rmi.RemoteException
- - In the event of remote object failure.com.sas.services.information.metadata.SASLibraryInterface.PreAssignmentType getPreAssignmentType() throws ServiceException, java.rmi.RemoteException
ServiceException
- - If a repository error occurs.
java.rmi.RemoteException
- - In the event of remote object failure.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |