Class AbstractExecutableLdifService
java.lang.Object
org.lsc.plugins.connectors.executable.AbstractExecutableLdifService
- All Implemented Interfaces:
org.lsc.service.IService
- Direct Known Subclasses:
ExecutableLdapDestinationService,ExecutableLdifDestinationService,ExecutableLdifSourceService
public abstract class AbstractExecutableLdifService
extends Object
implements org.lsc.service.IService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintexecuteWithReturn(String[] runtime, String[] env, String input) org.lsc.beans.IBeangetBean(org.lsc.Task task, String pivotName, org.lsc.LscDatasets pivotAttributes, boolean fromSameService) The simple object getter according to its identifier.getListPivots(org.lsc.Task task) Returns a list of all the objects' identifiers.static String[]getParameters(String... args) Collection<Class<? extends org.lsc.configuration.ConnectionType>>
-
Constructor Details
-
AbstractExecutableLdifService
public AbstractExecutableLdifService()
-
-
Method Details
-
getBean
public org.lsc.beans.IBean getBean(org.lsc.Task task, String pivotName, org.lsc.LscDatasets pivotAttributes, boolean fromSameService) throws org.lsc.exception.LscServiceException The simple object getter according to its identifier.- Specified by:
getBeanin interfaceorg.lsc.service.IService- Parameters:
pivotName- Name of the entry to be returned, which is the name returned by(used for display only)invalid reference
#getListPivots()pivotAttributes- Map of attribute names and values, which is the data identifier in the source such as returned by. It must identify a unique entry in the source.invalid reference
#getListPivots()- Returns:
- The bean, or null if not found
- Throws:
org.lsc.exception.LscServiceException- May throw aLscServiceExceptionif there is any error with LDIF conversion
-
getListPivots
public Map<String,org.lsc.LscDatasets> getListPivots(org.lsc.Task task) throws org.lsc.exception.LscServiceException Returns a list of all the objects' identifiers.- Specified by:
getListPivotsin interfaceorg.lsc.service.IService- Returns:
- Map of all entries names that are returned by the directory with an associated map of attribute names and values (never null)
- Throws:
org.lsc.exception.LscServiceException
-
execute
-
executeWithReturn
public String executeWithReturn(String[] runtime, String[] env, String input) throws org.lsc.exception.LscServiceException - Throws:
org.lsc.exception.LscServiceException
-
getParameters
-
getSupportedConnectionType
public Collection<Class<? extends org.lsc.configuration.ConnectionType>> getSupportedConnectionType()- Specified by:
getSupportedConnectionTypein interfaceorg.lsc.service.IService
-