com.sas.services.storedprocess.metadata
Class StoredProcess

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--com.sas.services.information.metadata.Metadata
                          |
                          +--com.sas.services.storedprocess.metadata.StoredProcess
All Implemented Interfaces:
MetadataInterface, StoredProcessInterface

public class StoredProcess
extends Metadata
implements StoredProcessInterface, java.io.Serializable

See Also:
Serialized Form

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.MetadataInterface
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA
 
Constructor Summary
StoredProcess()
           
StoredProcess(Object o)
           
StoredProcess(RepositoryInterface repos, String name, FolderInterface parent)
           
 
Method Summary
 void addKeyword(String keyword)
          Adds a keyword to the list of keywords this subscriber is interested in.
 List getKeywords()
          Get a list of keywords associated with this object.
static StoredProcessServiceInterface getStoredProcessService()
           
 String getType()
          Return a type string to identify this object.
 String mapNameToFilesystem(int hostOS, String prefix, String suffix)
          Map the metadata object name to a file system path.
 String mapUrlToFilesystem(int hostOS, String prefix, String suffix)
          Map the metadata object's SBIP Url to a file system path.
 StoredProcessInterface newServiceObject(SessionContextInterface sessionContext)
           
 void removeKeyword(String keyword)
          Removes a keyword from the keyword list for this subscriber.
 void setName(String name)
          Set the name of the object.
 
Methods inherited from class com.sas.services.information.metadata.Metadata
add, addAccessControl, addAttribute, addAttributes, addExtension, addPermissions, addRemark, addTransactionListener, checkin, checkout, clearInformationService, commit, copyTo, delete, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getDescription, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentities, getInformationService, 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, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setPermission, setRemarksList, setRepository, 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.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addExtension, addPermissions, addRemark, addTransactionListener, checkin, checkout, commit, copyTo, delete, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getDescription, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentities, getModifyDate, getName, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getVersion, isAuthorized, isLoggingEnabled, logMessage, moveTo, newServiceObject, refresh, removeAccessControl, removeExtension, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setPermission, setRemarksList, setRepository, startTransaction, transactionEvent, uncheckout, update, version
 

Constructor Detail

StoredProcess

public StoredProcess()
              throws RemoteException

StoredProcess

public StoredProcess(Object o)
              throws RemoteException

StoredProcess

public StoredProcess(RepositoryInterface repos,
                     String name,
                     FolderInterface parent)
              throws RemoteException
Method Detail

getStoredProcessService

public static StoredProcessServiceInterface getStoredProcessService()
                                                             throws ServiceException

getType

public String getType()
               throws RemoteException
Return a type string to identify this object.

Specified by:
getType in interface MetadataInterface
Overrides:
getType in class Metadata
Returns:
The type string ("Channel").

getKeywords

public List getKeywords()
                 throws RemoteException
Description copied from interface: MetadataInterface
Get a list of keywords associated with this object.

Specified by:
getKeywords in interface StoredProcessInterface
Overrides:
getKeywords in class Metadata
Following copied from interface: com.sas.services.information.metadata.MetadataInterface
Returns:
A List of String keywords.
Throws:
RemoteException - if an error occurs

addKeyword

public void addKeyword(String keyword)
                throws RemoteException
Adds a keyword to the list of keywords this subscriber is interested in.

Specified by:
addKeyword in interface StoredProcessInterface
Overrides:
addKeyword in class Metadata
Parameters:
keyword - a new keyword for this subscriber

removeKeyword

public void removeKeyword(String keyword)
                   throws RemoteException
Removes a keyword from the keyword list for this subscriber.

Specified by:
removeKeyword in interface StoredProcessInterface
Overrides:
removeKeyword in class Metadata
Parameters:
keyword - The keyword to remove.

newServiceObject

public StoredProcessInterface newServiceObject(SessionContextInterface sessionContext)
                                        throws ServiceException,
                                               RemoteException
Specified by:
newServiceObject in interface StoredProcessInterface

setName

public void setName(String name)
             throws RemoteException
Set the name of the object.

Specified by:
setName in interface MetadataInterface
Overrides:
setName in class Metadata
Parameters:
name - The name of the object in the repository.
Throws:
RemoteException - in the event of remote object failure.

mapNameToFilesystem

public String mapNameToFilesystem(int hostOS,
                                  String prefix,
                                  String suffix)
                           throws RemoteException,
                                  IllegalArgumentException
Map the metadata object name to a file system path.
Specified by:
mapNameToFilesystem in interface MetadataInterface
Overrides:
mapNameToFilesystem in class Metadata
Parameters:
hostOS - The host operating system. Valid values include Names.UNKNOWN, Names.WINDOWS, Names.UNIX, Names.ZOS_HFS, Names.ZOS_PDS and Names.WEBDAV.
prefix - The prefix to use when creating the file system path.
suffix - The suffix to use when creating the file system path.
Returns:
String The file system path.
Throws:
RemoteException - In the event of remote object failure.
IllegalArgumentException - If a null name is specified or if an invalid host operating system value is specified.

mapUrlToFilesystem

public String mapUrlToFilesystem(int hostOS,
                                 String prefix,
                                 String suffix)
                          throws ServiceException,
                                 RemoteException,
                                 IllegalArgumentException
Map the metadata object's SBIP Url to a file system path.
Specified by:
mapUrlToFilesystem in interface MetadataInterface
Overrides:
mapUrlToFilesystem in class Metadata
Parameters:
hostOS - The host operating system. Valid values include Names.UNKNOWN, Names.WINDOWS, Names.UNIX, Names.ZOS_HFS, Names.ZOS_PDS and Names.WEBDAV.
prefix - The prefix to use when creating the file system path.
suffix - The suffix to use when creating the file system path.
Returns:
String The file system path.
Throws:
ServiceException - if a repository error occurs.
RemoteException - In the event of remote object failure.
IllegalArgumentException - If a null name is specified or if an invalid host operating system value is specified.




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