|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--com.sas.services.information.metadata.Metadata
|
+--com.sas.services.information.metadata.OMRDirectory
Directory in a SAS Metadata Repository.
| Fields inherited from class com.sas.services.information.metadata.Metadata |
_repository, _repositoryFlag, _repositoryObject, formats, gmtZone, REPOSITORY_DAV, REPOSITORY_LDAP, REPOSITORY_NONE, REPOSITORY_OMR |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Constructor Summary | |
|
OMRDirectory()
|
protected |
OMRDirectory(Class theClass)
Constructs an instance using the specified class to determine appropriate RMI socket factories. |
|
OMRDirectory(Directory o)
|
|
OMRDirectory(Directory o)
|
protected |
OMRDirectory(Directory o,
Class theClass)
|
protected |
OMRDirectory(Directory o,
Class theClass)
|
protected |
OMRDirectory(DirectoryImpl_Stub o,
Class theClass)
|
|
OMRDirectory(DirectoryImpl o)
|
protected |
OMRDirectory(DirectoryImpl o,
Class theClass)
|
|
OMRDirectory(RepositoryInterface repos,
String name,
FolderInterface parent)
|
protected |
OMRDirectory(RepositoryInterface repos,
String name,
FolderInterface parent,
Class theClass)
|
| 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. |
String |
getType()
Get the object type. |
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. |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public OMRDirectory()
throws RemoteException
public OMRDirectory(Directory o)
throws RemoteException
public OMRDirectory(Directory o)
throws RemoteException
public OMRDirectory(DirectoryImpl o)
throws RemoteException
public OMRDirectory(RepositoryInterface repos,
String name,
FolderInterface parent)
throws RemoteException
protected OMRDirectory(Class theClass)
throws RemoteException
theClass - Class which will be used to determine the
appropriate RMI socket factories.RemoteException - if unable to export the remote object.
protected OMRDirectory(Directory o,
Class theClass)
throws RemoteException
protected OMRDirectory(Directory o,
Class theClass)
throws RemoteException
protected OMRDirectory(DirectoryImpl o,
Class theClass)
throws RemoteException
protected OMRDirectory(DirectoryImpl_Stub o,
Class theClass)
throws RemoteException
protected OMRDirectory(RepositoryInterface repos,
String name,
FolderInterface parent,
Class theClass)
throws RemoteException
| Method Detail |
public String getType()
throws RemoteException
MetadataInterfacegetType in interface MetadataInterfacegetType in class Metadatacom.sas.services.information.metadata.MetadataInterfaceRemoteException - if an error occurs
public String getFilePath()
throws ServiceException,
RemoteException
DirectoryInterfacegetFilePath in interface DirectoryInterfacecom.sas.services.information.metadata.DirectoryInterfaceServiceException - if a repository error occursRemoteException - in the event of remote object failure.
public void setPath(String path)
throws ServiceException,
RemoteException
DirectoryInterfacesetPath in interface DirectoryInterfacecom.sas.services.information.metadata.DirectoryInterfacepath - The new path string.ServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
public List getFiles()
throws ServiceException,
RemoteException
DirectoryInterfacegetFiles in interface DirectoryInterfacecom.sas.services.information.metadata.DirectoryInterfaceServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
public void addFile(MetadataInterface file)
throws ServiceException,
RemoteException
DirectoryInterfaceaddFile in interface DirectoryInterfacecom.sas.services.information.metadata.DirectoryInterfacefile - 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
DirectoryInterfaceremoveFile in interface DirectoryInterfacecom.sas.services.information.metadata.DirectoryInterfacefile - A file to remove.ServiceException - if a repository error occurs.RemoteException - in the event of a remote object failure.
public List getServers()
throws RemoteException
DirectoryInterfacegetServers in interface DirectoryInterfacecom.sas.services.information.metadata.DirectoryInterfaceServiceException - if a repository error occurs.RemoteException - in the event of remote object failure.
public void addServer(MetadataInterface server)
throws ServiceException,
RemoteException
DirectoryInterfaceaddServer in interface DirectoryInterfacecom.sas.services.information.metadata.DirectoryInterfaceserver - 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
DirectoryInterfaceremoveServer in interface DirectoryInterfacecom.sas.services.information.metadata.DirectoryInterfaceserver - 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
isBasePath in interface DirectoryInterfaceRemoteException - in the event of remote object failure.
public void setIsBasePath(boolean value)
throws RemoteException
setIsBasePath in interface DirectoryInterfacevalue - 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
isDavEnabled in interface DirectoryInterfaceRemoteException - in the event of remote object failure.
public void setIsDavEnabled(boolean value)
throws RemoteException
setIsDavEnabled in interface DirectoryInterfacevalue - 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 | |||||||||||||