com.sas.services.information.metadata
Class PersonalRepository
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.Folder
|
+--com.sas.services.information.metadata.PersonalRepository
- All Implemented Interfaces:
- FolderInterface, MetadataInterface, PersonalRepositoryInterface,
- public class PersonalRepository
- extends Folder
- implements PersonalRepositoryInterface
Implements the personal repository.
Each user is allocated a personal repository, located
at http://davserver/userpath/$uid/PR
- Since:
- 1.1
- See Also:
- Serialized Form
| Methods inherited from class com.sas.services.information.metadata.Folder |
addItem, addNewItem, addSubfolder, delete, deleteItem, deleteSubfolder, getFolderRefresh, getFolderType, getItem, getItemByClass, getItemByType, getItemRefresh, getItems, getItemsByClass, getItemsByType, getParent, getPath, getSubfolder, getSubfolders, makeSubfolder, mapNameToFilesystem, mapUrlToFilesystem, removeItem, removeSubfolder, setFolderRefresh, setFolderType, setItemRefresh, setName, setRepository |
| Methods inherited from class com.sas.services.information.metadata.Metadata |
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, clearInformationService, commit, copyTo, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getDescription, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentities, getInformationService, getKeywords, getModifyDate, getName, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getTreeRefresh, getVersion, isAuthorized, isLoggingEnabled, logMessage, moveTo, newServiceObject, notifyTransactionListeners, refresh, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setPermission, setRemarksList, setTreeRefresh, startTransaction, transactionEvent, uncheckout, update, version |
| Methods inherited from interface com.sas.services.information.metadata.FolderInterface |
addItem, addNewItem, addSubfolder, deleteItem, deleteSubfolder, getFolderType, getItem, getItemByClass, getItemByType, getItems, getItemsByClass, getItemsByType, getParent, getPath, getSubfolder, getSubfolders, makeSubfolder, removeItem, removeSubfolder, setFolderType |
| Methods inherited from interface com.sas.services.information.metadata.MetadataInterface |
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, commit, copyTo, delete, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getDescription, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentities, getKeywords, getModifyDate, getName, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getVersion, isAuthorized, isLoggingEnabled, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setName, setPermission, setRemarksList, setRepository, startTransaction, transactionEvent, uncheckout, update, version |
INBOX
public static final int INBOX
DOCUMENTS
public static final int DOCUMENTS
RESULTS
public static final int RESULTS
INBOX_PATH
public static final String INBOX_PATH
RESULTS_PATH
public static final String RESULTS_PATH
DOC_PATH
public static final String DOC_PATH
PersonalRepository
public PersonalRepository()
throws RemoteException
- Creates a new PersonalRepository folder.
- Throws:
RemoteException - if unable to export the remote object.
PersonalRepository
public PersonalRepository(DAVPersonalrepository o)
throws RemoteException
- Creates a new PersonalRepository folder that incorporates the DAV personal repository object passed to the constructor.
- Parameters:
o - DAV personal repository.- Throws:
RemoteException - if unable to export the remote object.
PersonalRepository
protected PersonalRepository(Class theClass)
throws RemoteException
- Creates a new PersonalRepository folder.
- Parameters:
theClass - The subclass's class which will be used to determine
appropriate RMI socket factories.- Throws:
RemoteException - if unable to export the remote object.
PersonalRepository
protected PersonalRepository(DAVPersonalrepository o,
Class theClass)
throws RemoteException
- Creates a new PersonalRepository folder that incorporates the DAV personal repository object passed to the constructor.
- Parameters:
o - DAV personal repository.theClass - The subclass's class which will be used to determine
appropriate RMI socket factories.- Throws:
RemoteException - if unable to export the remote object.
getApplicationManager
public FolderInterface getApplicationManager(String applname)
throws ServiceException,
RemoteException
- Each folder in the personal repository is managed by an application manager. The application
manager class is registered using the
registerApplication method.
- Specified by:
getApplicationManager in interface PersonalRepositoryInterface
- Parameters:
applname - The name of the application (eg. MyInbox)- Returns:
- FolderInterface An instance of the registered application manager class
getApplicationManager
public FolderInterface getApplicationManager(int applId)
throws ServiceException,
RemoteException
- Each folder in the personal repository is managed by an application manager. The application
manager class is registered using the
registerApplication method.
- Specified by:
getApplicationManager in interface PersonalRepositoryInterface
- Parameters:
applId - The name of the application (eg. MyInbox)- Returns:
- FolderInterface An instance of the registered application manager class
registerApplication
public boolean registerApplication(String applname,
String FolderManagerClassName)
throws RemoteException
- Register an application.
To register an application pass an application name and a class name that implements the
FolderManagerInterface for this application.
- Specified by:
registerApplication in interface PersonalRepositoryInterface
- Parameters:
applname - A string that represents the application's name.FolderManagerClassName - A string class name. The class provides the implementation
for this application and will be loaded on demand.- Returns:
- boolean true if the registration was successful, false otherwise
getSupportedApplications
public List getSupportedApplications()
throws RemoteException
- Return a list of the currently supported applications. The list contains the
names of the applications.
- Specified by:
getSupportedApplications in interface PersonalRepositoryInterface
- Returns:
- List A list of application names that are currently registered
getType
public String getType()
throws RemoteException
- Get the smartobject type.
- Specified by:
getType in interface MetadataInterface- Overrides:
getType in class Folder
- Throws:
RemoteException - in the case of network failures
Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:59