public class DefaultCapabilityRegistry
extends com.liferay.portal.kernel.repository.capabilities.BaseCapabilityProvider
implements com.liferay.portal.kernel.repository.registry.CapabilityRegistry<com.liferay.portal.kernel.repository.DocumentRepository>, com.liferay.portal.kernel.repository.capabilities.CapabilityProvider
Constructor and Description |
---|
DefaultCapabilityRegistry(com.liferay.portal.kernel.repository.DocumentRepository documentRepository) |
Modifier and Type | Method and Description |
---|---|
<S extends com.liferay.portal.kernel.repository.capabilities.Capability> |
addExportedCapability(Class<S> capabilityClass,
S capability) |
<S extends com.liferay.portal.kernel.repository.capabilities.Capability> |
addSupportedCapability(Class<S> capabilityClass,
S capability) |
protected String |
getProviderKey() |
com.liferay.portal.kernel.repository.DocumentRepository |
getTarget() |
com.liferay.portal.kernel.repository.LocalRepository |
invokeCapabilityWrappers(com.liferay.portal.kernel.repository.LocalRepository localRepository) |
com.liferay.portal.kernel.repository.Repository |
invokeCapabilityWrappers(com.liferay.portal.kernel.repository.Repository repository) |
void |
registerCapabilityRepositoryEvents(com.liferay.portal.kernel.repository.registry.RepositoryEventRegistry repositoryEventRegistry) |
getCapabilities, getCapability, getInternalCapability, isCapabilityProvided
public DefaultCapabilityRegistry(com.liferay.portal.kernel.repository.DocumentRepository documentRepository)
public <S extends com.liferay.portal.kernel.repository.capabilities.Capability> void addExportedCapability(Class<S> capabilityClass, S capability)
addExportedCapability
in interface com.liferay.portal.kernel.repository.registry.CapabilityRegistry<com.liferay.portal.kernel.repository.DocumentRepository>
addExportedCapability
in class com.liferay.portal.kernel.repository.capabilities.BaseCapabilityProvider
public <S extends com.liferay.portal.kernel.repository.capabilities.Capability> void addSupportedCapability(Class<S> capabilityClass, S capability)
addSupportedCapability
in interface com.liferay.portal.kernel.repository.registry.CapabilityRegistry<com.liferay.portal.kernel.repository.DocumentRepository>
addSupportedCapability
in class com.liferay.portal.kernel.repository.capabilities.BaseCapabilityProvider
public com.liferay.portal.kernel.repository.DocumentRepository getTarget()
getTarget
in interface com.liferay.portal.kernel.repository.registry.CapabilityRegistry<com.liferay.portal.kernel.repository.DocumentRepository>
public com.liferay.portal.kernel.repository.LocalRepository invokeCapabilityWrappers(com.liferay.portal.kernel.repository.LocalRepository localRepository)
public com.liferay.portal.kernel.repository.Repository invokeCapabilityWrappers(com.liferay.portal.kernel.repository.Repository repository)
public void registerCapabilityRepositoryEvents(com.liferay.portal.kernel.repository.registry.RepositoryEventRegistry repositoryEventRegistry)
protected String getProviderKey()
getProviderKey
in class com.liferay.portal.kernel.repository.capabilities.BaseCapabilityProvider