public class ChannelServiceImpl extends java.lang.Object implements ChannelService
Modifier and Type | Field and Description |
---|---|
protected ProjectEndpoints |
endpoints |
protected org.codehaus.jackson.type.TypeReference<QueryResult<T>> |
queryResultTypeReference |
protected RequestFactory |
requestFactory |
protected org.codehaus.jackson.type.TypeReference<T> |
typeReference |
Constructor and Description |
---|
ChannelServiceImpl(RequestFactory requestFactory,
ProjectEndpoints endpoints) |
Modifier and Type | Method and Description |
---|---|
CommandRequest<Channel> |
create(java.lang.String key) |
CommandRequest<Channel> |
create(java.lang.String key,
java.util.Set<ChannelRoles> roles) |
protected CommandRequest<T> |
createCommandRequest(java.lang.String url,
Command command) |
protected QueryRequest<T> |
queryImpl(java.lang.String url) |
CommandRequest<Channel> |
updateChannel(VersionedId versionedId,
ChannelUpdate update) |
protected ProjectEndpoints endpoints
protected RequestFactory requestFactory
protected org.codehaus.jackson.type.TypeReference<T> typeReference
protected org.codehaus.jackson.type.TypeReference<QueryResult<T>> queryResultTypeReference
public ChannelServiceImpl(RequestFactory requestFactory, ProjectEndpoints endpoints)
public CommandRequest<Channel> create(java.lang.String key)
create
in interface ChannelService
public CommandRequest<Channel> create(java.lang.String key, java.util.Set<ChannelRoles> roles)
create
in interface ChannelService
public CommandRequest<Channel> updateChannel(VersionedId versionedId, ChannelUpdate update)
updateChannel
in interface ChannelService
protected CommandRequest<T> createCommandRequest(java.lang.String url, Command command)
protected QueryRequest<T> queryImpl(java.lang.String url)