Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
RoleResourceHandler.handleCreateInternally(CreateRoleParameter createRoleParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Create the role of internal user for blog
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
RoleExternalResourceHandler.handleCreateInternally(CreateRoleExternalParameter createRoleExternalParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Create blog role for external system
|
Modifier and Type | Method and Description |
---|---|
String |
CommunoteEntityNotFoundExceptionMapper.getErrorMessage(CommunoteEntityNotFoundException exception) |
Modifier and Type | Method and Description |
---|---|
static void |
RoleResourceHelper.assignOrRemoveRoleForEntity(Long blogId,
BlogRole role,
Long entityId)
Remove or assign role for entity
|
static void |
RoleResourceHelper.assignOrRemoveRoleForGroup(String groupAlias,
Long blogId,
BlogRole role)
Assign or remove role for a group
|
static void |
RoleResourceHelper.assignOrRemoveRoleForUser(String userAlias,
Long blogId,
BlogRole role)
Assign or remove role for a user
|
static void |
RoleResourceHelper.assignRoleResources(RoleResource[] roleResources,
Long topicId)
Assign role resources.
|
javax.ws.rs.core.Response |
RoleResourceHandler.handleCreateInternally(CreateRoleParameter createRoleParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Create the role of internal user for blog
|
Modifier and Type | Method and Description |
---|---|
static void |
RoleExternalResourceHelper.assignOrRemoveExternalForGroup(Long topicId,
BlogRole role,
String externalGroupId,
String externalSystemId,
String externalId)
Assign or remove role for a group of external system
|
static void |
RoleExternalResourceHelper.assignOrRemoveExternalForUser(Long blogId,
BlogRole role,
String externalUserId,
String externalSystemId,
String externalObjectId)
Assign or remove role for a user of external system
|
static void |
RoleExternalResourceHelper.assignOrRemoveExternalRoleForEntity(Long blogId,
BlogRole role,
Long entityId,
String externalSystemId,
String externalId)
Remove or assign role for entity of external system
|
static void |
RoleExternalResourceHelper.assignRoleExternalResources(RoleExternalResource[] roleExternalResources,
Long topicId)
Assign role external resources.
|
javax.ws.rs.core.Response |
RoleExternalResourceHandler.handleCreateInternally(CreateRoleExternalParameter createRoleExternalParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Create topic role for external system
|
Modifier and Type | Method and Description |
---|---|
static void |
RoleResourceHelper.assignOrRemoveRoleForEntity(Long topicId,
BlogRole role,
Long entityId)
Remove or assign role for entity
|
static void |
RoleResourceHelper.assignOrRemoveRoleForGroup(String groupAlias,
Long blogId,
BlogRole role)
Assign or remove role for a group
|
static void |
RoleResourceHelper.assignOrRemoveRoleForUser(String userAlias,
Long blogId,
BlogRole role)
Assign or remove role for a user
|
static void |
RoleResourceHelper.assignRoleResources(RoleResource[] roleResources,
Long topicId)
Assign role resources.
|
javax.ws.rs.core.Response |
RoleResourceHandler.handleCreateInternally(CreateRoleParameter createRoleParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Create the role of internal user for blog
|
Modifier and Type | Method and Description |
---|---|
static void |
RoleExternalResourceHelper.assignOrRemoveExternalForGroup(Long topicId,
BlogRole role,
String externalGroupId,
String externalSystemId,
String externalId)
Assign or remove role for a group of external system
|
static void |
RoleExternalResourceHelper.assignOrRemoveExternalForUser(Long blogId,
BlogRole role,
String externalUserId,
String externalSystemId,
String externalObjectId)
Assign or remove role for a user of external system
|
static void |
RoleExternalResourceHelper.assignOrRemoveExternalRoleForEntity(Long blogId,
BlogRole role,
Long entityId,
String externalSystemId,
String externalId)
Remove or assign role for entity of external system
|
static void |
RoleExternalResourceHelper.assignRoleExternalResources(RoleExternalResource[] roleExternalResources,
Long topicId)
Assign role external resources.
|
javax.ws.rs.core.Response |
RoleExternalResourceHandler.handleCreateInternally(CreateRoleExternalParameter createRoleExternalParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Create topic role for external system
|
Modifier and Type | Method and Description |
---|---|
static void |
RoleResourceHelper.assignOrRemoveRoleForEntity(Long topicId,
BlogRole role,
Long entityId)
Remove or assign role for entity
|
static void |
RoleResourceHelper.assignOrRemoveRoleForGroup(String groupAlias,
Long blogId,
BlogRole role)
Assign or remove role for a group
|
static void |
RoleResourceHelper.assignOrRemoveRoleForUser(String userAlias,
Long blogId,
BlogRole role)
Assign or remove role for a user
|
static void |
RoleResourceHelper.assignRoleResources(RoleResource[] roleResources,
Long topicId)
Assign role resources.
|
javax.ws.rs.core.Response |
RoleResourceHandler.handleCreateInternally(CreateRoleParameter createRoleParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Create the role of internal user for blog
|
Modifier and Type | Method and Description |
---|---|
static void |
RoleExternalResourceHelper.assignOrRemoveExternalForGroup(Long topicId,
BlogRole role,
String externalGroupId,
String externalSystemId,
String externalId)
Assign or remove role for a group of external system
|
static void |
RoleExternalResourceHelper.assignOrRemoveExternalForUser(Long blogId,
BlogRole role,
String externalUserId,
String externalSystemId,
String externalObjectId)
Assign or remove role for a user of external system
|
static void |
RoleExternalResourceHelper.assignOrRemoveExternalRoleForEntity(Long blogId,
BlogRole role,
Long entityId,
String externalSystemId,
String externalId)
Remove or assign role for entity of external system
|
static void |
RoleExternalResourceHelper.assignRoleExternalResources(RoleExternalResource[] roleExternalResources,
Long topicId)
Assign role external resources.
|
javax.ws.rs.core.Response |
RoleExternalResourceHandler.handleCreateInternally(CreateRoleExternalParameter createRoleExternalParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Create topic role for external system
|
Modifier and Type | Method and Description |
---|---|
void |
BlogRightsManagement.addEntity(Long topicId,
Long entityId,
BlogRole role)
Adds member with the given role to the blog.
|
void |
BlogRightsManagement.addEntityForExternal(Long topicId,
Long entityId,
BlogRole role,
String externalSystemId,
String externalObjectId)
Add a member with the given role to the blog on the behalf of an external system.
|
void |
BlogRightsManagement.addEntityForExternalTrusted(Long topicId,
Long entityId,
BlogRole role,
String externalSystemId)
Add a member with the given role to the blog on the behalf of an external system.
|
void |
BlogRightsManagement.assignEntity(Long topicId,
Long entityId,
BlogRole role)
Add a member with the given role to the blog.
|
void |
BlogRightsManagement.assignEntity(Long blogId,
Long entityId,
BlogRole role,
boolean createNote)
Adds member with the given role to the blog.
|
void |
BlogRightsManagement.assignEntityForExternal(Long topicId,
Long entityId,
BlogRole role,
String externalSystemId,
String externalObjectId)
Add or update a member with the given role on the behalf of an external system.
|
void |
BlogRightsManagement.assignEntityForExternalTrusted(Long topicId,
Long entityId,
BlogRole role,
String externalSystemId)
Add or update a member with the given role on the behalf of an external system.
|
Modifier and Type | Class and Description |
---|---|
class |
UserNotFoundException
Thrown if a user does not exist.
|
Modifier and Type | Method and Description |
---|---|
void |
BlogRightsManagementBase.addEntity(Long blogId,
Long entityId,
BlogRole role) |
void |
BlogRightsManagementBase.addEntityForExternal(Long blogId,
Long entityId,
BlogRole role,
String externalSystemId,
String externalId)
Add a member with the given role to the blog on the behalf of an external system.
|
void |
BlogRightsManagementBase.addEntityForExternalTrusted(Long blogId,
Long entityId,
BlogRole role,
String externalSystemId) |
void |
BlogRightsManagementBase.assignEntity(Long blogId,
Long entityId,
BlogRole role)
Add a member with the given role to the blog.
|
void |
BlogRightsManagementBase.assignEntity(Long blogId,
Long entityId,
BlogRole role,
boolean createNote)
Adds member with the given role to the blog.
|
void |
BlogRightsManagementBase.assignEntityForExternal(Long blogId,
Long entityId,
BlogRole role,
String externalSystemId,
String externalId)
Add or update a member with the given role on the behalf of an external system.
|
void |
BlogRightsManagementBase.assignEntityForExternalTrusted(Long topicId,
Long entityId,
BlogRole role,
String externalSystemId)
Add or update a member with the given role on the behalf of an external system.
|
protected void |
BlogRightsManagementImpl.handleAddEntity(Long blogId,
Long entityId,
BlogRole role)
Performs the core logic for
BlogRightsManagementBase.addEntity(Long, Long, BlogRole) |
protected abstract void |
BlogRightsManagementBase.handleAddEntity(Long blogId,
Long entityId,
BlogRole role)
Performs the core logic for
BlogRightsManagementBase.addEntity(Long, Long, BlogRole) |
protected void |
BlogRightsManagementImpl.handleAddEntityForExternal(Long blogId,
Long entityId,
BlogRole role,
String externalSystemId,
String externalId)
Performs the core logic for
BlogRightsManagementBase.addEntityForExternal(Long, Long, BlogRole, String
externalSystemId, String externalId ) |
protected abstract void |
BlogRightsManagementBase.handleAddEntityForExternal(Long blogId,
Long entityId,
BlogRole role,
String externalSystemId,
String externalObjectId)
Performs the core logic for
BlogRightsManagementBase.addEntityForExternal(Long, Long, BlogRole, String
externalSystemId, String externalId ) |
protected void |
BlogRightsManagementImpl.handleAddEntityForExternalTrusted(Long blogId,
Long entityId,
BlogRole role,
String externalSystemId)
Performs the core logic for
BlogRightsManagementBase.addEntityForExternalTrusted(Long, Long, BlogRole, String) |
protected abstract void |
BlogRightsManagementBase.handleAddEntityForExternalTrusted(Long blogId,
Long entityId,
BlogRole role,
String externalSystemId)
Performs the core logic for
BlogRightsManagementBase.addEntityForExternalTrusted(Long, Long, BlogRole, String) |
protected void |
BlogRightsManagementImpl.handleAssignEntity(Long blogId,
Long entityId,
BlogRole role)
Performs the core logic for
BlogRightsManagementBase.assignEntity(Long, Long, BlogRole) |
protected abstract void |
BlogRightsManagementBase.handleAssignEntity(Long blogId,
Long entityId,
BlogRole role)
Performs the core logic for
BlogRightsManagementBase.assignEntity(Long, Long, BlogRole) |
protected void |
BlogRightsManagementImpl.handleAssignEntity(Long blogId,
Long entityId,
BlogRole role,
boolean createNote)
Performs the core logic for
BlogRightsManagementBase.assignEntity(Long, Long, BlogRole, boolean) |
protected abstract void |
BlogRightsManagementBase.handleAssignEntity(Long blogId,
Long entityId,
BlogRole role,
boolean createNote)
Performs the core logic for
BlogRightsManagementBase.assignEntity(Long, Long, BlogRole, boolean) |
protected void |
BlogRightsManagementImpl.handleAssignEntityForExternal(Long blogId,
Long entityId,
BlogRole role,
String externalSystemId,
String externalId)
Handle the assign of an external entity role to an internal topic
|
protected abstract void |
BlogRightsManagementBase.handleAssignEntityForExternal(Long topicId,
Long entityId,
BlogRole role,
String externalSystemId,
String externalId)
Handle the assign of an external entity role to an internal topic
|
protected void |
BlogRightsManagementImpl.handleAssignEntityForExternalTrusted(Long blogId,
Long entityId,
BlogRole role,
String externalSystemId) |
protected abstract void |
BlogRightsManagementBase.handleAssignEntityForExternalTrusted(Long topicId,
Long entityId,
BlogRole role,
String externalSystemId) |
Modifier and Type | Method and Description |
---|---|
Class<CommunoteEntityNotFoundException> |
CommunoteEntityNotFoundExceptionMapper.getExceptionClass() |
Modifier and Type | Method and Description |
---|---|
Status |
CommunoteEntityNotFoundExceptionMapper.mapException(CommunoteEntityNotFoundException exception)
Maps the given exception to a status.
|
Modifier and Type | Class and Description |
---|---|
class |
GroupNotFoundException |
Copyright © 2019 Communote team. All rights reserved.