|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
---|---|
void |
addDirectory(DirectoryInterface directory)
Add a directory to this file's list of associated directories. |
void |
addScriptedConnection(SASClientConnectionInterface connection)
Add a SASClientConnection to the list of connections that this script executes for. |
java.util.List |
getDirectories()
Get the list of Directories associated with this File. |
java.lang.String |
getFileExtension()
Get the file extension. |
java.lang.String |
getFileName()
Get the file name string. |
java.util.List |
getScriptedConnections()
If this is a connection script, get the list of connections it runs for. |
java.lang.String |
getTextRole()
Set the text role for the file. |
java.lang.String |
getTextType()
Get the file's text type. |
boolean |
isARelativeName()
Get the boolean flag indicating if the file name is relative. |
void |
removeDirectory(DirectoryInterface directory)
Remove this file from a Directory. |
void |
removeScriptedConnection(SASClientConnectionInterface connection)
Remove a SASClientConnection from the list of connections that this script executes for. |
void |
setDirectories(java.util.List directories)
Set the list of directories that this file is in. |
void |
setFileExtension(java.lang.String extension)
Set the file extension. |
void |
setFileName(java.lang.String name)
Set the file name string. |
void |
setIsARelativeName(boolean isRelative)
Set the flag indicating the file name is relative to the directory path. |
void |
setScriptedConnections(java.util.List connections)
Set the list of scripted connection this script executes for. |
void |
setTextRole(java.lang.String textRole)
Set the text role for the file. |
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 |