|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") @BinaryCompatibilityOnly public interface FileInterface
| Field Summary |
|---|
| 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 | |
|---|---|
abstract void |
addDirectory(DirectoryInterface directory)
Add a directory to this file's list of associated directories. |
abstract void |
addScriptedConnection(SASClientConnectionInterface connection)
Add a SASClientConnection to the list of connections that this script executes for. |
abstract java.util.List |
getDirectories()
Get the list of Directories associated with this File. |
abstract java.lang.String |
getFileExtension()
Get the file extension. |
abstract java.lang.String |
getFileName()
Get the file name string. |
abstract java.util.List |
getScriptedConnections()
If this is a connection script, get the list of connections it runs for. |
abstract java.lang.String |
getTextRole()
Set the text role for the file. |
abstract java.lang.String |
getTextType()
Get the file's text type. |
abstract boolean |
isARelativeName()
Get the boolean flag indicating if the file name is relative. |
abstract void |
removeDirectory(DirectoryInterface directory)
Remove this file from a Directory. |
abstract void |
removeScriptedConnection(SASClientConnectionInterface connection)
Remove a SASClientConnection from the list of connections that this script executes for. |
abstract void |
setDirectories(java.util.List directories)
Set the list of directories that this file is in. |
abstract void |
setFileExtension(java.lang.String extension)
Set the file extension. |
abstract void |
setFileName(java.lang.String name)
Set the file name string. |
abstract void |
setIsARelativeName(boolean isRelative)
Set the flag indicating the file name is relative to the directory path. |
abstract void |
setScriptedConnections(java.util.List connections)
Set the list of scripted connection this script executes for. |
abstract void |
setTextRole(java.lang.String textRole)
Set the text role for the file. |
abstract void |
setTextType(java.lang.String textType)
Set the file's text type. |
| Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
|---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
| Method Detail |
|---|
boolean isARelativeName()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setIsARelativeName(boolean isRelative)
throws ServiceException,
java.rmi.RemoteException
isRelative - true if the file name is relative, false otherwise.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.lang.String getFileName()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setFileName(java.lang.String name)
throws ServiceException,
java.rmi.RemoteException
name - The new file name.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.lang.String getFileExtension()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setFileExtension(java.lang.String extension)
throws ServiceException,
java.rmi.RemoteException
extension - The new extension string.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.lang.String getTextRole()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setTextRole(java.lang.String textRole)
throws ServiceException,
java.rmi.RemoteException
textRole - The text role string.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.lang.String getTextType()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setTextType(java.lang.String textType)
throws ServiceException,
java.rmi.RemoteException
textType - The file's text type string.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.util.List getDirectories()
throws ServiceException,
java.rmi.RemoteException
DirectoryInterface objects associated with this File.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void addDirectory(DirectoryInterface directory)
throws ServiceException,
java.rmi.RemoteException
directory - A DirectoryInterface object this file is in.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void removeDirectory(DirectoryInterface directory)
throws ServiceException,
java.rmi.RemoteException
directory - A DirectoryInterface object that this File is being removed from.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setDirectories(java.util.List directories)
throws ServiceException,
java.rmi.RemoteException
directories - A List of DirectoryInterface objects that this file is in.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.util.List getScriptedConnections()
throws ServiceException,
java.rmi.RemoteException
SASClientConnectionInterface objects that this script executes for.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void addScriptedConnection(SASClientConnectionInterface connection)
throws ServiceException,
java.rmi.RemoteException
connection - A new connection to add to the scripted connections list.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void removeScriptedConnection(SASClientConnectionInterface connection)
throws ServiceException,
java.rmi.RemoteException
connection - The connection to remove from the scripted connections list.
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setScriptedConnections(java.util.List connections)
throws ServiceException,
java.rmi.RemoteException
connections - The list of SASClientConnectionInterface objects that this file
acts as a script for.
ServiceException - If a server 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 | |||||||||||||