Class Application

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.OMRSoftwareComponent
com.sas.services.information.metadata.Application
All Implemented Interfaces:
ApplicationInterface, MetadataInterface, SoftwareComponentInterface, PublicObjectInterface, com.sas.services.util.UpgradeInterface, com.sas.storage.editableproperties.LocalizableProperties, Serializable, Remote

public class Application extends OMRSoftwareComponent implements ApplicationInterface, com.sas.storage.editableproperties.LocalizableProperties, UpgradeInterface
See Also:
  • Field Details

    • OLDEST_VERSION

      public static final com.sas.util.UsageVersion OLDEST_VERSION
    • CURRENT_VERSION

      public static final com.sas.util.UsageVersion CURRENT_VERSION
  • Constructor Details

    • Application

      public Application() throws RemoteException
      Throws:
      RemoteException
    • Application

      protected Application(Class theClass) throws RemoteException
      Throws:
      RemoteException
    • Application

      protected Application(Object o, Class theClass) throws RemoteException
      Throws:
      RemoteException
    • Application

      public Application(Application o) throws RemoteException
      Throws:
      RemoteException
    • Application

      public Application(com.sas.metadata.remote.impl.SoftwareComponentImpl o) throws RemoteException
      Throws:
      RemoteException
    • Application

      public Application(com.sas.metadata.remote.impl.SoftwareComponentImpl_Stub o) throws RemoteException
      Throws:
      RemoteException
    • Application

      public Application(RepositoryInterface repos, String name, FolderInterface parent) throws RemoteException
      Throws:
      RemoteException
  • Method Details

    • getType

      public String getType() throws RemoteException
      Description copied from class: Metadata
      Get the object type. Subclasses of Metadata will return a repository-neutral type string. If no subclass exists, Metadata returns the repository-specific type.
      Specified by:
      getType in interface MetadataInterface
      Overrides:
      getType in class OMRSoftwareComponent
      Returns:
      A type string for the object.
      Throws:
      RemoteException - in the event of remote object failure
    • getParentApplication

      public ApplicationInterface getParentApplication() throws ServiceException, RemoteException
      Description copied from interface: ApplicationInterface
      Returns the parent application of this application or null if no parent is defined. Parent applications are associated to the application via the ImplementedObjects association.
      Specified by:
      getParentApplication in interface ApplicationInterface
      Returns:
      the parent application
      Throws:
      ServiceException - If a service level error occurs.
      RemoteException - In the event of remote object failure.
    • getActions

      public Map<String,ApplicationAuthorization> getActions() throws ServiceException, RemoteException
      Description copied from interface: ApplicationInterface
      Returns a map of all actions defined for the application. The map is keyed by application action identifier.
      Specified by:
      getActions in interface ApplicationInterface
      Returns:
      a map of application actions
      Throws:
      ServiceException
      RemoteException
    • getLocalizableProperties

      public com.sas.storage.editableproperties.PropertyList getLocalizableProperties() throws com.sas.storage.editableproperties.UnexpectedLocalizationException
      Specified by:
      getLocalizableProperties in interface com.sas.storage.editableproperties.LocalizableProperties
      Throws:
      com.sas.storage.editableproperties.UnexpectedLocalizationException
    • setLocalizableProperties

      public void setLocalizableProperties(com.sas.storage.editableproperties.PropertyMap map) throws com.sas.storage.editableproperties.UnexpectedLocalizationException
      Specified by:
      setLocalizableProperties in interface com.sas.storage.editableproperties.LocalizableProperties
      Throws:
      com.sas.storage.editableproperties.UnexpectedLocalizationException
    • upgradeFromPreviousVersion

      public void upgradeFromPreviousVersion() throws RemoteException, ServiceException
      Description copied from interface: UpgradeInterface
      Upgrades an object from a previous version to the most current version supported.
      Specified by:
      upgradeFromPreviousVersion in interface UpgradeInterface
      Throws:
      RemoteException - a remote object failure
      ServiceException - if the object could not be upgraded
    • isGridCapable

      public boolean isGridCapable() throws ServiceException, RemoteException
      Description copied from interface: ApplicationInterface
      Returns true if application is marked as a grid capable application.
      Specified by:
      isGridCapable in interface ApplicationInterface
      Returns:
      true if application is marked as a grid capable application
      Throws:
      ServiceException
      RemoteException
    • setGridCapable

      public void setGridCapable(boolean gridCapable) throws ServiceException, RemoteException
      Description copied from interface: ApplicationInterface
      Sets the gridCapable property for this application.
      Specified by:
      setGridCapable in interface ApplicationInterface
      Parameters:
      gridCapable -
      Throws:
      ServiceException
      RemoteException