|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.information.metadata.VirtualFolderManager
public class VirtualFolderManager
Manages and creates virtual folders within a repository's System folder.
Method Summary | |
---|---|
boolean |
containsVirtualFolder(java.lang.String id)
Returns true if a virtual folder exists with the specified id. |
void |
destroy()
Destoys this factory instance |
static java.lang.String |
getDefaultPath(java.lang.String publicType)
Returns the default path location for the virtual folder containing objects of the given type. |
static java.lang.String |
getDefaultPath(java.lang.String publicType,
OMIRepositoryInterface repos)
Returns the default path location for the virtual folder containing objects of the given type. |
static VirtualFolderManager |
getInstance(ServerInterface server)
Returns the factory instance for a given server. |
VirtualFolderInterface |
getOwningVirtualFolder(Metadata metadata)
Returns the virtual folder containing the object. |
ServerInterface |
getServer()
Returns the server instance associated with this factory. |
java.util.List<VirtualFolderInterface> |
getSystemVirtualFolders(FolderInterface systemFolder)
Gets the list of virtual folders that are directly associated to the System folder. |
VirtualFolderInterface |
getVirtualFolder(java.lang.String id)
Returns an existing virtual folder by its id |
boolean |
hasDuplicateSubfolder(java.lang.String name,
FolderInterface systemFolder)
Returns true if the System folder contains a virtual folder with the given name. |
static boolean |
instanceCreated(ServerInterface server)
Returns true if a factory instance has already been created for the given server. |
static boolean |
isContainedByVirtualFolder(java.lang.String publicType)
Returns true if objects with the specified public type value are contained within a virtual folder. |
static boolean |
isContainedByVirtualFolder(java.lang.String publicType,
OMIRepositoryInterface repos)
Returns true if objects with the specified public type value are contained within a virtual folder in the given repository. |
static boolean |
isVirtualFolderId(java.lang.String id)
Returns true if the specified object id is an id that corresponds to a virtual folder. |
void |
reset()
|
Method Detail |
---|
public static boolean instanceCreated(ServerInterface server) throws ServiceException, java.rmi.RemoteException
server
- the server instance
ServiceException
java.rmi.RemoteException
public static VirtualFolderManager getInstance(ServerInterface server) throws ServiceException, java.rmi.RemoteException
server
- the server instance
ServiceException
java.rmi.RemoteException
public static boolean isContainedByVirtualFolder(java.lang.String publicType) throws ServiceException, java.rmi.RemoteException
publicType
- an object's public type value
ServiceException
java.rmi.RemoteException
public static boolean isContainedByVirtualFolder(java.lang.String publicType, OMIRepositoryInterface repos) throws ServiceException, java.rmi.RemoteException
publicType
- an object's public type valuerepos
- repository
ServiceException
java.rmi.RemoteException
public static java.lang.String getDefaultPath(java.lang.String publicType) throws ServiceException, java.rmi.RemoteException
publicType
- an object's public type value
ServiceException
java.rmi.RemoteException
public static java.lang.String getDefaultPath(java.lang.String publicType, OMIRepositoryInterface repos) throws ServiceException, java.rmi.RemoteException
publicType
- an object's public type valuerepos
- repository
ServiceException
java.rmi.RemoteException
public static boolean isVirtualFolderId(java.lang.String id) throws ServiceException, java.rmi.RemoteException
id
- the object's id
ServiceException
java.rmi.RemoteException
public ServerInterface getServer()
public void destroy() throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
public void reset() throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
public boolean containsVirtualFolder(java.lang.String id) throws ServiceException, java.rmi.RemoteException
id
- the folder's id
ServiceException
java.rmi.RemoteException
public VirtualFolderInterface getVirtualFolder(java.lang.String id) throws ServiceException, java.rmi.RemoteException
id
- the folder's id
ServiceException
java.rmi.RemoteException
public VirtualFolderInterface getOwningVirtualFolder(Metadata metadata) throws ServiceException, java.rmi.RemoteException
metadata
- the metadata object
ServiceException
java.rmi.RemoteException
public java.util.List<VirtualFolderInterface> getSystemVirtualFolders(FolderInterface systemFolder) throws ServiceException, java.rmi.RemoteException
systemFolder
- the parent System folder
ServiceException
java.rmi.RemoteException
public boolean hasDuplicateSubfolder(java.lang.String name, FolderInterface systemFolder) throws ServiceException, java.rmi.RemoteException
name
- the folder namesystemFolder
- the parent System folder
ServiceException
java.rmi.RemoteException
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |