com.ibm.openpages.api.respview

Interface IRespViewAction

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      RespViewActionType getActionType()
      Gets the action type
      java.lang.String getClassifierFieldName()
      Get the classifier field name for suggestAssociations action types.
      CopyObjectOptions getCopyObjectOptions()
      Gets the copy object options if they are available for the current action.
      IRespViewFilterRules getFilterRules()
      Gets the filter definition for this action (only for associate, associatePrimary, and copyRecursive actions).
      java.lang.String getFolder()
      Gets the folder name that limits the set of objects this action refers to
      java.lang.Integer getFolderDepth()
      Gets the maximum depth that will be applied to the set of objects that this action represents
      java.lang.String getName()
      Gets the action name
      java.lang.String getNameLabel()
      Returns the localized name label of the action for the user session
      java.util.List<ILabel> getNameLabels()
      Returns the action name labels for all locales
      java.lang.Boolean isMultiSelect()
      Determines if this action can result in multiple selections
      java.lang.Boolean isPrimaryParent() 
      void setClassifierFieldName(java.lang.String classifierFieldName)
      Set the classifier field name for suggestAssociations action types.
      void setCopyObjectOptions(CopyObjectOptions options)
      Sets the copy object options for copyRecursive action types.
      void setFilterRules(IRespViewFilterRules filterRules)
      Sets the a filter definition for this action (only for associate, associatePrimary, and copyRecursive actions).
      void setFolder(java.lang.String folder)
      Sets the folder name that limits the set of objects this action refers to
      void setFolderDepth(java.lang.Integer folderDepth)
      Sets the maximum depth that will be applied to the set of objects that this action represents
      void setMultiSelect(java.lang.Boolean multiSelect)
      Sets if this action can result in multiple selections
      void setNameLabels(java.util.List<ILabel> nameLabels)
      Sets the list of action name labels
      void setPrimaryParent(java.lang.Boolean primaryParent) 
    • Method Detail

      • getName

        java.lang.String getName()
        Gets the action name
        Returns:
        the action name
      • getNameLabel

        java.lang.String getNameLabel()
        Returns the localized name label of the action for the user session
        Returns:
        the localized name label as a string
      • getFolder

        java.lang.String getFolder()
        Gets the folder name that limits the set of objects this action refers to
        Returns:
        the filtering folder name
      • getFolderDepth

        java.lang.Integer getFolderDepth()
        Gets the maximum depth that will be applied to the set of objects that this action represents
        Returns:
        the folder depth value, null if not specified
      • getCopyObjectOptions

        CopyObjectOptions getCopyObjectOptions()
        Gets the copy object options if they are available for the current action. This will only have a value if the action type is RespViewActionType.copyRecursive.
        Returns:
        the CopyObjectOptions instance when the action type is copyRecursive
      • isMultiSelect

        java.lang.Boolean isMultiSelect()
        Determines if this action can result in multiple selections
        Returns:
        true or false
      • isPrimaryParent

        java.lang.Boolean isPrimaryParent()
        Returns:
      • setFolder

        void setFolder(java.lang.String folder)
        Sets the folder name that limits the set of objects this action refers to
        Parameters:
        path - the filtering path name
      • setFolderDepth

        void setFolderDepth(java.lang.Integer folderDepth)
        Sets the maximum depth that will be applied to the set of objects that this action represents
        Parameters:
        folderDepth - the folder depth value
      • setCopyObjectOptions

        void setCopyObjectOptions(CopyObjectOptions options)
        Sets the copy object options for copyRecursive action types.
        Parameters:
        options - - the copyRecursive options object
      • setPrimaryParent

        void setPrimaryParent(java.lang.Boolean primaryParent)
        Parameters:
        primaryParent - true or false
      • setMultiSelect

        void setMultiSelect(java.lang.Boolean multiSelect)
        Sets if this action can result in multiple selections
        Parameters:
        multiSelect - true or false
      • getNameLabels

        java.util.List<ILabel> getNameLabels()
        Returns the action name labels for all locales
        Returns:
        ILabel the action name label
      • setNameLabels

        void setNameLabels(java.util.List<ILabel> nameLabels)
        Sets the list of action name labels
        Parameters:
        nameLabels - the list of ILabel
      • getClassifierFieldName

        java.lang.String getClassifierFieldName()
        Get the classifier field name for suggestAssociations action types. (e.g., "My Field Group.Controls Classifier")
        Returns:
        Classifier field name
      • setClassifierFieldName

        void setClassifierFieldName(java.lang.String classifierFieldName)
        Set the classifier field name for suggestAssociations action types.
        Parameters:
        classifierFieldName -
      • getFilterRules

        IRespViewFilterRules getFilterRules()
        Gets the filter definition for this action (only for associate, associatePrimary, and copyRecursive actions).
        Returns:
        IRespViewFilterRules
      • setFilterRules

        void setFilterRules(IRespViewFilterRules filterRules)
        Sets the a filter definition for this action (only for associate, associatePrimary, and copyRecursive actions).
        Parameters:
        filterRules - IRespViewFilterRules

Licensed Materials - Property of IBM
© Copyright IBM Corp. 2013, 2018. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.