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

com.sas.services.information.metadata
Interface PersonalRepositoryInterface

All Superinterfaces:
FolderInterface, MetadataInterface, MutableContainerInterface, PublicObjectContainerInterface, PublicObjectInterface, java.rmi.Remote
All Known Implementing Classes:
PersonalRepository

public interface PersonalRepositoryInterface
extends FolderInterface, java.rmi.Remote


Field Summary
 
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
 
Method Summary
 FolderInterface getApplicationManager(int applId)
          Each folder in the personal repository is managed by an application manager.
 FolderInterface getApplicationManager(java.lang.String appplname)
          Each folder in the personal repository is managed by an application manager.
 java.util.List getSupportedApplications()
          Return a list of the currently supported applications.
 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.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifyDate, getObjectProperties, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isLoggingEnabled, isObjectAlive, isReadCompatible, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, version
 
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
 

Method Detail

registerApplication

boolean registerApplication(java.lang.String applname,
                            java.lang.String FolderManagerClassName)
                            throws java.rmi.RemoteException
Register an application. To register an application pass an application name and a class name that implements the FolderManagerInterface for this application.

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:
java.rmi.RemoteException - in the event of remote object failure.

getSupportedApplications

java.util.List getSupportedApplications()
                                        throws java.rmi.RemoteException
Return a list of the currently supported applications. The list contains the names of the applications.

Returns:
List A list of application names that are currently registered
Throws:
java.rmi.RemoteException - in the event of remote object failure.

getApplicationManager

FolderInterface getApplicationManager(int applId)
                                      throws ServiceException,
                                             java.rmi.RemoteException
Each folder in the personal repository is managed by an application manager. The application manager class is registered using the registerApplication method. This method can be passed one of the predefined application identifiers, such as getApplicationManager( PersonalRepository. INBOX )

Parameters:
applId - The application identifier of the desired appication manager.
Returns:
The folder managed by the requested application manager.
Throws:
ServiceException - If a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.

getApplicationManager

FolderInterface getApplicationManager(java.lang.String appplname)
                                      throws ServiceException,
                                             java.rmi.RemoteException
Each folder in the personal repository is managed by an application manager. The application manager class is registered using the registerApplication method.

Parameters:
appplname - The name of the application managing the desired folder.
Returns:
The folder for the requested application.
Throws:
ServiceException - if a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.

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




Copyright © 2009 SAS Institute Inc. All Rights Reserved.