Class FcLdapQueryProps

java.lang.Object
de.xima.fc.workflow.taglib.model.BaseActionProps
de.xima.fc.workflow.model.nodes.FcLdapQueryProps
All Implemented Interfaces:
IDescriptionProviding, INameProviding, Serializable

@NotEmptyIf(field="baseDN",dependants="useClientLdapQuery",target=FcLdapQueryProps.class) @NotEmptyIf(field="query",dependants="useClientLdapQuery",target=FcLdapQueryProps.class) @NotNullIf(field="ldapConnection",dependants={"useClientLdapQuery","useClientLdapConnection"},target=FcLdapQueryProps.class) @NotNullIf(field="ldapQuery",dependants="useClientLdapQuery",target=FcLdapQueryProps.class) public class FcLdapQueryProps extends BaseActionProps implements Serializable
Model class for the database statement action (EWorkflowNodeType.FC_LDAP_QUERY).
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • FcLdapQueryProps

      public FcLdapQueryProps()
  • Method Details

    • getBaseDN

      public String getBaseDN()
      Returns:
      the base-DN
    • getLdapConnection

      public UuidEntityRef getLdapConnection()
      Returns:
      the UuidEntityRef of a LDAP connection from the client section
    • getLdapQuery

      public UuidEntityRef getLdapQuery()
      Returns:
      UuidEntityRef of a client defined LDAP query.
    • getQuery

      public String getQuery()
      Returns:
      the LDAP query
    • getQueryParameters

      public List<Setting<String>> getQueryParameters()
      Returns:
      parameters for the selcted LDAP query.
    • getResultAttributes

      public List<GenericStringModel> getResultAttributes()
      Returns:
      a list of attributes, that should returned from the LDAP query result. If the list is empty, all attributes will be returned.
    • isUseClientLdapConnection

      @Deprecated public boolean isUseClientLdapConnection()
      Deprecated.
      Use LDAPZugriffs only.
      Returns:
      true if the LDAP connection from the client should be used, otherwise false
    • isUseClientLdapQuery

      public boolean isUseClientLdapQuery()
      Returns:
      true if a configured LDAP query should be used. Otherwise a LDAP query will be defined inside this action.
    • setBaseDN

      public void setBaseDN(String baseDN)
      Parameters:
      baseDN - the base DN
    • setLdapConnection

      public void setLdapConnection(UuidEntityRef ldapConnectionUuid)
      Parameters:
      ldapConnectionUuid - the UuidEntityRef of a LDAP connection from the client section
    • setLdapQuery

      public void setLdapQuery(UuidEntityRef queryUuid)
      Parameters:
      queryUuid - a UuidEntityRef of a client defined LDAP query.
    • setQuery

      public void setQuery(String query)
      Parameters:
      query - the LDAP query
    • setQueryParameters

      public void setQueryParameters(List<Setting<String>> queryParameter)
      Parameters:
      queryParameter - parameters for the selected LDAP query.
    • setResultAttributes

      public void setResultAttributes(List<GenericStringModel> resultAttributes)
      Parameters:
      resultAttributes - returns a list of attributes, that should returned from the LDAP query result. If the list is empty, all attributes will be returned.
    • setUseClientLdapConnection

      @Deprecated public void setUseClientLdapConnection(boolean useClientLdapConnection)
      Deprecated.
      Use LDAPZugriffs only.
      Parameters:
      useClientLdapConnection - true if the LDAP connection from the client should be used, otherwise false.
    • setUseClientLdapQuery

      public void setUseClientLdapQuery(boolean useClientLdapQuery)
      Parameters:
      useClientLdapQuery - true if a configured LDAP query should be used. Otherwise a the LDAP query will be defined inside this action.