|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface DirectoryInterface
This interface represents a repository neutral accessor class for a Directory object in a metadata repository.
| 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 |
addFile(MetadataInterface file)
Add a file to this directory. |
void |
addServer(MetadataInterface server)
Add a server to the list that has access to this directory. |
java.lang.String |
getAbsolutePath()
Get the full path for this directory. |
java.lang.String |
getDirectoryRole()
Get the DirectoryRole attribute. |
java.lang.String |
getFilePath()
Return the path string for this directory. |
java.util.List |
getFiles()
Get a list of files in this directory. |
DirectoryInterface |
getParentDirectory()
Get the parent DirectoryInterface object for this directory. |
java.util.List |
getServers()
Get a list of servers that are associated with this directory. |
java.util.List |
getSubdirectories()
Get the subdirectories for this directory. |
boolean |
isBasePath()
Get flag indicating if this Directory is an HTTP server base path |
boolean |
isDavEnabled()
Get flag indicating if this Directory is DAV enabled. |
boolean |
isRelative()
Return a flag indicating if this Directory object represents a relative path. |
void |
removeFile(MetadataInterface file)
Remove a file from this directory. |
void |
removeServer(MetadataInterface server)
Remove a server from the list that has access to this Directory. |
void |
setDirectoryRole(java.lang.String role)
Set the DirectoryRole attribute. |
void |
setIsBasePath(boolean value)
Set the flag indicating if this Directory is a valid base for an HTTP server. |
void |
setIsDavEnabled(boolean value)
Set the flag indicating if this directory is DAV enabled. |
void |
setIsRelative(boolean flag)
Set the flag indicating this directory is relative to another directory object. |
void |
setParentDirectory(DirectoryInterface parent)
Set the parent directory of this directory. |
void |
setPath(java.lang.String path)
Set the path string for the directory. |
| Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
|---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
| Method Detail |
|---|
java.lang.String getFilePath()
throws ServiceException,
java.rmi.RemoteException
ServiceException - if a repository error occurs
java.rmi.RemoteException - in the event of remote object failure.
void setPath(java.lang.String path)
throws ServiceException,
java.rmi.RemoteException
path - The new path string.
ServiceException - if a repository error occurs.
java.rmi.RemoteException - in the event of remote object failure.
boolean isRelative()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setIsRelative(boolean flag)
throws ServiceException,
java.rmi.RemoteException
flag - True if this directory represents a relative path,
false otherwise.
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setParentDirectory(DirectoryInterface parent)
throws ServiceException,
java.rmi.RemoteException
parent - The DirectoryInterface object that represents the parent
path.
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
DirectoryInterface getParentDirectory()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.util.List getSubdirectories()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.util.List getFiles()
throws ServiceException,
java.rmi.RemoteException
ServiceException - if a repository error occurs.
java.rmi.RemoteException - in the event of remote object failure.
void addFile(MetadataInterface file)
throws ServiceException,
java.rmi.RemoteException
file - a new file to add to this directory.
ServiceException - if a repository error occurs.
java.rmi.RemoteException - in the event of remote object failure.
void removeFile(MetadataInterface file)
throws ServiceException,
java.rmi.RemoteException
file - A file to remove.
ServiceException - if a repository error occurs.
java.rmi.RemoteException - in the event of a remote object failure.
java.util.List getServers()
throws ServiceException,
java.rmi.RemoteException
getServers in interface com.sas.services.information.metadata.DeployedDataPackageInterfaceServiceException - if a repository error occurs.
java.rmi.RemoteException - in the event of remote object failure.
void addServer(MetadataInterface server)
throws ServiceException,
java.rmi.RemoteException
server - A new server to add to the list for this directory.
ServiceException - if a repository error occurs.
java.rmi.RemoteException - in the event of remote object failure.
void removeServer(MetadataInterface server)
throws ServiceException,
java.rmi.RemoteException
server - A server to remove from the list that can access this directory.
ServiceException - if a repository error occurs.
java.rmi.RemoteException - in the event of remote object failure.
boolean isBasePath()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.
void setIsBasePath(boolean value)
throws ServiceException,
java.rmi.RemoteException
value - true if this Directory can be used by an HTTP server as a base.
ServiceException - If a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.
boolean isDavEnabled()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.
void setIsDavEnabled(boolean value)
throws ServiceException,
java.rmi.RemoteException
value - true if this directory can be accessed via the DAV protocol.
ServiceException - If a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.
java.lang.String getDirectoryRole()
throws ServiceException,
java.rmi.RemoteException
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
void setDirectoryRole(java.lang.String role)
throws ServiceException,
java.rmi.RemoteException
role - The new value for the DirectoryRole.
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
java.lang.String getAbsolutePath()
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 | |||||||||||||