public class ExecutableLdapDestinationService extends AbstractExecutableLdifService implements org.lsc.service.IWritableService
Constructor and Description |
---|
ExecutableLdapDestinationService(org.lsc.configuration.TaskType task) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(org.lsc.LscModifications lm)
Apply directory modifications.
|
org.lsc.beans.IBean |
getBean(String pivotName,
org.lsc.LscDatasets pivotAttributes,
boolean fromSameService)
The simple object getter according to its identifier.
|
Map<String,org.lsc.LscDatasets> |
getListPivots()
Returns a list of all the objects' identifiers.
|
Collection<Class<? extends org.lsc.configuration.ConnectionType>> |
getSupportedConnectionType() |
List<String> |
getWriteDatasetIds() |
execute, executeWithReturn, getParameters
public ExecutableLdapDestinationService(org.lsc.configuration.TaskType task) throws org.lsc.exception.LscServiceConfigurationException
org.lsc.exception.LscServiceConfigurationException
public org.lsc.beans.IBean getBean(String pivotName, org.lsc.LscDatasets pivotAttributes, boolean fromSameService) throws org.lsc.exception.LscServiceException
getBean
in interface org.lsc.service.IService
getBean
in class AbstractExecutableLdifService
pivotName
- Name of the entry to be returned, which is the name returned by getListPivots()
(used for display only)pivotAttributes
- Map of attribute names and values, which is the data identifier in the
source such as returned by getListPivots()
. It must identify a unique entry in the
source.fromSameService
- are the pivot attributes provided by the same serviceorg.lsc.exception.LscServiceException
- May throw a NamingException
if the object is not found in the
directory, or if more than one object would be returned.public Map<String,org.lsc.LscDatasets> getListPivots() throws org.lsc.exception.LscServiceException
getListPivots
in interface org.lsc.service.IService
getListPivots
in class AbstractExecutableLdifService
org.lsc.exception.LscServiceException
public List<String> getWriteDatasetIds()
getWriteDatasetIds
in interface org.lsc.service.IWritableService
public boolean apply(org.lsc.LscModifications lm)
apply
in interface org.lsc.service.IWritableService
lm
- Modifications to apply in a JndiModifications
object.CommunicationException
- If the connection to the service is lost,
and all other attempts to use this service should fail.public Collection<Class<? extends org.lsc.configuration.ConnectionType>> getSupportedConnectionType()
getSupportedConnectionType
in class AbstractExecutableLdifService
Copyright © 2010-2014. All Rights Reserved.