|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.information.metadata.PersonalRepository
public class PersonalRepository
Implements the personal repository.
Each user is allocated a personal repository, located at http://davserver/userpath/$uid/PR
Field Summary | |
---|---|
static java.lang.String |
DOC_PATH
|
static int |
DOCUMENTS
|
static int |
INBOX
|
static java.lang.String |
INBOX_PATH
|
static int |
RESULTS
|
static java.lang.String |
RESULTS_PATH
|
Fields inherited from class com.sas.services.information.metadata.Folder |
---|
CREATION_DATE, CURRENT_VERSION, MODIFIED_DATE, OLDEST_VERSION, REPOSITORY_CONTENT_MAPPING |
Fields inherited from class com.sas.services.information.metadata.Metadata |
---|
_actionInterfaces, _children, _isCompatible, _isDestroyPending, _isReadCompatible, _myRefreshInterval, _myState, _omrCreateDate, _omrModifyDate, _repository, _repositoryFlag, _repositoryObject, _treeRefreshTime, formats, gmtZone, OMSOBJ_STRING, REPOSITORY_DAV, REPOSITORY_LOMR, REPOSITORY_NONE, REPOSITORY_OMR, SLASH |
Fields inherited from interface com.sas.services.information.metadata.FolderInterface |
---|
FOLDER_TYPE_BIP |
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 |
Constructor Summary | |
---|---|
|
PersonalRepository()
Creates a new PersonalRepository folder. |
protected |
PersonalRepository(java.lang.Class theClass)
Creates a new PersonalRepository folder. |
|
PersonalRepository(DAVPersonalrepository o)
Creates a new PersonalRepository folder that incorporates the DAV personal repository object passed to the constructor. |
protected |
PersonalRepository(DAVPersonalrepository o,
java.lang.Class theClass)
Creates a new PersonalRepository folder that incorporates the DAV personal repository object passed to the constructor. |
Method Summary | |
---|---|
FolderInterface |
getApplicationManager(int applId)
Each folder in the personal repository is managed by an application manager. |
FolderInterface |
getApplicationManager(java.lang.String applname)
Each folder in the personal repository is managed by an application manager. |
java.util.List |
getSupportedApplications()
Return a list of the currently supported applications. |
java.lang.String |
getType()
Get the smartobject type. |
boolean |
registerApplication(java.lang.String applname,
java.lang.String FolderManagerClassName)
Register an application. |
Methods inherited from interface com.sas.services.information.metadata.FolderInterface |
---|
addItem, addNewItem, addSubfolder, deleteItem, deleteSubfolder, getContentCreateDate, getContentInfo, getContentModifyDate, getFolderType, getItem, getItemByClass, getItemByType, getItems, getItemsByClass, getItemsByType, getItemSublist, getItemSublist, getParent, getPath, getSubfolder, getSubfolders, getTotalNumberOfItems, hasDuplicate, hasDuplicateSubfolder, isEmpty, isItemNameUnique, makeSubfolder, makeSubfolder, moveMembersOnOverflow, removeItem, removeSubfolder, setContentCreateDate, setContentModifyDate, setFolderType |
Methods inherited from interface com.sas.services.information.publicobject.MutableContainerInterface |
---|
addChild, insertChild, removeChild |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectContainerInterface |
---|
getChildAt, getChildCount, getChildren, getChildren, newChild |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Field Detail |
---|
public static final int INBOX
public static final int DOCUMENTS
public static final int RESULTS
public static final java.lang.String INBOX_PATH
public static final java.lang.String RESULTS_PATH
public static final java.lang.String DOC_PATH
Constructor Detail |
---|
public PersonalRepository() throws java.rmi.RemoteException
java.rmi.RemoteException
- if unable to export the remote object.public PersonalRepository(DAVPersonalrepository o) throws java.rmi.RemoteException
o
- DAV personal repository.
java.rmi.RemoteException
- if unable to export the remote object.protected PersonalRepository(java.lang.Class theClass) throws java.rmi.RemoteException
theClass
- The subclass's class which will be used to determine
appropriate RMI socket factories.
java.rmi.RemoteException
- if unable to export the remote object.protected PersonalRepository(DAVPersonalrepository o, java.lang.Class theClass) throws java.rmi.RemoteException
o
- DAV personal repository.theClass
- The subclass's class which will be used to determine
appropriate RMI socket factories.
java.rmi.RemoteException
- if unable to export the remote object.Method Detail |
---|
public FolderInterface getApplicationManager(java.lang.String applname) throws ServiceException, java.rmi.RemoteException
registerApplication
method.
getApplicationManager
in interface PersonalRepositoryInterface
applname
- The name of the application (eg. MyInbox)
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public FolderInterface getApplicationManager(int applId) throws ServiceException, java.rmi.RemoteException
registerApplication
method.
getApplicationManager
in interface PersonalRepositoryInterface
applId
- The name of the application (eg. MyInbox)
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.public boolean registerApplication(java.lang.String applname, java.lang.String FolderManagerClassName) throws java.rmi.RemoteException
registerApplication
in interface PersonalRepositoryInterface
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.
java.rmi.RemoteException
- in the event of remote object failure.public java.util.List getSupportedApplications() throws java.rmi.RemoteException
getSupportedApplications
in interface PersonalRepositoryInterface
java.rmi.RemoteException
- in the event of remote object failure.public java.lang.String getType() throws java.rmi.RemoteException
getType
in interface MetadataInterface
getType
in class Folder
java.rmi.RemoteException
- in the case of network failures
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |