Package com.kazurayam.materialstore.core
Interface Store
- All Known Implementing Classes:
StoreImpl
public interface Store
defines the public interface of the Store object
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
contains
(JobName jobName, JobTimestamp jobTimestamp) int
copyMaterials
(JobName jobName, JobTimestamp source, JobTimestamp target) int
deleteJobName
(JobName jobName) int
deleteJobTimestamp
(JobName jobName, JobTimestamp jobTimestamp) long
findAllJobTimestamps
(JobName jobName) findAllJobTimestampsPriorTo
(JobName jobName, JobTimestamp jobTimestamp) findAllReportsOf
(JobName jobName) findDifferentiatingJobTimestamps
(JobName jobName) findJobTimestampPriorTo
(JobName jobName, JobTimestamp jobTimestamp) findJobTimestampsReferredBy
(JobName jobName, JobTimestamp jobTimestamp) findLatestJobTimestamp
(JobName jobName) findNthJobTimestamp
(JobName jobName, int nth) getCachedJobber
(JobName jobName, JobTimestamp jobTimestamp) getJobber
(JobName jobName, JobTimestamp jobTimestamp) getPathOf
(JobName jobName, JobTimestamp jobTimestamp) getRoot()
boolean
hasDifferentiatingIndexEntry
(JobName jobName, JobTimestamp jobTimestamp) markNewerThanOrEqualTo
(JobName jobName, JobTimestamp newerThanOrEqualTo) markOlderThan
(JobName jobName, JobTimestamp olderThan) queryAllJobTimestamps
(JobName jobName, QueryOnMetadata query) queryAllJobTimestampsPriorTo
(JobName jobName, QueryOnMetadata query, JobTimestamp jobTimestamp) queryJobTimestampPriorTo
(JobName jobName, QueryOnMetadata query, JobTimestamp jobTimestamp) queryLatestJobTimestamp
(JobName jobName, QueryOnMetadata query) byte[]
readAllLines
(Material material) readAllLines
(Material material, Charset charset) reflect
(MaterialList baseMaterialList) reflect
(MaterialList baseMaterialList, JobTimestamp priorTo) resolveReportFileName
(JobName jobName, JobTimestamp jobTimestamp) long
select
(JobName jobName, JobTimestamp jobTimestamp) select
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType) select
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, QueryOnMetadata query) select
(JobName jobName, JobTimestamp jobTimestamp, QueryOnMetadata query) selectSingle
(JobName jobName, JobTimestamp jobTimestamp) selectSingle
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType) selectSingle
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, QueryOnMetadata query) selectSingle
(JobName jobName, JobTimestamp jobTimestamp, QueryOnMetadata query) write
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, byte[] input) write
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, byte[] input, StoreWriteParameter writeParam) write
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, BufferedImage input) write
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, BufferedImage input, StoreWriteParameter writeParam) write
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, File input, StoreWriteParameter writeParam) write
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, String input, StoreWriteParameter writeParam) write
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, String input, Charset charset) write
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, String input, Charset charset, StoreWriteParameter writeParam) write
(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, Path input, StoreWriteParameter writeParam)
-
Field Details
-
NULL_OBJECT
-
-
Method Details
-
contains
boolean contains(JobName jobName, JobTimestamp jobTimestamp) throws MaterialstoreException, JobNameNotFoundException -
contains
- Throws:
MaterialstoreException
-
copyMaterials
int copyMaterials(JobName jobName, JobTimestamp source, JobTimestamp target) throws MaterialstoreException - Throws:
MaterialstoreException
-
deleteJobName
- Throws:
MaterialstoreException
-
deleteJobTimestamp
int deleteJobTimestamp(JobName jobName, JobTimestamp jobTimestamp) throws MaterialstoreException, JobNameNotFoundException -
export
- Throws:
MaterialstoreException
-
findAllJobNames
- Throws:
MaterialstoreException
-
findAllJobTimestamps
List<JobTimestamp> findAllJobTimestamps(JobName jobName) throws JobNameNotFoundException, MaterialstoreException -
findAllJobTimestampsPriorTo
List<JobTimestamp> findAllJobTimestampsPriorTo(JobName jobName, JobTimestamp jobTimestamp) throws MaterialstoreException, JobNameNotFoundException -
findAllReportsOf
- Throws:
MaterialstoreException
-
findDifferentiatingJobTimestamps
List<JobTimestamp> findDifferentiatingJobTimestamps(JobName jobName) throws MaterialstoreException, JobNameNotFoundException -
hasDifferentiatingIndexEntry
boolean hasDifferentiatingIndexEntry(JobName jobName, JobTimestamp jobTimestamp) throws MaterialstoreException - Throws:
MaterialstoreException
-
markOlderThan
Set<JobTimestamp> markOlderThan(JobName jobName, JobTimestamp olderThan) throws MaterialstoreException, JobNameNotFoundException -
markNewerThanOrEqualTo
Set<JobTimestamp> markNewerThanOrEqualTo(JobName jobName, JobTimestamp newerThanOrEqualTo) throws MaterialstoreException, JobNameNotFoundException -
findJobTimestampsReferredBy
List<JobTimestamp> findJobTimestampsReferredBy(JobName jobName, JobTimestamp jobTimestamp) throws MaterialstoreException - Throws:
MaterialstoreException
-
findJobTimestampPriorTo
JobTimestamp findJobTimestampPriorTo(JobName jobName, JobTimestamp jobTimestamp) throws MaterialstoreException, JobNameNotFoundException -
findLatestJobTimestamp
JobTimestamp findLatestJobTimestamp(JobName jobName) throws MaterialstoreException, JobNameNotFoundException -
findNthJobTimestamp
JobTimestamp findNthJobTimestamp(JobName jobName, int nth) throws MaterialstoreException, JobNameNotFoundException -
getCachedJobber
-
getJobber
- Throws:
MaterialstoreException
-
getPathOf
- Throws:
MaterialstoreException
-
getPathOf
- Throws:
MaterialstoreException
-
getPathOf
-
getRoot
Path getRoot() -
queryAllJobTimestamps
List<JobTimestamp> queryAllJobTimestamps(JobName jobName, QueryOnMetadata query) throws MaterialstoreException, JobNameNotFoundException -
queryAllJobTimestampsPriorTo
List<JobTimestamp> queryAllJobTimestampsPriorTo(JobName jobName, QueryOnMetadata query, JobTimestamp jobTimestamp) throws MaterialstoreException, JobNameNotFoundException -
queryJobTimestampPriorTo
JobTimestamp queryJobTimestampPriorTo(JobName jobName, QueryOnMetadata query, JobTimestamp jobTimestamp) throws MaterialstoreException, JobNameNotFoundException -
queryLatestJobTimestamp
JobTimestamp queryLatestJobTimestamp(JobName jobName, QueryOnMetadata query) throws MaterialstoreException, JobNameNotFoundException -
read
- Throws:
MaterialstoreException
-
readAllLines
- Throws:
MaterialstoreException
-
readAllLines
- Throws:
MaterialstoreException
-
reflect
MaterialList reflect(MaterialList baseMaterialList) throws MaterialstoreException, JobNameNotFoundException -
reflect
MaterialList reflect(MaterialList baseMaterialList, JobTimestamp priorTo) throws MaterialstoreException, JobNameNotFoundException -
resolveReportFileName
-
retrieve
- Throws:
MaterialstoreException
-
select
- Throws:
MaterialstoreException
-
select
MaterialList select(JobName jobName, JobTimestamp jobTimestamp, QueryOnMetadata query) throws MaterialstoreException - Throws:
MaterialstoreException
-
select
MaterialList select(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType) throws MaterialstoreException - Throws:
MaterialstoreException
-
select
MaterialList select(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, QueryOnMetadata query) throws MaterialstoreException - Throws:
MaterialstoreException
-
selectSingle
- Throws:
MaterialstoreException
-
selectSingle
Material selectSingle(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType) throws MaterialstoreException - Throws:
MaterialstoreException
-
selectSingle
Material selectSingle(JobName jobName, JobTimestamp jobTimestamp, QueryOnMetadata query) throws MaterialstoreException - Throws:
MaterialstoreException
-
selectSingle
Material selectSingle(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, QueryOnMetadata query) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
Material write(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, BufferedImage input) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
Material write(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, BufferedImage input, StoreWriteParameter writeParam) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
Material write(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, byte[] input) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
Material write(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, byte[] input, StoreWriteParameter writeParam) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
Material write(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, File input) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
Material write(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, File input, StoreWriteParameter writeParam) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
Material write(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, Path input) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
Material write(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, Path input, StoreWriteParameter writeParam) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
Material write(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, String input) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
Material write(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, String input, StoreWriteParameter writeParam) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
Material write(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, String input, Charset charset) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
Material write(JobName jobName, JobTimestamp jobTimestamp, IFileType fileType, Metadata meta, String input, Charset charset, StoreWriteParameter writeParam) throws MaterialstoreException - Throws:
MaterialstoreException
-