|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileProvider
Defines a readonly repository that provides information on files.
Method Summary | |
---|---|
Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> |
getCanonicalIdentifiers(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files)
Returns the canonical list of identifiers for the given file ids. |
Collection<SharedFileDetails> |
getFileDetailsList(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files)
Returns the file details list for the given files. |
Collection<SharedFileInformation> |
getFileInformationList(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files)
Returns the file information list for the given files. |
com.trendmicro.grid.acl.l0.datatypes.FileIdentiferListPage |
getMatchingFiles(TagQueryExpression expression,
com.trendmicro.grid.acl.l0.datatypes.Range range,
int pageNumber)
Returns all known files that are matched by the given tag expression. |
Collection<Boolean> |
isFilesKnown(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files)
Returns true if the identified files exist inside the CoreDB and are not marked 'unknown'. |
Collection<Boolean> |
isFilesTaggedWith(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files,
String[] tags)
Returns true if the given files are tagged with the specified tags. |
Method Detail |
---|
Collection<Boolean> isFilesKnown(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files)
files
- the files to check.
Collection<Boolean> isFilesTaggedWith(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files, String[] tags)
files
- The files to verify.tags
- The tags to check against.
com.trendmicro.grid.acl.l0.datatypes.FileIdentiferListPage getMatchingFiles(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.
Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> getCanonicalIdentifiers(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files)
files
- The files to return the canonical list for.
Collection<SharedFileInformation> getFileInformationList(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files)
files
- The files to return the information list for.
Collection<SharedFileDetails> getFileDetailsList(Collection<com.trendmicro.grid.acl.l0.datatypes.FileIdentifier> files)
files
- The files to return the details list for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |