com.liferay.portal.repository.registry
Class RepositoryClassDefinition
java.lang.Object
com.liferay.portal.repository.registry.RepositoryClassDefinition
- All Implemented Interfaces:
- RepositoryFactoryRegistry, RepositoryConfiguration, RepositoryFactory
public class RepositoryClassDefinition
- extends Object
- implements RepositoryConfiguration, RepositoryFactory, RepositoryFactoryRegistry
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryClassDefinition
protected RepositoryClassDefinition(RepositoryDefiner repositoryDefiner,
RepositoryEventTrigger rootRepositoryEventTrigger)
fromRepositoryDefiner
public static final RepositoryClassDefinition fromRepositoryDefiner(RepositoryDefiner repositoryDefiner)
createLocalRepository
public LocalRepository createLocalRepository(long repositoryId)
throws PortalException
- Specified by:
createLocalRepository in interface RepositoryFactory
- Throws:
PortalException
createRepository
public Repository createRepository(long repositoryId)
throws PortalException
- Specified by:
createRepository in interface RepositoryFactory
- Throws:
PortalException
getClassName
public String getClassName()
getRepositoryTypeLabel
public String getRepositoryTypeLabel(Locale locale)
getSupportedConfigurations
public String[] getSupportedConfigurations()
- Specified by:
getSupportedConfigurations in interface RepositoryConfiguration
getSupportedParameters
public String[][] getSupportedParameters()
- Specified by:
getSupportedParameters in interface RepositoryConfiguration
setRepositoryFactory
public void setRepositoryFactory(RepositoryFactory repositoryFactory)
- Specified by:
setRepositoryFactory in interface RepositoryFactoryRegistry
setUpCommonCapabilities
protected void setUpCommonCapabilities(DocumentRepository documentRepository,
DefaultCapabilityRegistry capabilityRegistry,
RepositoryEventTrigger repositoryEventTrigger)