*** This class provides Binary Compatibility only, not Source Compatibility ***
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,MutableContainerInterface,PublicObjectContainerInterface,PublicObjectInterface, com.sas.services.util.UpgradeInterface,com.sas.storage.editableproperties.LocalizableProperties,Serializable,Remote
@SASScope("ALL")
@BinaryCompatibilityOnly
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final intstatic final intstatic final Stringstatic final intstatic final StringFields inherited from class com.sas.services.information.metadata.Folder
CREATION_DATE, CURRENT_VERSION, MODIFIED_DATE, OLDEST_VERSION, REPOSITORY_CONTENT_MAPPINGFields 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, SLASHFields inherited from class java.rmi.server.RemoteObject
refFields inherited from interface com.sas.services.information.metadata.FolderInterface
FOLDER_TYPE_BIPFields inherited from interface com.sas.storage.editableproperties.LocalizableProperties
PROPERTY_DESCRIPTION, PROPERTY_NAMEFields 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
ConstructorsModifierConstructorDescriptionCreates a new PersonalRepository folder.Creates a new PersonalRepository folder that incorporates the DAV personal repository object passed to the constructor.protectedPersonalRepository(DAVPersonalrepository o, Class theClass) Creates a new PersonalRepository folder that incorporates the DAV personal repository object passed to the constructor.protectedPersonalRepository(Class theClass) Creates a new PersonalRepository folder. -
Method Summary
Modifier and TypeMethodDescriptiongetApplicationManager(int applId) Each folder in the personal repository is managed by an application manager.getApplicationManager(String applname) Each folder in the personal repository is managed by an application manager.ListReturn a list of the currently supported applications.StringgetType()Get the smartobject type.booleanregisterApplication(String applname, String FolderManagerClassName) Register an application.Methods inherited from class com.sas.services.information.metadata.Folder
addChild, addItem, addItem, addNewItem, addSubfolder, addSubfolder, copyTo, delete, deleteItem, deleteSubfolder, getChildAt, getChildCount, getChildren, getChildren, getContentCreateDate, getContentInfo, getContentModifyDate, getFolderRefresh, getFolderType, getItem, getItemByClass, getItemByType, getItemRefresh, getItems, getItemsByClass, getItemsByType, getItemSublist, getItemSublist, getLocalizableProperties, getParent, getPath, getPublicTypeItem, getSubfolder, getSubfolders, getTotalNumberOfItems, hasContentBackedItems, hasContentBacking, hasDuplicate, hasDuplicateSubfolder, hasDuplicateSubfolder, insertChild, isEmpty, isItemNameUnique, makeSubfolder, makeSubfolder, mapNameToFilesystem, mapUrlToFilesystem, moveMembersOnOverflow, moveTo, newChild, newServiceObject, refresh, removeChild, removeItem, removeSubfolder, setContentCreateDate, setContentModifyDate, setFolderRefresh, setFolderType, setItemRefresh, setLocalizableProperties, setName, setRepository, upgradeFromPreviousVersionMethods inherited from class com.sas.services.information.metadata.Metadata
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addProcessorInterface, addPrompt, addPropertySet, addRemark, addResponsibleParty, addToList, addTransactionListener, addUsedByPrototype, checkin, checkout, checkPulse, clearInformationService, commit, countAssociatedObjects, deleteAttribute, deleteAttributes, deleteRootObject, destroy, fromByteArray, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getContainer, getCreateDate, getCreatedBy, getDefaultLocalizableProperties, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentifier, getIdentities, getImplementors, getInformationService, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getName, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getObjectURI, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getProcessorInterface, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getTreeRefresh, getTypeDescriptor, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, hashCode, isAuthorized, isCompatible, isConnectionException, isDeleted, isDestroyed, isLoggingEnabled, isObjectAlive, isReadCompatible, logFormat, logFormat, logFormat, logFormat, logMessage, logMessage, logThrowable, notifyTransactionListeners, removeAccessControl, removeDocument, removeExtension, removeFromList, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, reset, rollback, setAttribute, setAttributes, setCompatibility, setDefaultLocalizableProperties, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setTreeRefresh, setUsingPrototype, startTransaction, toByteArray, toString, transactionEvent, uncheckout, update, updateFromBag, validateNameAndFolder, validateNameAndFolder, versionMethods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObjectMethods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLogMethods inherited from class java.rmi.server.RemoteObject
equals, getRef, toStubMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, getPublicTypeItem, getSubfolder, getSubfolders, getTotalNumberOfItems, hasDuplicate, hasDuplicateSubfolder, isEmpty, isItemNameUnique, makeSubfolder, makeSubfolder, moveMembersOnOverflow, removeItem, removeSubfolder, setContentCreateDate, setContentModifyDate, setFolderTypeMethods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.MutableContainerInterface
addChild, insertChild, removeChildMethods inherited from interface com.sas.services.information.publicobject.PublicObjectContainerInterface
getChildAt, getChildCount, getChildren, getChildren, newChildMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
-
Field Details
-
INBOX
public static final int INBOX- See Also:
-
DOCUMENTS
public static final int DOCUMENTS- See Also:
-
RESULTS
public static final int RESULTS- See Also:
-
INBOX_PATH
public static final String INBOX_PATH- See Also:
-
RESULTS_PATH
public static final String RESULTS_PATH- See Also:
-
DOC_PATH
public static final String DOC_PATH- See Also:
-
-
Constructor Details
-
PersonalRepository
public PersonalRepository() throws RemoteExceptionCreates a new PersonalRepository folder.- Throws:
RemoteException- if unable to export the remote object.
-
PersonalRepository
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
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.
-
-
Method Details
-
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 theregisterApplicationmethod.- Specified by:
getApplicationManagerin interfacePersonalRepositoryInterface- Parameters:
applname- The name of the application (eg. MyInbox)- Returns:
- FolderInterface An instance of the registered application manager class
- Throws:
ServiceException- if a service level error occurs.RemoteException- in the event of remote object failure.
-
getApplicationManager
Each folder in the personal repository is managed by an application manager. The application manager class is registered using theregisterApplicationmethod.- Specified by:
getApplicationManagerin interfacePersonalRepositoryInterface- Parameters:
applId- The name of the application (eg. MyInbox)- Returns:
- FolderInterface An instance of the registered application manager class
- Throws:
ServiceException- If a service level error occurs.RemoteException- in the event of remote object failure.
-
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:
registerApplicationin interfacePersonalRepositoryInterface- 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
- Throws:
RemoteException- in the event of remote object failure.
-
getSupportedApplications
public List getSupportedApplications() throws RemoteExceptionReturn a list of the currently supported applications. The list contains the names of the applications.- Specified by:
getSupportedApplicationsin interfacePersonalRepositoryInterface- Returns:
- List A list of application names that are currently registered
- Throws:
RemoteException- in the event of remote object failure.
-
getType
public String getType() throws RemoteExceptionGet the smartobject type.- Specified by:
getTypein interfaceMetadataInterface- Overrides:
getTypein classFolder- Returns:
- The type string ("Folder").
- Throws:
RemoteException- in the case of network failures
-