Class ExecutableLdifDestinationService
java.lang.Object
org.lsc.plugins.connectors.executable.AbstractExecutableLdifService
org.lsc.plugins.connectors.executable.ExecutableLdifDestinationService
- All Implemented Interfaces:
org.lsc.service.IService,org.lsc.service.IWritableService
public class ExecutableLdifDestinationService
extends AbstractExecutableLdifService
implements org.lsc.service.IWritableService
This class is a generic but configurable implementation to provision data to
any referential which can be scripted
It just requires 6 scripts to :
- list data
- get a piece of data
- add a new
- update a existing data
- rename - or change the identifier
- delete or archive an unused data
- Author:
- Sebastien Bahloul <seb@lsc-project.org>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(org.lsc.LscModifications lm) Apply directory modifications.Methods inherited from class org.lsc.plugins.connectors.executable.AbstractExecutableLdifService
execute, executeWithReturn, getBean, getListPivots, getParameters, getSupportedConnectionTypeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.lsc.service.IService
getBean, getListPivots, getSupportedConnectionType
-
Constructor Details
-
ExecutableLdifDestinationService
public ExecutableLdifDestinationService(org.lsc.configuration.TaskType task) throws org.lsc.exception.LscServiceConfigurationException - Throws:
org.lsc.exception.LscServiceConfigurationException
-
-
Method Details
-
apply
public boolean apply(org.lsc.LscModifications lm) Apply directory modifications.- Specified by:
applyin interfaceorg.lsc.service.IWritableService- Parameters:
lm- Modifications to apply in aJndiModificationsobject.- Returns:
- Operation status
- Throws:
CommunicationException- If the connection to the service is lost, and all other attempts to use this service should fail.
-
getWriteDatasetIds
- Specified by:
getWriteDatasetIdsin interfaceorg.lsc.service.IWritableService
-