Package org.alfresco.repo.tenant
Class TenantRoutingFileContentStore
java.lang.Object
org.alfresco.repo.content.AbstractRoutingContentStore
org.alfresco.repo.tenant.AbstractTenantRoutingContentStore
org.alfresco.repo.tenant.TenantRoutingFileContentStore
- All Implemented Interfaces:
ContentStore,TenantDeployer,TenantRoutingContentStore,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
MT-aware File Content Store
-
Field Summary
Fields inherited from class org.alfresco.repo.tenant.AbstractTenantRoutingContentStore
tenantServiceFields inherited from interface org.alfresco.repo.content.ContentStore
NEW_CONTENT_CONTEXT, PROTOCOL_DELIMITER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ContentStoreinitContentStore(org.springframework.context.ApplicationContext ctx, String contentRoot) voidsetContentLimitProvider(ContentLimitProvider contentLimitProvider) Sets a newContentLimitProviderwhich will provide a maximum filesize for content.voidsetFileContentUrlProvider(FileContentUrlProvider fileContentUrlProvider) Sets a newFileContentUrlProviderwhich will build the content url.Methods inherited from class org.alfresco.repo.tenant.AbstractTenantRoutingContentStore
destroy, getAllStores, getRootLocation, getSpaceFree, getSpaceTotal, init, onDisableTenant, onEnableTenant, selectWriteStore, setApplicationContext, setRootLocation, setTenantAdminDAO, setTenantService, setTransactionServiceMethods inherited from class org.alfresco.repo.content.AbstractRoutingContentStore
delete, exists, getReader, getWriter, getWriter, isContentUrlSupported, isWriteSupported, setStoresCacheMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.repo.content.ContentStore
getDirectAccessUrl, isDirectAccessSupported
-
Constructor Details
-
TenantRoutingFileContentStore
public TenantRoutingFileContentStore()
-
-
Method Details
-
setContentLimitProvider
Sets a newContentLimitProviderwhich will provide a maximum filesize for content. -
setFileContentUrlProvider
Sets a newFileContentUrlProviderwhich will build the content url. -
initContentStore
protected ContentStore initContentStore(org.springframework.context.ApplicationContext ctx, String contentRoot) - Specified by:
initContentStorein classAbstractTenantRoutingContentStore
-