public class RepositoryConnectorDelegateImpl extends RepositoryConnectorDelegateBase
Constructor and Description |
---|
RepositoryConnectorDelegateImpl() |
addRepositoryConnector, assertRepositorySizeLimitNotReached, deleteContent, getClientStatisticDao, getContent, getContent, getDefaultRepositoryConnector, getMetadata, getRepositoryConnector, getRepositoryConnectors, removeRepositoryConnector, removeRepositoryConnector, setClientStatisticDao, storeContent
protected String handleAddRepositoryConnector(RepositoryConnector connector)
handleAddRepositoryConnector
in class RepositoryConnectorDelegateBase
protected void handleAssertRepositorySizeLimitNotReached(RepositoryConnector connector, long sizeOfNewDataToStore) throws ResourceSizeLimitReachedException
handleAssertRepositorySizeLimitNotReached
in class RepositoryConnectorDelegateBase
ResourceSizeLimitReachedException
protected void handleDeleteContent(ContentId contentId) throws ContentRepositoryException
RepositoryConnectorDelegateBase
RepositoryConnectorDelegateBase.deleteContent(com.communote.server.core.crc.vo.ContentId)
handleDeleteContent
in class RepositoryConnectorDelegateBase
ContentRepositoryException
protected AttachmentTO handleGetContent(ContentId contentId) throws ContentRepositoryException
RepositoryConnectorDelegateBase.getContent(ContentId)
handleGetContent
in class RepositoryConnectorDelegateBase
ContentRepositoryException
protected AttachmentTO handleGetContent(ExtendedContentId contentId) throws ContentRepositoryException
RepositoryConnectorDelegateBase.getContent(ExtendedContentId)
handleGetContent
in class RepositoryConnectorDelegateBase
ContentRepositoryException
protected RepositoryConnector handleGetDefaultRepositoryConnector() throws RepositoryConnectorNotFoundException
#getDefaultRepository()
handleGetDefaultRepositoryConnector
in class RepositoryConnectorDelegateBase
RepositoryConnectorNotFoundException
protected ContentMetadata handleGetMetadata(ContentId contentId) throws RepositoryConnectorNotFoundException
RepositoryConnectorDelegateBase.getMetadata(com.communote.server.core.crc.vo.ContentId)
handleGetMetadata
in class RepositoryConnectorDelegateBase
RepositoryConnectorNotFoundException
protected RepositoryConnector handleGetRepositoryConnector(String connectorId) throws RepositoryConnectorNotFoundException
RepositoryConnectorDelegateBase.getRepositoryConnector(String)
handleGetRepositoryConnector
in class RepositoryConnectorDelegateBase
RepositoryConnectorNotFoundException
protected Collection<RepositoryConnector> handleGetRepositoryConnectors()
handleGetRepositoryConnectors
in class RepositoryConnectorDelegateBase
protected void handleRemoveRepositoryConnector(RepositoryConnector connector)
handleRemoveRepositoryConnector
in class RepositoryConnectorDelegateBase
protected void handleRemoveRepositoryConnector(String connectorId)
handleRemoveRepositoryConnector
in class RepositoryConnectorDelegateBase
protected ContentId handleStoreContent(AttachmentTO contentTo) throws ContentRepositoryException, ResourceSizeLimitReachedException
RepositoryConnectorDelegateBase
RepositoryConnectorDelegateBase.storeContent(com.communote.server.core.vo.content.AttachmentTO)
handleStoreContent
in class RepositoryConnectorDelegateBase
ContentRepositoryException
ResourceSizeLimitReachedException
public void initIfNecessary()
Copyright © 2019 Communote team. All rights reserved.