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 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 interface org.lsc.service.IService
      Parameters:
      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.
      Returns:
      The bean, or null if not found
      Throws:
      org.lsc.exception.LscServiceException - May throw a LscServiceException if there is any error with LDIF conversion
    • getListPivots

      public Map<String,org.lsc.LscDatasets> getListPivots() throws org.lsc.exception.LscServiceException
      Returns a list of all the objects' identifiers.
      Specified by:
      getListPivots in interface org.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

      public int execute(String[] runtime, String[] env, String input)
    • executeWithReturn

      public String executeWithReturn(String[] runtime, String[] env, String input) throws org.lsc.exception.LscServiceException
      Throws:
      org.lsc.exception.LscServiceException
    • getParameters

      public static String[] getParameters(String... args)
    • getSupportedConnectionType

      public Collection<Class<? extends org.lsc.configuration.ConnectionType>> getSupportedConnectionType()
      Specified by:
      getSupportedConnectionType in interface org.lsc.service.IService