Node Director
|
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) |
sfi.director.application.PackageList.PackageList | ( | DBObject | frame | ) |
Referenced by sfi.director.application.PackageList.clone().
sfi.director.application.PackageList.PackageList | ( | DBObject | frame, |
Vector | limitToApps | ||
) |
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 |
References sfi.director.repository.DBSet.add(), sfi.director.application.PackageList.addPackages(), sfi.director.application.PackageList.findPackage(), sfi.director.repository.DBSet.get(), sfi.director.application.PackageList.getAppGroup(), sfi.director.repository.DBObject.getAttribute(), sfi.director.repository.DBObject.getDN(), and sfi.director.util.Tools.split().
void sfi.director.application.PackageList.addQualifiedPackage | ( | DBObject | pkg | ) |
References sfi.director.repository.DBSet.add(), and sfi.director.application.PackageList.setUniqCN().
Referenced by sfi.director.application.HostPackages.autosubscribe().
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 | ( | ) |
References sfi.director.repository.DBSet.elementsVector().
Referenced by sfi.director.application.HostPackages.autosubscribe().
|
static |
|
static |
References sfi.director.application.PackageManager.pkgToString(), and sfi.director.util.Tools.split().
Referenced by sfi.director.application.PackageList.addPackages(), sfi.director.repository.config.AppPackages.get(), sfi.director.application.PackageList.requiredPackage(), and sfi.director.application.PackageList.sort().
|
static |
References sfi.director.util.Cache.add(), sfi.director.util.Setup.appsdb, sfi.director.util.Tools.debug(), sfi.director.application.PackageList.filterFromDesc(), sfi.director.util.Cache.get(), sfi.director.repository.DBObject.getAttribute(), sfi.director.util.Options.getOption(), sfi.director.repository.DBObject.getValue(), sfi.director.repository.Filter.matches(), sfi.director.application.PackageManager.pkgCn(), sfi.director.repository.DBConnection.search(), sfi.director.repository.DBObject.setDN(), sfi.director.application.PackageList.setUniqCN(), sfi.director.repository.DBObject.toLDIF(), sfi.director.repository.DBConnection.unwrap(), and sfi.director.application.PackageList.versionGT().
|
static |
|
static |
Referenced by sfi.director.application.PackageList.versionCompare().
void sfi.director.application.PackageList.remove | ( | PackageList | sub | ) |
References sfi.director.repository.DBSet.remove().
Referenced by sfi.director.application.HostPackages.add().
void sfi.director.application.PackageList.remove | ( | Vector | descs | ) | throws DirectorException |
References sfi.director.repository.DBSet.elements(), sfi.director.application.PackageList.filterFromDesc(), sfi.director.application.PackageList.getAppGroup(), sfi.director.repository.DBObject.getAttribute(), sfi.director.repository.DBSet.remove(), sfi.director.util.Options.setOption(), sfi.director.util.Tools.split(), and sfi.director.repository.DBSet.transform().
void sfi.director.application.PackageList.removeNewer | ( | PackageList | sub | ) |
References sfi.director.repository.DBSet.dropIndex(), sfi.director.repository.DBSet.elementsVector(), sfi.director.repository.DBSetIndex.get(), sfi.director.repository.DBObject.getEValue(), sfi.director.repository.DBSet.remove(), sfi.director.repository.DBSet.setupIndex(), and sfi.director.application.PackageList.versionGT().
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 |
returns package descriptions of a package that is additionally required by the given requirements.
References sfi.director.util.Cache.add(), sfi.director.util.Setup.appsdb, sfi.director.repository.DBSet.elements(), sfi.director.repository.DBConnection.escapeSearchval(), sfi.director.application.PackageList.findPackage(), sfi.director.util.Cache.get(), sfi.director.repository.DBObject.getAttribute(), sfi.director.repository.DBObject.getEValue(), sfi.director.repository.DBObject.getValue(), sfi.director.repository.DBObject.removeAttribute(), sfi.director.repository.DBConnection.search(), sfi.director.repository.DBConnection.unwrap(), and sfi.director.application.PackageList.versionGT().
|
staticprotected |
synchronized void sfi.director.application.PackageList.sort | ( | ) |
Sort stored packages by dependencies.
References sfi.director.repository.DBSet.add(), sfi.director.repository.DBSet.elements(), sfi.director.application.PackageList.findPackage(), sfi.director.repository.DBObject.getAttribute(), sfi.director.repository.DBObject.getValue(), and sfi.director.util.Tools.split().