|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PackageProvider
Defines a readonly repository that provides information on packages.
| Method Summary | |
|---|---|
SharedNamedFileIdentifierListPage |
getFilesContainedInPackageById(com.trendmicro.grid.acl.l0.datatypes.FileIdentifier packageFile,
int pageNumber)
Returns the ids of all files contained inside the given package. |
SharedNamedFileIdentifierListPage |
getFilesContainedInPackageByName(String packageName,
int pageNumber)
Returns the ids of all files contained inside the given package. |
com.trendmicro.grid.acl.l0.datatypes.NameListPage |
getMatchingPackageNames(TagQueryExpression expression,
com.trendmicro.grid.acl.l0.datatypes.Range range,
int pageNumber)
Returns all known packages that are matched by the given tag expression. |
Collection<SharedPackageDetails> |
getPackageDetailsListById(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files)
Returns the package details on the given package file ids. |
Collection<SharedPackageDetails> |
getPackageDetailsListByName(Collection<String> packageNames)
Returns the package details on the given package names. |
Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> |
getPackageFileIdentifiersByName(Collection<String> packageNames)
Returns the file ID of the file that is associated with the given package. |
Collection<SharedPackageInformation> |
getPackageInformationListById(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files)
Returns the package information list of the given packages. |
Collection<SharedPackageInformation> |
getPackageInformationListByName(Collection<String> packageNames)
Returns the package information list of the given packages. |
com.trendmicro.grid.acl.l0.datatypes.NameListPage |
getPackageNamesInFamily(String packageFamilyName,
int pageNumber)
Returns all package names that are members of the given package family. |
com.trendmicro.grid.acl.l0.datatypes.NameListPage |
getPackagesContainedInPackageById(com.trendmicro.grid.acl.l0.datatypes.FileIdentifier packageFile,
int pageNumber)
Returns the names of all packages contained inside the given package. |
com.trendmicro.grid.acl.l0.datatypes.NameListPage |
getPackagesContainedInPackageByName(String packageName,
int pageNumber)
Returns the names of all packages contained inside the given package. |
com.trendmicro.grid.acl.l0.datatypes.NameListPage |
getReferencingPackageNames(String packageName,
int pageNumber)
Returns the names of all packages that reference the given package directly. |
com.trendmicro.grid.acl.l0.datatypes.NameListPage |
getReferencingPackageNamesById(com.trendmicro.grid.acl.l0.datatypes.FileIdentifier file,
int pageNumber)
Returns the names of all packages that reference the given file directly. |
Collection<Boolean> |
isPackagesTaggedWithById(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files,
String[] tags)
Returns true if the given packages are tagged with the specified tags. |
Collection<Boolean> |
isPackagesTaggedWithByName(Collection<String> packageNames,
String[] tags)
Returns true if the given packages are tagged with the specified tags. |
| Method Detail |
|---|
com.trendmicro.grid.acl.l0.datatypes.NameListPage getPackageNamesInFamily(String packageFamilyName,
int pageNumber)
packageFamilyName - the name of the package family to query package names from.pageNumber - The number of the list page to return, starting from 0 for the first chunk.
Collection<Boolean> isPackagesTaggedWithById(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files,
String[] tags)
files - The package files to verify.tags - The tags to check against.
Collection<Boolean> isPackagesTaggedWithByName(Collection<String> packageNames,
String[] tags)
packageNames - The package to verify.tags - The tags to check against.
com.trendmicro.grid.acl.l0.datatypes.NameListPage getMatchingPackageNames(TagQueryExpression expression,
com.trendmicro.grid.acl.l0.datatypes.Range range,
int pageNumber)
expression - An expression following the tag query grammar used to identify files.range - A range limiting the output or 'null' if no range is specified.pageNumber - The number of the list page to return, starting from 0 for the first chunk.
com.trendmicro.grid.acl.l0.datatypes.NameListPage getReferencingPackageNamesById(com.trendmicro.grid.acl.l0.datatypes.FileIdentifier file,
int pageNumber)
file - The file to return the referencing package names for.pageNumber - The number of the list page to return, starting from 0 for the first page.
com.trendmicro.grid.acl.l0.datatypes.NameListPage getReferencingPackageNames(String packageName,
int pageNumber)
packageName - The package name to return the names of referencing packages.pageNumber - The number of the list page to return, starting from 0 for the first page.
SharedNamedFileIdentifierListPage getFilesContainedInPackageById(com.trendmicro.grid.acl.l0.datatypes.FileIdentifier packageFile,
int pageNumber)
packageFile - The id of the package file to look for its children.pageNumber - The number of the list page to return, starting from 0 for the first page.
SharedNamedFileIdentifierListPage getFilesContainedInPackageByName(String packageName,
int pageNumber)
packageName - The name of the package to look for its children.pageNumber - The number of the list page to return, starting from 0 for the first page.
com.trendmicro.grid.acl.l0.datatypes.NameListPage getPackagesContainedInPackageById(com.trendmicro.grid.acl.l0.datatypes.FileIdentifier packageFile,
int pageNumber)
packageFile - The id of the package file to look for its children.pageNumber - The number of the list page to return, starting from 0 for the first page.
com.trendmicro.grid.acl.l0.datatypes.NameListPage getPackagesContainedInPackageByName(String packageName,
int pageNumber)
packageName - The name of the package to look for its children.pageNumber - The number of the list page to return, starting from 0 for the first page.
Collection<SharedPackageInformation> getPackageInformationListById(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files)
files - The ids of the package files to look for.
Collection<SharedPackageInformation> getPackageInformationListByName(Collection<String> packageNames)
packageNames - The names of the packages to look for.
Collection<SharedPackageDetails> getPackageDetailsListById(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files)
files - The SHA1 hashes of the package files.
Collection<SharedPackageDetails> getPackageDetailsListByName(Collection<String> packageNames)
packageNames - The names the packages to lookup.
Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> getPackageFileIdentifiersByName(Collection<String> packageNames)
packageNames - The names of the packages to look for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||