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 TypeMethodDescriptionboolean
apply
(org.lsc.LscModifications lm) Apply directory modifications.Methods inherited from class org.lsc.plugins.connectors.executable.AbstractExecutableLdifService
execute, executeWithReturn, getBean, getListPivots, getParameters, getSupportedConnectionType
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
apply
in interfaceorg.lsc.service.IWritableService
- Parameters:
lm
- Modifications to apply in aJndiModifications
object.- 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:
getWriteDatasetIds
in interfaceorg.lsc.service.IWritableService
-