com.sage.accpac.sm
Interface ActiveApplication


public interface ActiveApplication

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

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
 

Method Detail

getAppID

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

Returns:
a String containing the application ID of the application, in upper case letters.

getAppVersion

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

Returns:
the version of the application, in digits and upper case letters.

getDataLevel

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

Returns:
an integer containing the application's data level.

getSelector

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()

Returns:
the application ID of the base application

getSequence

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

Returns:
the sequence number of an add-on application

isInstalled

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

Returns:
true if the application is also installed;

isStartupOK

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

Returns:
true if the application can start up successfully


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