Class UIFormInputSetWithAction

All Implemented Interfaces:
UIFormInput

public class UIFormInputSetWithAction extends UIFormInputSet implements UIFormInput
Created by The eXo Platform SARL Author : Dang Van Minh minh.dang@exoplatform.com Sep 20, 2006
  • Constructor Details

    • UIFormInputSetWithAction

      public UIFormInputSetWithAction(String name)
      Instantiates a new uI form input set with action.
      Parameters:
      name - the name
  • Method Details

    • isShowActionInfo

      public boolean isShowActionInfo()
      Checks if is show action info.
      Returns:
      true, if is show action info
    • showActionInfo

      public void showActionInfo(boolean isShow)
      Show action info.
      Parameters:
      isShow - the is show
    • setActions

      public void setActions(String[] actionList, String[] values)
      Sets the actions.
      Parameters:
      actionList - the action list
      values - the values
    • getInputSetActions

      public String[] getInputSetActions()
      Gets the input set actions.
      Returns:
      the input set actions
    • getActionValues

      public String[] getActionValues()
      Gets the action values.
      Returns:
      the action values
    • getFormName

      public String getFormName()
      Gets the form name.
      Returns:
      the form name
    • isShowOnly

      public boolean isShowOnly()
      Checks if is show only.
      Returns:
      true, if is show only
    • setIsShowOnly

      public void setIsShowOnly(boolean isShowOnly)
      Sets the checks if is show only.
      Parameters:
      isShowOnly - the new checks if is show only
    • isDeleteOnly

      public boolean isDeleteOnly()
      Checks if is delete only.
      Returns:
      true, if is delete only
    • setIsDeleteOnly

      public void setIsDeleteOnly(boolean isDeleteOnly)
      Sets the checks if is delete only.
      Parameters:
      isDeleteOnly - the new checks if is delete only
    • setListInfoField

      public void setListInfoField(String fieldName, List<String> listInfor)
      Sets the list info field.
      Parameters:
      fieldName - the field name
      listInfor - the list infor
    • getListInfoField

      public List<String> getListInfoField(String fieldName)
      Gets the list info field.
      Parameters:
      fieldName - the field name
      Returns:
      the list info field
    • setInfoField

      public void setInfoField(String fieldName, String fieldInfo)
      Sets the info field.
      Parameters:
      fieldName - the field name
      fieldInfo - the field info
    • getInfoField

      public String getInfoField(String fieldName)
      Gets the info field.
      Parameters:
      fieldName - the field name
      Returns:
      the info field
    • setActionInfo

      public void setActionInfo(String fieldName, String[] actionNames)
      Sets the action info.
      Parameters:
      fieldName - the field name
      actionNames - the action names
    • getActionInfo

      public String[] getActionInfo(String fieldName)
      Gets the action info.
      Parameters:
      fieldName - the field name
      Returns:
      the action info
    • setFieldActions

      public void setFieldActions(String fieldName, String[] actionNames)
      Sets the field actions.
      Parameters:
      fieldName - the field name
      actionNames - the action names
    • getFieldActions

      public String[] getFieldActions(String fieldName)
      Gets the field actions.
      Parameters:
      fieldName - the field name
      Returns:
      the field actions
    • setIsView

      public void setIsView(boolean isView)
      Sets the checks if is view.
      Parameters:
      isView - the new checks if is view
    • isView

      public boolean isView()
      Checks if is view.
      Returns:
      true, if is view
    • getBindingField

      public String getBindingField()
      Specified by:
      getBindingField in interface UIFormInput
    • getValidators

      public List getValidators()
      Specified by:
      getValidators in interface UIFormInput
    • addValidator

      public UIFormInput addValidator(Class clazz, Object... params) throws Exception
      Specified by:
      addValidator in interface UIFormInput
      Throws:
      Exception
    • getValue

      public Object getValue() throws Exception
      Specified by:
      getValue in interface UIFormInput
      Throws:
      Exception
    • setValue

      public UIFormInput setValue(Object value) throws Exception
      Specified by:
      setValue in interface UIFormInput
      Throws:
      Exception
    • getTypeValue

      public Class getTypeValue()
      Specified by:
      getTypeValue in interface UIFormInput
    • setIntroduction

      public void setIntroduction(String fieldName, String msgKey)
      Sets the introduction.
      Parameters:
      fieldName - the field name
      msgKey - the msg key
    • getMsgKey

      public String getMsgKey(String fieldName)
      Gets the msg key.
      Parameters:
      fieldName - the field name
      Returns:
      the msg key
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface UIFormInput
    • addValidator

      public UIFormInput addValidator(Class validator)
      Adds the validator.
      Parameters:
      validator - the validator
      Returns:
      the uI form input