Package de.xima.fc.workflow.model.nodes
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
-
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
-
-
Constructor Summary
Constructors Constructor Description FcLdapQueryProps()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getBaseDN()
UuidEntityRef
getLdapConnection()
UuidEntityRef
getLdapQuery()
String
getQuery()
List<Setting<String>>
getQueryParameters()
List<GenericStringModel>
getResultAttributes()
boolean
isUseClientLdapConnection()
Deprecated.UseLDAPZugriff
s only.boolean
isUseClientLdapQuery()
void
setBaseDN(String baseDN)
void
setLdapConnection(UuidEntityRef ldapConnectionUuid)
void
setLdapQuery(UuidEntityRef queryUuid)
void
setQuery(String query)
void
setQueryParameters(List<Setting<String>> queryParameter)
void
setResultAttributes(List<GenericStringModel> resultAttributes)
void
setUseClientLdapConnection(boolean useClientLdapConnection)
Deprecated.UseLDAPZugriff
s only.void
setUseClientLdapQuery(boolean useClientLdapQuery)
-
Methods inherited from class de.xima.fc.workflow.taglib.model.BaseActionProps
getBeschreibung, getColor, getDescription, getIcon, getName, setColor, setDescription, setIcon, setName
-
-
-
-
Method Detail
-
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.UseLDAPZugriff
s only.- Returns:
true
if the LDAP connection from the client should be used, otherwisefalse
-
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
- theUuidEntityRef
of a LDAP connection from the client section
-
setLdapQuery
public void setLdapQuery(UuidEntityRef queryUuid)
- Parameters:
queryUuid
- aUuidEntityRef
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.UseLDAPZugriff
s only.- Parameters:
useClientLdapConnection
-true
if the LDAP connection from the client should be used, otherwisefalse
.
-
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.
-
-