Interface StudioBlobStore
- All Superinterfaces:
org.craftercms.commons.file.blob.BlobStore,ContentRepository,ContentRepository
- All Known Subinterfaces:
StudioBlobStoreAdapter
- All Known Implementing Classes:
StudioAwsS3BlobStore
public interface StudioBlobStore
extends org.craftercms.commons.file.blob.BlobStore, ContentRepository, ContentRepository
Extension of
BlobStore that adds support for Studio content repository operations- Since:
- 3.1.6
- Author:
- joseross
-
Field Summary
Fields inherited from interface org.craftercms.commons.file.blob.BlobStore
CONFIG_KEY_CONFIGURATION, CONFIG_KEY_ID, CONFIG_KEY_MAPPING, CONFIG_KEY_MAPPING_PREFIX, CONFIG_KEY_MAPPING_PUBLISHING_TARGET, CONFIG_KEY_MAPPING_STORE_TARGET, CONFIG_KEY_PATTERN, CONFIG_KEY_READ_ONLY, CONFIG_KEY_STORE, CONFIG_KEY_TYPE -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyBlobs(StudioBlobStore sourceStore, String environment, List<String> items) Copy the blob items from the source storeorg.craftercms.commons.file.blob.BlobgetReference(String path) Return a reference to a file in the storebooleanIndicate if the store is read onlyMethods inherited from interface org.craftercms.commons.file.blob.BlobStore
getId, getResource, init, isCompatibleMethods inherited from interface org.craftercms.studio.api.v1.repository.ContentRepository
addRemote, cleanupRepositories, contentExists, copyContent, createFolder, createVersion, createVersion, deleteContent, deleteGitLogForSite, deleteSite, getContent, getContent, getContentChildren, getContentVersionHistory, getEditCommitIds, getRepoFirstCommitId, getRepoLastCommitId, initialPublish, insertFullGitLog, isFolder, listRemote, lockItemForPublishing, moveContent, moveContent, pullFromRemote, pushToRemote, removeRemoteRepositoriesForSite, resetStagingRepository, revertContent, shallowContentExists, unLockItem, unLockItemForPublishing, writeContentMethods inherited from interface org.craftercms.studio.api.v2.repository.ContentRepository
cancelPublishAll, checkContentExists, commitIdExists, commitIdExists, completePublishAll, contentExists, countUnprocessedCommits, createSiteCloneRemote, createSiteFromBlueprint, duplicateSite, getChangeSetPathsFromDelta, getContentByCommitId, getContentItemHistory, getContentSize, getGitLog, getItem, getItemEnvironmentProperties, getItemPaths, getLastEditCommitId, getOperations, getOperationsFromDelta, getPreviousCommitId, getPublishingHistory, getRepoFirstCommitId, getRepoLastCommitId, getSubtreeItems, getSubtreeItems, getUnauditedCommits, getUnprocessedCommits, initialPublish, insertGitLog, insertGitLog, itemUnlock, lockItem, markGitLogAudited, markGitLogProcessedBeforeMarker, markGitLogVerifiedProcessed, markGitLogVerifiedProcessedBulk, populateGitLog, preparePublishAll, publish, publishAll, publishedRepositoryExists, removeRemote, repositoryExists, shallowContentExists, updateGitlog, upsertGitLogList
-
Method Details
-
getReference
Return a reference to a file in the store- Parameters:
path- the path of the file- Returns:
- the blob object
-
isReadOnly
boolean isReadOnly()Indicate if the store is read only- Returns:
- true if the store is read only
-
copyBlobs
Copy the blob items from the source store- Parameters:
sourceStore- the source storeenvironment- the environment (publishing target)items- the items to copy
-