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 TypeMethodDescriptionint
executeWithReturn
(String[] runtime, String[] env, String input) org.lsc.beans.IBean
The simple object getter according to its identifier.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(String pivotName, org.lsc.LscDatasets pivotAttributes, boolean fromSameService) throws org.lsc.exception.LscServiceException The simple object getter according to its identifier.- Specified by:
getBean
in interfaceorg.lsc.service.IService
- Parameters:
pivotName
- Name of the entry to be returned, which is the name returned bygetListPivots()
(used for display only)pivotAttributes
- Map of attribute names and values, which is the data identifier in the source such as returned bygetListPivots()
. It must identify a unique entry in the source.- Returns:
- The bean, or null if not found
- Throws:
org.lsc.exception.LscServiceException
- May throw aLscServiceException
if there is any error with LDIF conversion
-
getListPivots
Returns a list of all the objects' identifiers.- Specified by:
getListPivots
in 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:
getSupportedConnectionType
in interfaceorg.lsc.service.IService
-