com.ibm.openpages.api.respview

Interface IRespViewField

    • Method Detail

      • getRelationshipName

        java.lang.String getRelationshipName()
        Returns the name of the responsive view field or null.
        Returns:
        the name of the responsive view field when the field type is anything other than RespViewFieldType.object. Returns null otherwise.
      • getRelationTypeDefinition

        ITypeDefinition getRelationTypeDefinition()
        Returns the type definition of the responsive view field or null.
        Returns:
        ITypeDefinition the type definition when the field type is anything other than RespViewFieldType.object. Returns null otherwise.
      • getParentRelationTypeDefinition

        ITypeDefinition getParentRelationTypeDefinition()
        Returns the parent type definition of the responsive view field or null.
        Returns:
        ITypeDefinition the type definition of the parent type when the field type is anything other than RespViewFieldType.object and relationship type is 'sibling'. Returns null otherwise.
      • getRelationFilterId

        Id getRelationFilterId()
        Returns the id of the relation filter. Returns null if the field type is RespViewFieldType.object.
        Returns:
        Id the filter definition Id of the relation.
      • setRelationFilterId

        void setRelationFilterId(Id filterId)
        Sets the id of the relation filter.
        Parameters:
        filterId -
      • getRelationshipPaths

        java.util.List<java.lang.String> getRelationshipPaths()
        Returns the list of type definition paths to the related object. Returns null if the field type is RespViewFieldType.object.
        Returns:
        the list of string that represents the type definition paths. e.g. "SOXControl/KeyRiskIndicator/SOXIssue"
      • setRelationshipPaths

        void setRelationshipPaths(java.util.List<java.lang.String> relationPaths)
        Sets the list of type definition paths to the related object.
        Parameters:
        relationPaths -
      • setSortField

        void setSortField(IFieldDefinition sortFields)
        Sets the field definition that is used for sorting of relationship rows.
        Parameters:
        sortFields -
      • getSortDirection

        SortDirection getSortDirection()
        Returns the direction of sorting of the relationship rows. Returns null if the field type is RespViewFieldType.object.
        Returns:
        the direction of sorting.
      • setSortDirection

        void setSortDirection(SortDirection direction)
        Sets the direction of sorting of the relationship rows.
        Parameters:
        direction -
      • getEnumValueColors

        java.util.Map<java.lang.String,java.lang.String> getEnumValueColors()
        Returns the map that represents colors for enumerated values, or null if it is not set. The color definitions are persisted on either: - field definition and shared across multiple views, or - view definition, that owns this field depending on the context. Here is the rule determine the location of persistence: - system views persist colors on view definition - draft-saved views persist colors on view definition - relationship fields persist colors on view definition - otherwise (i.e. not system view, view is published and on object fields), colors are persisted on the field definition Refer IDisplayTypeAttributes also.
        Returns:
      • setEnumValueColors

        void setEnumValueColors(java.util.Map<java.lang.String,java.lang.String> enumValueColors)
        Sets the map that represents colors for enumerated values. Refer getEnumValueColors() and IDisplayTypeAttributes also.
        Parameters:
        enumValueColors -
      • getNumberRangeColors

        java.util.List<IDisplayTypeAttributes.INumberRangeColor> getNumberRangeColors()
        Returns list of IDisplayTypeAttributes.INumberRangeColor, or null if it is not set. The color definitions are persisted on either: - field definition and shared across multiple views, or - view definition, that owns this field depending on the context. Here is the rule determine the location of persistence: - system views persist colors on view definition - draft-saved views persist colors on view definition - relationship fields persist colors on view definition - otherwise (i.e. not system view, view is published and on object fields), colors are persisted on the field definition Refer IDisplayTypeAttributes also.
        Returns:
      • getNameLabel

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

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

        void setNameLabels(java.util.List<ILabel> nameLabels)
        Sets the list of responsive view field name labels
        Parameters:
        nameLabels - the list of ILabel
      • getActions

        java.util.List<IRespViewAction> getActions()
        Gets all actions associated with the current field
        Returns:
        a list of actions
      • setActions

        void setActions(java.util.List<IRespViewAction> actions)
        Sets the list of actions associated to the current field.
        Parameters:
        actions - the list of IRespViewAction
      • getRules

        java.util.List<IRespViewFieldRule> getRules()
        Gets the list of rules defined on this field.
        Returns:
        List
      • setRules

        void setRules(java.util.List<IRespViewFieldRule> rules)
        Sets the list of rules defined on this field.
        Parameters:
        rules - List
      • setParentRelationTypeDefinition

        void setParentRelationTypeDefinition(ITypeDefinition parentRelationTypeDefinition)
        Sets the parentRelationTypeDefinition used in sibling relationship type.
        Parameters:
        parentRelationTypeDefinition -

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.