com.sas.services.information.metadata
Class OMRGridApplication

com.sas.services.information.metadata.OMRGridApplication
All Implemented Interfaces:
GridApplicationInterface, MetadataInterface, PublicObjectInterface, java.io.Serializable, java.rmi.Remote

public class OMRGridApplication
implements GridApplicationInterface

See Also:
Serialized Form

Field Summary
static com.sas.util.UsageVersion CURRENT_VERSION
           
static java.lang.String GRIDAPP_GRID_OPTIONS_PROPERTY_NAME
           
static java.lang.String GRIDAPP_REQUIRED_RESOURCES_PROPERTY_NAME
           
static java.lang.String GRIDAPP_SAS_OPTIONS_PROPERTY_NAME
           
static java.lang.String GRIDAPP_USER_MAPPING_NAME
           
static java.lang.String GRIDGOSPUBLICTYPE
           
static com.sas.util.UsageVersion OLDEST_VERSION
           
 
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.GridApplicationInterface
GOS_FOLDER, GRIDMGR_FOLDER, GRIDSERVER, IDENTITYTYPE, PROPERTYSET, SHAREDDATA_FOLDER
 
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
  OMRGridApplication()
           
protected OMRGridApplication(java.lang.Class theClass)
           
  OMRGridApplication(RepositoryInterface repos, java.lang.String name, FolderInterface parent)
           
protected OMRGridApplication(RepositoryInterface repos, java.lang.String name, FolderInterface parent, java.lang.Class theClass)
           
  OMRGridApplication(com.sas.metadata.remote.Transformation o)
           
protected OMRGridApplication(com.sas.metadata.remote.Transformation o, java.lang.Class theClass)
           
  OMRGridApplication(com.sas.metadata.remote.impl.TransformationImpl_Stub o)
           
protected OMRGridApplication(com.sas.metadata.remote.impl.TransformationImpl_Stub o, java.lang.Class theClass)
           
  OMRGridApplication(com.sas.metadata.remote.impl.TransformationImpl o)
           
protected OMRGridApplication(com.sas.metadata.remote.impl.TransformationImpl o, java.lang.Class theClass)
           
 
Method Summary
 java.util.List<java.util.HashMap<java.lang.String,java.lang.String>> getGOSRelatedObjects()
           
 java.util.List<com.sas.metadata.remote.ServerComponent> getGOSRelatedServers()
           
 java.util.List<java.lang.String> getGridOptions()
           
 java.lang.String getName()
          Gets the name of the object.
 java.util.List<java.lang.String> getRequiredResources()
           
 java.util.List<java.lang.String> getSASOptions()
           
 java.lang.String getType()
          TODO: This needs to be updated to use a constant from SmartTypes.
 java.util.List<java.lang.String> getUserMappings()
           
 void setGridOptions(java.util.List<java.lang.String> gridOptions)
           
 void setRequiredResources(java.util.List<java.lang.String> resources)
           
 void setSASOptions(java.util.List<java.lang.String> SASOptions)
           
 void setUserMappings(java.util.List<java.lang.String> users)
           
 void validateGridOptionsSet()
           
 
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, 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, 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.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, getParent, 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, isLoggingEnabled, isObjectAlive, isReadCompatible, logMessage, 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, version
 
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
 

Field Detail

GRIDAPP_REQUIRED_RESOURCES_PROPERTY_NAME

public static final java.lang.String GRIDAPP_REQUIRED_RESOURCES_PROPERTY_NAME
See Also:
Constant Field Values

GRIDAPP_GRID_OPTIONS_PROPERTY_NAME

public static final java.lang.String GRIDAPP_GRID_OPTIONS_PROPERTY_NAME
See Also:
Constant Field Values

GRIDAPP_SAS_OPTIONS_PROPERTY_NAME

public static final java.lang.String GRIDAPP_SAS_OPTIONS_PROPERTY_NAME
See Also:
Constant Field Values

GRIDAPP_USER_MAPPING_NAME

public static final java.lang.String GRIDAPP_USER_MAPPING_NAME
See Also:
Constant Field Values

GRIDGOSPUBLICTYPE

public static final java.lang.String GRIDGOSPUBLICTYPE
See Also:
Constant Field Values

OLDEST_VERSION

public static final com.sas.util.UsageVersion OLDEST_VERSION

CURRENT_VERSION

public static final com.sas.util.UsageVersion CURRENT_VERSION
Constructor Detail

OMRGridApplication

public OMRGridApplication()
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

OMRGridApplication

public OMRGridApplication(com.sas.metadata.remote.Transformation o)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

OMRGridApplication

public OMRGridApplication(com.sas.metadata.remote.impl.TransformationImpl o)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

OMRGridApplication

public OMRGridApplication(com.sas.metadata.remote.impl.TransformationImpl_Stub o)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

OMRGridApplication

protected OMRGridApplication(com.sas.metadata.remote.Transformation o,
                             java.lang.Class theClass)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

OMRGridApplication

protected OMRGridApplication(com.sas.metadata.remote.impl.TransformationImpl o,
                             java.lang.Class theClass)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

OMRGridApplication

protected OMRGridApplication(com.sas.metadata.remote.impl.TransformationImpl_Stub o,
                             java.lang.Class theClass)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

OMRGridApplication

protected OMRGridApplication(java.lang.Class theClass)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

OMRGridApplication

public OMRGridApplication(RepositoryInterface repos,
                          java.lang.String name,
                          FolderInterface parent)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

OMRGridApplication

protected OMRGridApplication(RepositoryInterface repos,
                             java.lang.String name,
                             FolderInterface parent,
                             java.lang.Class theClass)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

getType

public java.lang.String getType()
                         throws java.rmi.RemoteException
TODO: This needs to be updated to use a constant from SmartTypes. The new type name needs to be added to that class.

Specified by:
getType in interface MetadataInterface
Overrides:
getType in class Metadata
Returns:
A type string for the object.
Throws:
java.rmi.RemoteException - in the event of remote object failure

getName

public java.lang.String getName()
Description copied from class: Metadata
Gets the name of the object.

Specified by:
getName in interface PublicObjectInterface
Overrides:
getName in class Metadata
Returns:
The name String for the object.

getRequiredResources

public java.util.List<java.lang.String> getRequiredResources()
                                                      throws ServiceException,
                                                             java.rmi.RemoteException
Specified by:
getRequiredResources in interface GridApplicationInterface
Throws:
ServiceException
java.rmi.RemoteException

setRequiredResources

public void setRequiredResources(java.util.List<java.lang.String> resources)
                          throws ServiceException,
                                 java.rmi.RemoteException
Specified by:
setRequiredResources in interface GridApplicationInterface
Throws:
ServiceException
java.rmi.RemoteException

getGridOptions

public java.util.List<java.lang.String> getGridOptions()
                                                throws ServiceException,
                                                       java.rmi.RemoteException
Specified by:
getGridOptions in interface GridApplicationInterface
Throws:
ServiceException
java.rmi.RemoteException

setGridOptions

public void setGridOptions(java.util.List<java.lang.String> gridOptions)
                    throws ServiceException,
                           java.rmi.RemoteException
Specified by:
setGridOptions in interface GridApplicationInterface
Throws:
ServiceException
java.rmi.RemoteException

getSASOptions

public java.util.List<java.lang.String> getSASOptions()
                                               throws ServiceException,
                                                      java.rmi.RemoteException
Specified by:
getSASOptions in interface GridApplicationInterface
Throws:
ServiceException
java.rmi.RemoteException

setSASOptions

public void setSASOptions(java.util.List<java.lang.String> SASOptions)
                   throws ServiceException,
                          java.rmi.RemoteException
Specified by:
setSASOptions in interface GridApplicationInterface
Throws:
ServiceException
java.rmi.RemoteException

getUserMappings

public java.util.List<java.lang.String> getUserMappings()
                                                 throws ServiceException,
                                                        java.rmi.RemoteException
Specified by:
getUserMappings in interface GridApplicationInterface
Throws:
ServiceException
java.rmi.RemoteException

setUserMappings

public void setUserMappings(java.util.List<java.lang.String> users)
                     throws ServiceException,
                            java.rmi.RemoteException
Specified by:
setUserMappings in interface GridApplicationInterface
Throws:
ServiceException
java.rmi.RemoteException

validateGridOptionsSet

public void validateGridOptionsSet()
                            throws java.rmi.RemoteException,
                                   com.sas.metadata.remote.MdException
Throws:
java.rmi.RemoteException
com.sas.metadata.remote.MdException

getGOSRelatedServers

public java.util.List<com.sas.metadata.remote.ServerComponent> getGOSRelatedServers()
                                                                             throws java.rmi.RemoteException,
                                                                                    com.sas.metadata.remote.MdException
Specified by:
getGOSRelatedServers in interface GridApplicationInterface
Throws:
java.rmi.RemoteException
com.sas.metadata.remote.MdException

getGOSRelatedObjects

public java.util.List<java.util.HashMap<java.lang.String,java.lang.String>> getGOSRelatedObjects()
                                                                                          throws java.rmi.RemoteException,
                                                                                                 com.sas.metadata.remote.MdException,
                                                                                                 ServiceException
Specified by:
getGOSRelatedObjects in interface GridApplicationInterface
Throws:
java.rmi.RemoteException
com.sas.metadata.remote.MdException
ServiceException



Copyright © 2009 SAS Institute Inc. All Rights Reserved.