public class TokenPackageFactory extends HibernateFactory
Constructor and Description |
---|
TokenPackageFactory() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.log4j.Logger |
getLogger()
Get the Logger for the derived class so log messages show up on the
correct class
|
static TokenPackage |
lookupPackage(Token tokenIn,
PackageName nameIn,
PackageArch archIn)
Lookup a token package by package name and architecture.
|
static java.util.List<TokenPackage> |
lookupPackages(Token tokenIn)
Lookup token packages by token.
|
static java.util.List<TokenPackage> |
lookupPackages(Token tokenIn,
PackageName nameIn)
Lookup token packages by package name.
|
addConfigurator, blobToByteArray, byteArrayToBlob, closeSession, closeSessionFactory, commitTransaction, createSessionFactory, createSessionFactory, executeCallableMode, executeSelectMode, getBlobContents, getByteArrayContents, getObject, getSession, initialize, inTransaction, isClosed, isInitialized, listObjectsByNamedQuery, listObjectsByNamedQuery, listObjectsByNamedQuery, lockObject, lookupObjectByNamedQuery, lookupObjectByNamedQuery, reload, removeObject, rollbackTransaction, saveObject, saveObject, stringToByteArray
public static java.util.List<TokenPackage> lookupPackages(Token tokenIn)
tokenIn
- the token the packages are associated withpublic static java.util.List<TokenPackage> lookupPackages(Token tokenIn, PackageName nameIn)
tokenIn
- the token the packages are associated withnameIn
- the name of the package being looked forpublic static TokenPackage lookupPackage(Token tokenIn, PackageName nameIn, PackageArch archIn)
tokenIn
- the token the packages are associated withnameIn
- the name of the package requestedarchIn
- the architecture of the package requestedprotected org.apache.log4j.Logger getLogger()
getLogger
in class HibernateFactory