com.sage.accpac.sm
Class ActiveApplication

java.lang.Object
  extended by com.sage.accpac.sm.ActiveApplication

@Immutable
@ThreadSafe
public final class ActiveApplication
extends java.lang.Object

Represents an activated application on a Sage Accpac ERP database pair.
An object of this class is obtained from the ActiveApplications collection.
The ActiveApplication object reflects the state of the application when the collection was created by calling the program's getActiveApplications() method. If the application is changed, for example by being upgraded to a later version, the change will not be reflected in this object; getActiveApplications() must be called again.

See Also:
ActiveApplications
Thread safety
Immutable and therefore thread-safe

Method Summary
 java.lang.String getAppID()
          Gets the application ID of the application, in upper case letters.
 java.lang.String getAppVersion()
          Gets the version of the application, in digits and upper case letters.
 int getDataLevel()
          Gets the application's data level.
 java.lang.String getSelector()
          Gets the application ID of the base application, in upper case letters.
 java.lang.String getSequence()
          Gets the sequence number of an add-on application.
 boolean isInstalled()
          Indicates if the application is installed on the current system.
 boolean isStartupOK()
          Indicates if the application can start up successfully
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAppID

public java.lang.String getAppID()
Gets the application ID of the application, in upper case letters.


getAppVersion

public java.lang.String getAppVersion()
Gets the version of the application, in digits and upper case letters.


getDataLevel

public int getDataLevel()
Gets the application's data level.


getSelector

public java.lang.String getSelector()
Gets the application ID of the base application, in upper case letters. If the application is a base application the selector is the same as the value returned by getAppID()


getSequence

public java.lang.String getSequence()
Gets the sequence number of an add-on application. Base applications have a sequence number of "00"


isInstalled

public boolean isInstalled()
Indicates if the application is installed on the current system.


isStartupOK

public boolean isStartupOK()
Indicates if the application can start up successfully



Copyright © 2010 Sage Software, Inc. All rights reserved.