Class CompanyScopedConfigurationProvider<T extends CompanyScopedConfiguration>
java.lang.Object
com.liferay.portal.security.ldap.configuration.BaseConfigurationProvider<T>
com.liferay.portal.security.ldap.configuration.CompanyScopedConfigurationProvider<T>
- All Implemented Interfaces:
ConfigurationProvider<T>
public abstract class CompanyScopedConfigurationProvider<T extends CompanyScopedConfiguration>
extends BaseConfigurationProvider<T>
implements ConfigurationProvider<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
delete
(long companyId) boolean
delete
(long companyId, long index) getConfiguration
(long companyId) getConfiguration
(long companyId, long index) protected abstract org.osgi.service.cm.ConfigurationAdmin
getConfigurationProperties
(long companyId) getConfigurationProperties
(long companyId, long index) getConfigurations
(long companyId) getConfigurations
(long companyId, boolean useDefault) getConfigurationsProperties
(long companyId) getConfigurationsProperties
(long companyId, boolean useDefault) void
registerConfiguration
(org.osgi.service.cm.Configuration configuration) void
void
updateProperties
(long companyId, long index, Dictionary<String, Object> properties) void
updateProperties
(long companyId, Dictionary<String, Object> properties) Methods inherited from class com.liferay.portal.security.ldap.configuration.BaseConfigurationProvider
getMetatypeId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.security.ldap.configuration.ConfigurationProvider
getMetatype
-
Constructor Details
-
CompanyScopedConfigurationProvider
public CompanyScopedConfigurationProvider()
-
-
Method Details
-
delete
public boolean delete(long companyId) - Specified by:
delete
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
delete
public boolean delete(long companyId, long index) - Specified by:
delete
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
getConfiguration
- Specified by:
getConfiguration
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
getConfiguration
- Specified by:
getConfiguration
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
getConfigurationProperties
- Specified by:
getConfigurationProperties
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
getConfigurationProperties
- Specified by:
getConfigurationProperties
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
getConfigurations
- Specified by:
getConfigurations
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
getConfigurations
- Specified by:
getConfigurations
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
getConfigurationsProperties
- Specified by:
getConfigurationsProperties
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
getConfigurationsProperties
public List<Dictionary<String,Object>> getConfigurationsProperties(long companyId, boolean useDefault) - Specified by:
getConfigurationsProperties
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
registerConfiguration
public void registerConfiguration(org.osgi.service.cm.Configuration configuration) - Specified by:
registerConfiguration
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
unregisterConfiguration
- Specified by:
unregisterConfiguration
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
updateProperties
- Specified by:
updateProperties
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
updateProperties
- Specified by:
updateProperties
in interfaceConfigurationProvider<T extends CompanyScopedConfiguration>
-
getConfigurationAdmin
protected abstract org.osgi.service.cm.ConfigurationAdmin getConfigurationAdmin()
-