***  This API provides Binary Compatibility only, not Source Compatibility  ***

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

Field Summary
static String DOC_PATH
           
static int DOCUMENTS
           
static int INBOX
           
static String INBOX_PATH
           
static int RESULTS
           
static String RESULTS_PATH
           
 
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.FolderInterface
FOLDER_TYPE_BIP
 
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA
 
Constructor Summary
  PersonalRepository()
          Creates a new PersonalRepository folder.
protected PersonalRepository(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, 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(String applname)
          Each folder in the personal repository is managed by an application manager.
 List getSupportedApplications()
          Return a list of the currently supported applications.
 String getType()
          Get the smartobject type.
 boolean registerApplication(String applname, String FolderManagerClassName)
          Register an application.
 
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 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
 
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
 

Field Detail

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
Constructor Detail

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.
Method Detail

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

***  This API provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:59