Node Director
Classes | Public Member Functions | Static Public Member Functions | Static Protected Member Functions | List of all members
sfi.director.application.PackageList Class Reference

Classes

class  Dependency

Public Member Functions

 PackageList (DBObject frame)
 PackageList (DBObject frame, Vector limitToApps)
void addPackages (Vector applist) throws DirectorException
void addQualifiedPackage (DBObject pkg)
void addQualifiedPackages (Vector applist)
void addQualifiedPackages (Enumeration applist)
void addPackages (Enumeration applist) throws DirectorException
Vector requiredPackage (DBObject pkg, DBObject frame) throws DirectorException
 returns package descriptions of a package that is additionally required by the given package DBObject.
Vector requiredPackage (Vector requirements, DBObject frame) throws DirectorException
 returns package descriptions of a package that is additionally required by the given requirements.
void add (PackageList add)
void remove (PackageList sub)
void remove (Vector descs) throws DirectorException
void removeNewer (PackageList sub)
Enumeration elements ()
Vector elementsVector ()
DBSet elementsSet ()
Object clone ()
synchronized void sort ()
 Sort stored packages by dependencies.

Static Public Member Functions

static String filterFromDesc (Vector desc, DBObject frame) throws DirectorException
static DBObject findPackage (DBObject pkg, DBObject frame) throws DirectorException
static DBObject findPackage (Vector desc, DBObject frame) throws DirectorException
static boolean versionGT (DBObject pkg1, DBObject pkg2)
static int versionCompare (DBObject pkg1, DBObject pkg2, String field)
static int numberSize (String atom)
static DBObject getAppGroup (String name) throws DirectorException

Static Protected Member Functions

static void setUniqCN (DBObject pkg)

Constructor & Destructor Documentation

sfi.director.application.PackageList.PackageList ( DBObject  frame)
sfi.director.application.PackageList.PackageList ( DBObject  frame,
Vector  limitToApps 
)

Member Function Documentation

void sfi.director.application.PackageList.add ( PackageList  add)
void sfi.director.application.PackageList.addPackages ( Vector  applist) throws DirectorException
void sfi.director.application.PackageList.addPackages ( Enumeration  applist) throws DirectorException
void sfi.director.application.PackageList.addQualifiedPackage ( DBObject  pkg)
void sfi.director.application.PackageList.addQualifiedPackages ( Vector  applist)
void sfi.director.application.PackageList.addQualifiedPackages ( Enumeration  applist)
Object sfi.director.application.PackageList.clone ( )
Enumeration sfi.director.application.PackageList.elements ( )
DBSet sfi.director.application.PackageList.elementsSet ( )
Vector sfi.director.application.PackageList.elementsVector ( )
static String sfi.director.application.PackageList.filterFromDesc ( Vector  desc,
DBObject  frame 
) throws DirectorException
static
static DBObject sfi.director.application.PackageList.findPackage ( DBObject  pkg,
DBObject  frame 
) throws DirectorException
static
static DBObject sfi.director.application.PackageList.findPackage ( Vector  desc,
DBObject  frame 
) throws DirectorException
static
static DBObject sfi.director.application.PackageList.getAppGroup ( String  name) throws DirectorException
static
static int sfi.director.application.PackageList.numberSize ( String  atom)
static
void sfi.director.application.PackageList.remove ( PackageList  sub)
void sfi.director.application.PackageList.remove ( Vector  descs) throws DirectorException
void sfi.director.application.PackageList.removeNewer ( PackageList  sub)
Vector sfi.director.application.PackageList.requiredPackage ( DBObject  pkg,
DBObject  frame 
) throws DirectorException

returns package descriptions of a package that is additionally required by the given package DBObject.

Referenced by sfi.director.application.HostPackages.autosubscribe().

Vector sfi.director.application.PackageList.requiredPackage ( Vector  requirements,
DBObject  frame 
) throws DirectorException
static void sfi.director.application.PackageList.setUniqCN ( DBObject  pkg)
staticprotected
synchronized void sfi.director.application.PackageList.sort ( )
static int sfi.director.application.PackageList.versionCompare ( DBObject  pkg1,
DBObject  pkg2,
String  field 
)
static
static boolean sfi.director.application.PackageList.versionGT ( DBObject  pkg1,
DBObject  pkg2 
)
static

The documentation for this class was generated from the following file: