com.sas.services.information.metadata
Class OMRProxyList

com.sas.services.information.metadata.OMRProxyList
All Implemented Interfaces:
MetadataInterface, ProxyListInterface, PublicObjectInterface, com.sas.storage.editableproperties.SubstitutionProperties, java.io.Serializable, java.rmi.Remote

public class OMRProxyList
implements ProxyListInterface, com.sas.storage.editableproperties.SubstitutionProperties

OMRProxyList

See Also:
Serialized Form

Field Summary
static com.sas.util.UsageVersion CURRENT_VERSION
           
static com.sas.util.UsageVersion OLDEST_VERSION
           
static java.lang.String PROPERTY_PROXYMACHINE_LIST
           
 
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.MetadataInterface
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA
 
Constructor Summary
OMRProxyList()
          Default constructor for the OMRProxyList class
OMRProxyList(java.lang.Class theClass)
           
OMRProxyList(java.lang.Object o)
           
OMRProxyList(java.lang.Object o, java.lang.Class theClass)
           
OMRProxyList(com.sas.metadata.remote.ServerComponent component)
           
 
Method Summary
 java.lang.String generateNextProxyName()
          Generates the name of the next proxy in this proxy list.
 java.util.List<java.lang.String> getProxiedMachines()
          Returns the list of machines configured to use this proxy.
 java.util.List<ProxyInterface> getProxies()
          Returns a list of ProxyInterfaces representing the proxies
 java.util.List<java.lang.String> getProxyURIs()
          Returns the list of proxies as URI strings
 com.sas.storage.editableproperties.PropertyList getSubstitutionProperties()
           
 void setProxiedMachines(java.util.List<java.lang.String> machines)
          Sets the list of machines configured to use this proxy.
 void setProxies(java.util.List<ProxyInterface> proxies)
          Sets the list of proxies based on the given ProxyInterface list.
 void setProxyURIs(java.util.List<java.lang.String> uris)
          Sets the list of proxies based on the given URI strings
 void setSubstitutionProperties(com.sas.storage.editableproperties.PropertyMap map)
           
 
Methods 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, copyTo, countAssociatedObjects, delete, 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, getParent, 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, getType, getTypeDescriptor, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, hashCode, isAuthorized, isCompatible, isConnectionException, isDeleted, isDestroyed, isLoggingEnabled, isLoggingEnabled, isObjectAlive, isReadCompatible, logFormat, logFormat, logFormat, logFormat, logFormat, logFormat, logFormat, logFormat, logMessage, logMessage, logMessage, logMessage, logThrowable, logThrowable, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, notifyTransactionListeners, refresh, 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, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setTreeRefresh, setUsingPrototype, startTransaction, toByteArray, toString, transactionEvent, uncheckout, update, updateFromBag, validateNameAndFolder, validateNameAndFolder, version
 
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
 

Field Detail

OLDEST_VERSION

public static final com.sas.util.UsageVersion OLDEST_VERSION

CURRENT_VERSION

public static final com.sas.util.UsageVersion CURRENT_VERSION

PROPERTY_PROXYMACHINE_LIST

public static final java.lang.String PROPERTY_PROXYMACHINE_LIST
See Also:
Constant Field Values
Constructor Detail

OMRProxyList

public OMRProxyList()
             throws java.rmi.RemoteException
Default constructor for the OMRProxyList class

Throws:
java.rmi.RemoteException

OMRProxyList

public OMRProxyList(java.lang.Class theClass)
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

OMRProxyList

public OMRProxyList(java.lang.Object o,
                    java.lang.Class theClass)
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

OMRProxyList

public OMRProxyList(java.lang.Object o)
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

OMRProxyList

public OMRProxyList(com.sas.metadata.remote.ServerComponent component)
             throws java.rmi.RemoteException
Parameters:
theClass -
Throws:
java.rmi.RemoteException
Method Detail

getProxiedMachines

public java.util.List<java.lang.String> getProxiedMachines()
                                                    throws java.rmi.RemoteException,
                                                           ServiceException
Description copied from interface: ProxyListInterface
Returns the list of machines configured to use this proxy. The string representation of the Machine object is returned

Specified by:
getProxiedMachines in interface ProxyListInterface
Returns:
List containing string representation of Machine objects
Throws:
java.rmi.RemoteException
VersionIncompatibleException
ServiceException

getProxies

public java.util.List<ProxyInterface> getProxies()
                                          throws java.rmi.RemoteException,
                                                 ServiceException
Description copied from interface: ProxyListInterface
Returns a list of ProxyInterfaces representing the proxies

Specified by:
getProxies in interface ProxyListInterface
Returns:
List of ProxyInterface objects for the proxies
Throws:
java.rmi.RemoteException
VersionIncompatibleException
ServiceException

getProxyURIs

public java.util.List<java.lang.String> getProxyURIs()
                                              throws java.rmi.RemoteException,
                                                     ServiceException
Description copied from interface: ProxyListInterface
Returns the list of proxies as URI strings

Specified by:
getProxyURIs in interface ProxyListInterface
Returns:
List of String objects containing the URIs.
Throws:
java.rmi.RemoteException
ServiceException

setProxiedMachines

public void setProxiedMachines(java.util.List<java.lang.String> machines)
                        throws java.lang.IllegalArgumentException,
                               ServiceException,
                               java.rmi.RemoteException
Description copied from interface: ProxyListInterface
Sets the list of machines configured to use this proxy. The string representing the machine name is used.

Specified by:
setProxiedMachines in interface ProxyListInterface
Parameters:
machines - List containing machine names to use this proxy
Throws:
java.lang.IllegalArgumentException
ServiceException
java.rmi.RemoteException

setProxies

public void setProxies(java.util.List<ProxyInterface> proxies)
                throws java.rmi.RemoteException,
                       ServiceException
Description copied from interface: ProxyListInterface
Sets the list of proxies based on the given ProxyInterface list.

Specified by:
setProxies in interface ProxyListInterface
Parameters:
proxies - The list of ProxyInterface objects to set.
Throws:
java.rmi.RemoteException
ServiceException

setProxyURIs

public void setProxyURIs(java.util.List<java.lang.String> uris)
                  throws java.rmi.RemoteException,
                         ServiceException
Description copied from interface: ProxyListInterface
Sets the list of proxies based on the given URI strings

Specified by:
setProxyURIs in interface ProxyListInterface
Parameters:
uris - The list of URI strings to create and set proxy objects for.
Throws:
java.rmi.RemoteException
ServiceException

generateNextProxyName

public java.lang.String generateNextProxyName()
                                       throws java.rmi.RemoteException,
                                              ServiceException
Description copied from interface: ProxyListInterface
Generates the name of the next proxy in this proxy list.

Specified by:
generateNextProxyName in interface ProxyListInterface
Returns:
The generated name of the next proxy
Throws:
java.rmi.RemoteException
ServiceException

getSubstitutionProperties

public com.sas.storage.editableproperties.PropertyList getSubstitutionProperties()
                                                                          throws com.sas.storage.editableproperties.UnexpectedSubstitutionException
Specified by:
getSubstitutionProperties in interface com.sas.storage.editableproperties.SubstitutionProperties
Throws:
com.sas.storage.editableproperties.UnexpectedSubstitutionException

setSubstitutionProperties

public void setSubstitutionProperties(com.sas.storage.editableproperties.PropertyMap map)
                               throws com.sas.storage.editableproperties.UnexpectedSubstitutionException
Specified by:
setSubstitutionProperties in interface com.sas.storage.editableproperties.SubstitutionProperties
Throws:
com.sas.storage.editableproperties.UnexpectedSubstitutionException



Copyright © 2009 SAS Institute Inc. All Rights Reserved.