|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActiveApplications
Collection of active applications on a Sage Accpac ERP database pair (both
company and system databases).
An object of this class cannot be created directly by an application; it
should be obtained from the Program object's
getActiveApplications()
method.
The collection contains only those entries that were present when
getActiveApplications()
was called;
applications activated since then are not included in the collection.
Similarly the actual entries in the collection reflect the state of the
application when getActiveApplications() was called.
Since the collection is iterable and the contents are immutable the easiest
way to use the collection is in a foreach loop:
for (ActiveApplication a: s.getActiveApplications()) { Process the application a }
ActiveApplication
Method Summary | |
---|---|
boolean |
contains(java.lang.String prefix)
returns whether the specified application is included |
ActiveApplication |
get(int index)
Get the specified ActiveApplication object by its index in the collection. |
ActiveApplication |
get(java.lang.String prefix)
Get the specified ActiveApplication object |
int |
getCount()
Get the number of applications in the list. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Methods inherited from interface com.sage.accpac.sm.ModifiableApplications |
---|
add, delete |
Method Detail |
---|
int getCount()
for (ActiveApplication a: s.getActiveApplications()) { Process the application a }
get(int)
,
Iterable.iterator()
ActiveApplication get(int index)
index
- The zero-based index of the object in the collection.
ActiveApplication
getCount()
,
Iterable.iterator()
ActiveApplication get(java.lang.String prefix)
prefix
- The application prefix of the application
boolean contains(java.lang.String prefix)
prefix
- The application prefix of the application
true
if the application is in the list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |