Class SortPositionRequest

    • Constructor Detail

      • SortPositionRequest

        public SortPositionRequest​(String updateContextId)
      • SortPositionRequest

        public SortPositionRequest​(String positionAfterContextId,
                                   String positionBeforeContextId,
                                   String updateContextId)
    • Method Detail

      • getPositionAfterContextId

        public String getPositionAfterContextId()
        Context ID of the item after which to place the item specified by updateContextId. Optional. If neither this nor positionBeforeContextId are provided, this means that the item should move to the 1st position relative to other items.
      • getPositionBeforeContextId

        public String getPositionBeforeContextId()
        Context ID of the item before which to place the item specified by updateContextId. Optional. If neither this nor positionAfterContextId are provided, this means that the item should move to the 1st position relative to other items.

        Note that positionAfterContextId takes precedence if both are present.

      • setPositionAfterContextId

        public void setPositionAfterContextId​(String positionAfterContextId)
        Context ID of the item after which to place the item specified by updateContextId. Optional. If neither this nor positionBeforeContextId are provided, this means that the item should move to the 1st position relative to other items.
      • setPositionBeforeContextId

        public void setPositionBeforeContextId​(String positionBeforeContextId)
        Context ID of the item before which to place the item specified by updateContextId. Optional. If neither this nor positionAfterContextId are provided, this means that the item should move to the 1st position relative to other items.

        Note that positionAfterContextId takes precedence if both are present.

      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object