Package | Description |
---|---|
io.sphere.sdk.channels |
Provides model classes and builders for channels.
|
io.sphere.sdk.channels.commands.updateactions |
Provides the possible operations which can be performed on update commands for channels.
|
io.sphere.sdk.channels.queries |
Provides types to retrieve the state of channels.
|
io.sphere.sdk.stores.error |
Modifier and Type | Method and Description |
---|---|
static ChannelRole |
ChannelRole.ofSphereValue(String value) |
static ChannelRole |
ChannelRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelRole[] |
ChannelRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<ChannelRole> |
ChannelDraft.getRoles() |
Set<ChannelRole> |
Channel.getRoles()
The roles of this channel.
|
Set<ChannelRole> |
ChannelDraftBuilder.getRoles() |
Modifier and Type | Method and Description |
---|---|
ChannelDraftBuilder |
ChannelDraftBuilder.plusRoles(ChannelRole roles)
Adds
roles parameter to the roles set property of this builder. |
ChannelDraftDsl |
ChannelDraftDsl.withRoles(ChannelRole... roles) |
Modifier and Type | Method and Description |
---|---|
ChannelDraftBuilder |
ChannelDraftBuilder.plusRoles(Set<ChannelRole> roles)
Concatenate
roles parameter to the roles set property of this builder. |
ChannelDraftBuilder |
ChannelDraftBuilder.roles(Set<ChannelRole> roles)
Sets the
roles property of this builder. |
Modifier and Type | Method and Description |
---|---|
Set<ChannelRole> |
AddRoles.getRoles() |
Set<ChannelRole> |
RemoveRoles.getRoles() |
Set<ChannelRole> |
SetRoles.getRoles() |
Modifier and Type | Method and Description |
---|---|
static AddRoles |
AddRoles.of(Set<ChannelRole> roles) |
static RemoveRoles |
RemoveRoles.of(Set<ChannelRole> roles) |
static SetRoles |
SetRoles.of(Set<ChannelRole> roles) |
Modifier and Type | Method and Description |
---|---|
SphereEnumerationCollectionQueryModel<Channel,ChannelRole> |
ChannelQueryModel.roles() |
Modifier and Type | Method and Description |
---|---|
ChannelRole |
MissingRoleOnChannelError.getMissingRole() |
Modifier and Type | Method and Description |
---|---|
static MissingRoleOnChannelError |
MissingRoleOnChannelError.of(String message,
ResourceIdentifier<Channel> channel,
ChannelRole missingRole) |