|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
This interface represents a repository neutral accessor class for a Directory object in a metadata repository.
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
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. |
String |
getFilePath()
Return the path string for this directory. |
List |
getFiles()
Get a list of files in this directory. |
List |
getServers()
Get a list of servers that are associated with 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. |
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 |
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 |
setPath(String path)
Set the path string for the directory. |
| Method Detail |
public String getFilePath()
throws ServiceException,
RemoteException
ServiceException - if a repository error occursRemoteException - in the event of remote object failure.
public void setPath(String path)
throws ServiceException,
RemoteException
path - The new path string.ServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
public List getFiles()
throws ServiceException,
RemoteException
ServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
public void addFile(MetadataInterface file)
throws ServiceException,
RemoteException
file - a new file to add to this directory.ServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
public void removeFile(MetadataInterface file)
throws ServiceException,
RemoteException
file - A file to remove.ServiceException - if a repository error occurs.RemoteException - in the event of a remote object failure.
public List getServers()
throws ServiceException,
RemoteException
ServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
public void addServer(MetadataInterface server)
throws ServiceException,
RemoteException
server - A new server to add to the list for this directory.ServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
public void removeServer(MetadataInterface server)
throws ServiceException,
RemoteException
server - A server to remove from the list that can access this directory.ServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
public boolean isBasePath()
throws RemoteException
RemoteException - in the event of remote object failure.
public void setIsBasePath(boolean value)
throws RemoteException
value - true if this Directory can be used by an HTTP server as a base.RemoteException - in the event of remote object failure.
public boolean isDavEnabled()
throws RemoteException
RemoteException - in the event of remote object failure.
public void setIsDavEnabled(boolean value)
throws RemoteException
value - true if this directory can be accessed via the DAV protocol.RemoteException - in the event of remote object failure.
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||