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 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

      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

      @Deprecated public boolean isExistsClientLdapConnection()
      Deprecated.
      Use the new authentication mechanism.
      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 interface IElementPropertiesBean<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 when IElementPropertiesBean.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