Class FcLdapQueryBean
java.lang.Object
de.xima.fc.workflow.designer.bean.nodes.FcLdapQueryBean
- All Implemented Interfaces:
IElementPropertiesBean<FcLdapQueryProps,
,WorkflowNode> INodePropertiesBean<FcLdapQueryProps>
,Serializable
@ViewScoped
@Named
public class FcLdapQueryBean
extends Object
implements INodePropertiesBean<FcLdapQueryProps>, Serializable
Bean with additional logic for controlling the
EWorkflowNodeType.FC_LDAP_QUERY
action.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds an new item to result attributes listvoid
Whether the selected LDAP query was changed and the details need to be reinitialized.boolean
Deprecated.Use the new authentication mechanism.void
Called each time when the properties panel for a certain workflow element is loaded.void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.xima.fc.interfaces.workflow.elements.IElementPropertiesBean
updateCurrentProperties, updateCurrentTask
Methods inherited from interface de.xima.fc.interfaces.workflow.nodes.INodePropertiesBean
retrieveCurrentProperties
-
Constructor Details
-
FcLdapQueryBean
public FcLdapQueryBean()
-
-
Method Details
-
addResultAttribute
public void addResultAttribute()Adds an new item to result attributes list -
checkForQuerySelectionChange
public void checkForQuerySelectionChange()Whether the selected LDAP query was changed and the details need to be reinitialized. -
getPreviewBaseDN
- Returns:
- the configured Base DN from the current selected LDAP query.
-
getPreviewQuery
- Returns:
- the query string from the selected LDAP query.
-
getPreviewReturnedAttrs
- Returns:
- list of query return attributes from the current selected LDAP query.
-
isExistsClientLdapConnection
Deprecated.Use the new authentication mechanism.- Returns:
- Whether a client LDAP connection is available.
-
prepareViewForElement
Description copied from interface:IElementPropertiesBean
Called each time when the properties panel for a certain workflow element is loaded. This method is passed the workflow element and the properties model, and should perform whatever initialization is necessary in order for the user to start editing the properties.- Specified by:
prepareViewForElement
in interfaceIElementPropertiesBean<FcLdapQueryProps,
WorkflowNode> - Parameters:
params
- The current element to be edited and its properties. You may store a reference to these, modify them, and return them whenIElementPropertiesBean.retrieveCurrentProperties(Object)
is called.- Throws:
Exception
- When the initialization failed. If an exception is thrown, the user is shown an error indicating that the properties cannot be edited.
-
removeResultAttribute
- Parameters:
value
- the value to remove from result attributes list
-