Interface CategoryOrderAction
-
- All Superinterfaces:
ChannelOrderAction
,OrderAction<GuildChannel,ChannelOrderAction>
,RestAction<Void>
public interface CategoryOrderAction extends ChannelOrderAction
An extension ofChannelOrderAction
with similar functionality, but constrained to the bounds of a singleCategory
.
To apply the changes you must finish theRestAction
.Before you can use any of the
move
methods you must use eitherselectPosition(GuildChannel)
orOrderAction.selectPosition(int)
!- Author:
- Kaidan Gustave
- See Also:
Category.modifyTextChannelPositions()
,Category.modifyVoiceChannelPositions()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Category
getCategory()
Gets theCategory
controlled by this CategoryOrderAction.-
Methods inherited from interface net.dv8tion.jda.api.requests.restaction.order.ChannelOrderAction
getChannelTypes, getGuild, getSortBucket
-
Methods inherited from interface net.dv8tion.jda.api.requests.restaction.order.OrderAction
getCurrentOrder, getSelectedEntity, getSelectedPosition, isAscendingOrder, moveDown, moveTo, moveUp, reverseOrder, selectPosition, selectPosition, setCheck, shuffleOrder, sortOrder, swapPosition, swapPosition
-
Methods inherited from interface net.dv8tion.jda.api.requests.RestAction
complete, complete, completeAfter, getJDA, queue, queue, queue, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, submit, submit, submitAfter, submitAfter
-
-