Package org.alfresco.repo.content
Interface ContentStoreCaps
-
public interface ContentStoreCapsContentStore capabilities. Allows us to avoid performinginstanceofquestions which can become a problem when certain proxies or subsystems are in use.See ACE-2682 (tenant creation failure) for motivation.
- Author:
- Matt Ward
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TenantDeployergetTenantDeployer()Returns the ContentStore cast to a TenantDeployer if the underlying instance is of that type.TenantDeployergetTenantRoutingContentStore()Returns the ContentStore cast to a TenantRoutingContentStore if the underlying instance is of that type.
-
-
-
Method Detail
-
getTenantRoutingContentStore
TenantDeployer getTenantRoutingContentStore()
Returns the ContentStore cast to a TenantRoutingContentStore if the underlying instance is of that type. Returns null otherwise.Note, the actual return type is a TenantDeployer (supertype of TenantRoutingContentStore) since the data model has no knowledge of that subtype. This interface may need to move to a different project.
- Returns:
- TenantRoutingContentStore
-
getTenantDeployer
TenantDeployer getTenantDeployer()
Returns the ContentStore cast to a TenantDeployer if the underlying instance is of that type. Returns null otherwise.- Returns:
- TenantDeployer
-
-