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 theEWorkflowNodeType.FC_LDAP_QUERY
action.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FcLdapQueryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResultAttribute()
Adds an new item to result attributes listvoid
checkForQuerySelectionChange()
Whether the selected LDAP query was changed and the details need to be reinitialized.String
getPreviewBaseDN()
String
getPreviewQuery()
String
getPreviewReturnedAttrs()
boolean
isExistsClientLdapConnection()
void
prepareViewForElement(IElementPropInitParams<FcLdapQueryProps> params)
Called each time when the properties panel for a certain workflow element is loaded.void
removeResultAttribute(GenericStringModel value)
-
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
-
-
-
-
Method Detail
-
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
public String getPreviewBaseDN()
- Returns:
- the configured Base DN from the current selected LDAP query.
-
getPreviewQuery
public String getPreviewQuery()
- Returns:
- the query string from the selected LDAP query.
-
getPreviewReturnedAttrs
public String getPreviewReturnedAttrs()
- Returns:
- list of query return attributes from the current selected LDAP query.
-
isExistsClientLdapConnection
public boolean isExistsClientLdapConnection()
- Returns:
- Whether a client LDAP connection is available.
-
prepareViewForElement
public void prepareViewForElement(IElementPropInitParams<FcLdapQueryProps> params) throws Exception
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
public void removeResultAttribute(GenericStringModel value)
- Parameters:
value
- the value to remove from result attributes list
-
-