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 TypeMethodDescriptionvoidAdds an new item to result attributes listvoidWhether the selected LDAP query was changed and the details need to be reinitialized.booleanDeprecated.Use the new authentication mechanism.voidCalled each time when the properties panel for a certain workflow element is loaded.voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.interfaces.workflow.elements.IElementPropertiesBean
updateCurrentProperties, updateCurrentTaskMethods 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:IElementPropertiesBeanCalled 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:
prepareViewForElementin 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
-