
com.liferay.portal.security.ldap.configuration.ConfigurationProvider Maven / Gradle / Ivy
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.security.ldap.configuration;
import java.util.Dictionary;
import java.util.List;
import org.osgi.service.cm.Configuration;
/**
* @author Michael C. Han
*/
public interface ConfigurationProvider {
public boolean delete(long companyId);
public boolean delete(long companyId, long index);
public T getConfiguration(long companyId);
public T getConfiguration(long companyId, long index);
public Dictionary getConfigurationProperties(
long companyId);
public Dictionary getConfigurationProperties(
long companyId, long index);
public List getConfigurations(long companyId);
public List getConfigurations(long companyId, boolean useDefault);
public List> getConfigurationsProperties(
long companyId);
public List> getConfigurationsProperties(
long companyId, boolean useDefault);
public Class getMetatype();
public void registerConfiguration(Configuration configuration);
public void unregisterConfiguration(Configuration configuration);
public void updateProperties(
long companyId, Dictionary properties);
public void updateProperties(
long companyId, long index, Dictionary properties);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy