Interface ICategorizableChannelMixin<T extends ICategorizableChannelMixin<T>>
- All Superinterfaces:
Channel
,ChannelMixin<T>
,ChannelUnion
,Comparable<GuildChannel>
,Formattable
,GuildChannel
,GuildChannelMixin<T>
,GuildChannelUnion
,ICategorizableChannel
,IDetachableEntity
,IDetachableEntityMixin
,IMentionable
,IPermissionContainer
,IPermissionContainerMixin<T>
,IPermissionContainerUnion
,IPositionableChannel
,ISnowflake
- All Known Subinterfaces:
AudioChannelMixin<T>
,ForumChannelMixin<T>
,MediaChannelMixin<T>
,NewsChannelMixin<T>
,StageChannelMixin<T>
,StandardGuildChannelMixin<T>
,StandardGuildMessageChannelMixin<T>
,TextChannelMixin<T>
,VoiceChannelMixin<T>
- All Known Implementing Classes:
AbstractStandardGuildChannelImpl
,AbstractStandardGuildMessageChannelImpl
,DetachedForumChannelImpl
,DetachedMediaChannelImpl
,DetachedNewsChannelImpl
,DetachedStageChannelImpl
,DetachedTextChannelImpl
,DetachedVoiceChannelImpl
,ForumChannelImpl
,MediaChannelImpl
,NewsChannelImpl
,StageChannelImpl
,TextChannelImpl
,VoiceChannelImpl
public interface ICategorizableChannelMixin<T extends ICategorizableChannelMixin<T>>
extends ICategorizableChannel, GuildChannelMixin<T>, IPermissionContainerMixin<T>
-
Field Summary
Fields inherited from interface net.dv8tion.jda.api.entities.channel.Channel
MAX_NAME_LENGTH
Fields inherited from interface net.dv8tion.jda.api.entities.channel.middleman.GuildChannel
JUMP_URL
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
isSynced()
Whether or not this GuildChannel'sPermissionOverrides
match those ofits parent category
.setParentCategory
(long parentCategoryId) Methods inherited from interface net.dv8tion.jda.api.entities.channel.Channel
formatTo, getAsMention, getFlags, getJDA, getName, getType
Methods inherited from interface net.dv8tion.jda.internal.entities.channel.mixin.ChannelMixin
setName
Methods inherited from interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
asAudioChannel, asCategory, asForumChannel, asGroupChannel, asGuildChannel, asGuildMessageChannel, asMediaChannel, asMessageChannel, asNewsChannel, asPrivateChannel, asStageChannel, asStandardGuildChannel, asStandardGuildMessageChannel, asTextChannel, asThreadChannel, asThreadContainer, asVoiceChannel
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface net.dv8tion.jda.api.entities.channel.middleman.GuildChannel
getGuild, getJumpUrl
Methods inherited from interface net.dv8tion.jda.internal.entities.channel.mixin.middleman.GuildChannelMixin
checkCanAccess, checkCanManage, checkPermission, checkPermission, delete, hasPermission
Methods inherited from interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
asAudioChannel, asCategory, asForumChannel, asGuildMessageChannel, asMediaChannel, asNewsChannel, asStageChannel, asStandardGuildChannel, asStandardGuildMessageChannel, asTextChannel, asThreadChannel, asThreadContainer, asVoiceChannel
Methods inherited from interface net.dv8tion.jda.api.entities.channel.attribute.ICategorizableChannel
getManager, getParentCategory, getParentCategoryId, getParentCategoryIdLong, getPositionInCategory
Methods inherited from interface net.dv8tion.jda.api.entities.detached.IDetachableEntity
isDetached
Methods inherited from interface net.dv8tion.jda.internal.entities.detached.mixin.IDetachableEntityMixin
checkAttached, detachedException, detachedRequiresChannelException
Methods inherited from interface net.dv8tion.jda.api.entities.channel.attribute.IPermissionContainer
getMemberPermissionOverrides, getRolePermissionOverrides
Methods inherited from interface net.dv8tion.jda.internal.entities.channel.mixin.attribute.IPermissionContainerMixin
getPermissionContainer, getPermissionOverride, getPermissionOverrideMap, getPermissionOverrides, upsertPermissionOverride
Methods inherited from interface net.dv8tion.jda.api.entities.channel.unions.IPermissionContainerUnion
asAudioChannel, asCategory, asForumChannel, asGuildMessageChannel, asNewsChannel, asStageChannel, asStandardGuildChannel, asStandardGuildMessageChannel, asTextChannel, asThreadContainer, asVoiceChannel
Methods inherited from interface net.dv8tion.jda.api.entities.channel.attribute.IPositionableChannel
getPosition, getPositionRaw
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
-
Method Details
-
isSynced
default boolean isSynced()Description copied from interface:ICategorizableChannel
Whether or not this GuildChannel'sPermissionOverrides
match those ofits parent category
. If the channel doesn't have a parent category, this will return true.This requires
CacheFlag.MEMBER_OVERRIDES
to be enabled.createLight(String)
disables this CacheFlag by default.- Specified by:
isSynced
in interfaceICategorizableChannel
- Returns:
- True, if this channel is synced with its parent category
-
setParentCategory
-