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:
org.alfresco.repo.content.ContentStore,org.alfresco.repo.tenant.TenantDeployer,TenantRoutingContentStore,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class TenantRoutingFileContentStore extends AbstractTenantRoutingContentStore
MT-aware File Content Store
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.tenant.AbstractTenantRoutingContentStore
tenantService
-
-
Constructor Summary
Constructors Constructor Description TenantRoutingFileContentStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.alfresco.repo.content.ContentStoreinitContentStore(org.springframework.context.ApplicationContext ctx, java.lang.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, setTransactionService
-
Methods inherited from class org.alfresco.repo.content.AbstractRoutingContentStore
delete, exists, getReader, getWriter, getWriter, isContentUrlSupported, isWriteSupported, setStoresCache
-
-
-
-
Method Detail
-
setContentLimitProvider
public void setContentLimitProvider(ContentLimitProvider contentLimitProvider)
Sets a newContentLimitProviderwhich will provide a maximum filesize for content.
-
setFileContentUrlProvider
public void setFileContentUrlProvider(FileContentUrlProvider fileContentUrlProvider)
Sets a newFileContentUrlProviderwhich will build the content url.
-
initContentStore
protected org.alfresco.repo.content.ContentStore initContentStore(org.springframework.context.ApplicationContext ctx, java.lang.String contentRoot)- Specified by:
initContentStorein classAbstractTenantRoutingContentStore
-
-