Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
NoteResourceHandler.handleCreateInternally(CreateNoteParameter createNoteParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Create a single note on the server.
|
javax.ws.rs.core.Response |
NoteResourceHandler.handleEditInternally(EditNoteParameter editNoteParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Changes an existing note on the server
|
Modifier and Type | Method and Description |
---|---|
static BlogTO |
TopicResourceHelper.getBlogTO(EditTopicParameter editTopicParameter,
Blog topic)
Get transfer object of topic
|
static long |
TopicResourceHelper.getTopicIdByIdentifier(String eTopicIdentifierName,
String topicId,
BlogManagement blogManagement)
Get the topic identifier of alias or id
|
javax.ws.rs.core.Response |
TopicResourceHandler.handleDeleteInternally(DeleteTopicParameter deleteTopicParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Request to delete a topic
|
javax.ws.rs.core.Response |
TopicResourceHandler.handleEditInternally(EditTopicParameter editTopicParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Request to edit a topic
|
javax.ws.rs.core.Response |
TopicResourceHandler.handleGetInternally(GetTopicParameter getTopicParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Retrieve a single topic from the server
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
RightResourceHandler.handleEditInternally(EditRightParameter editRightParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Update access rights of blog.
|
javax.ws.rs.core.Response |
RightResourceHandler.handleGetInternally(GetRightParameter getRightParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get the access rights of blog.
|
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 |
RoleBulkExternalResourceHandler.handleCreateInternally(CreateRoleBulkExternalParameter createRoleBulkExternalParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get blog role bulk for external
|
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 |
BlogNotFoundExceptionMapper.getErrorMessage(BlogNotFoundException exception)
Get the message of the exception in mapper.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
NoteResourceHandler.handleCreateInternally(CreateNoteParameter createNoteParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Create a single note on the server.
|
javax.ws.rs.core.Response |
NoteResourceHandler.handleEditInternally(EditNoteParameter editNoteParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Changes an existing note on the server
|
Modifier and Type | Method and Description |
---|---|
static BlogTO |
TopicResourceHelper.getBlogTO(EditTopicParameter editTopicParameter,
Blog topic)
Get transfer object of topic
|
static long |
TopicResourceHelper.getTopicIdByIdentifier(String eTopicIdentifierName,
String topicId,
BlogManagement blogManagement)
Get the topic identifier of alias or id
|
javax.ws.rs.core.Response |
TopicResourceHandler.handleDeleteInternally(DeleteTopicParameter deleteTopicParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Request to delete a topic
|
javax.ws.rs.core.Response |
TopicResourceHandler.handleEditInternally(EditTopicParameter editTopicParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Request to edit a topic
|
javax.ws.rs.core.Response |
TopicResourceHandler.handleGetInternally(GetTopicParameter getTopicParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Retrieve a single topic from the server
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
ExternalObjectResourceHandler.handleCreateInternally(CreateExternalObjectParameter createExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to assign external object for topic.
|
javax.ws.rs.core.Response |
ExternalObjectResourceHandler.handleDeleteInternally(DeleteExternalObjectParameter deleteExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Delete the
ExternalObjectResource . |
javax.ws.rs.core.Response |
ExternalObjectResourceHandler.handleEditInternally(EditExternalObjectParameter editExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Edit an
ExternalObjectResource |
javax.ws.rs.core.Response |
ExternalObjectResourceHandler.handleListInternally(GetCollectionExternalObjectParameter getCollectionExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Get an list of external objects
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
RightResourceHandler.handleEditInternally(EditRightParameter editRightParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Update access rights of blog.
|
javax.ws.rs.core.Response |
RightResourceHandler.handleGetInternally(GetRightParameter getRightParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get the access rights of blog.
|
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 |
---|---|
javax.ws.rs.core.Response |
RoleBulkExternalResourceHandler.handleCreateInternally(CreateRoleBulkExternalParameter createRoleBulkExternalParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get blog role bulk for external
|
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 |
---|---|
javax.ws.rs.core.Response |
NoteResourceHandler.handleCreateInternally(CreateNoteParameter createNoteParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Create a single note on the server.
|
javax.ws.rs.core.Response |
NoteResourceHandler.handleEditInternally(EditNoteParameter editNoteParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Changes an existing note on the server
|
Modifier and Type | Method and Description |
---|---|
static BlogTO |
TopicResourceHelper.getBlogTO(EditTopicParameter editTopicParameter,
Blog topic)
Get transfer object of topic
|
static long |
TopicResourceHelper.getTopicIdByIdentifier(String eTopicIdentifierName,
String topicId,
BlogManagement blogManagement)
Get the topic identifier of alias or id
|
javax.ws.rs.core.Response |
TopicResourceHandler.handleDeleteInternally(DeleteTopicParameter deleteTopicParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Request to delete a topic
|
javax.ws.rs.core.Response |
TopicResourceHandler.handleEditInternally(EditTopicParameter editTopicParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Request to edit a topic
|
javax.ws.rs.core.Response |
TopicResourceHandler.handleGetInternally(GetTopicParameter getTopicParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Retrieve a single topic from the server
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
ExternalObjectResourceHandler.handleCreateInternally(CreateExternalObjectParameter createExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to assign external object for topic.
|
javax.ws.rs.core.Response |
ExternalObjectResourceHandler.handleDeleteInternally(DeleteExternalObjectParameter deleteExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Delete the
ExternalObjectResource . |
javax.ws.rs.core.Response |
ExternalObjectResourceHandler.handleEditInternally(EditExternalObjectParameter editExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Edit an
ExternalObjectResource |
javax.ws.rs.core.Response |
ExternalObjectResourceHandler.handleListInternally(GetCollectionExternalObjectParameter getCollectionExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Get an list of external objects
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
RightResourceHandler.handleEditInternally(EditRightParameter editRightParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Update access rights of blog.
|
javax.ws.rs.core.Response |
RightResourceHandler.handleGetInternally(GetRightParameter getRightParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get the access rights of blog.
|
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 |
---|---|
javax.ws.rs.core.Response |
RoleBulkExternalResourceHandler.handleCreateInternally(CreateRoleBulkExternalParameter createRoleBulkExternalParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get blog role bulk for external
|
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 |
TopicTagListItemToTopicResourceConverter.fillingResultItem(T topicTagListItem,
TopicResource topicResource)
Filling the PostListItem
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
NoteResourceHandler.handleCreateInternally(CreateNoteParameter createNoteParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Create a single note on the server.
|
javax.ws.rs.core.Response |
NoteResourceHandler.handleEditInternally(EditNoteParameter editNoteParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Changes an existing note on the server
|
Modifier and Type | Method and Description |
---|---|
static BlogTO |
TopicResourceHelper.getBlogTO(EditTopicParameter editTopicParameter,
Blog topic)
Get transfer object of topic
|
static long |
TopicResourceHelper.getTopicIdByIdentifier(String eTopicIdentifierName,
String topicId,
BlogManagement blogManagement)
Get the topic identifier of alias or id
|
javax.ws.rs.core.Response |
TopicResourceHandler.handleDeleteInternally(DeleteTopicParameter deleteTopicParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Request to delete a topic
|
javax.ws.rs.core.Response |
TopicResourceHandler.handleEditInternally(EditTopicParameter editTopicParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Request to edit a topic
|
javax.ws.rs.core.Response |
TopicResourceHandler.handleGetInternally(GetTopicParameter getTopicParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Retrieve a single topic from the server
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
ExternalObjectResourceHandler.handleCreateInternally(CreateExternalObjectParameter createExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to assign external object for topic.
|
javax.ws.rs.core.Response |
ExternalObjectResourceHandler.handleDeleteInternally(DeleteExternalObjectParameter deleteExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Delete the
ExternalObjectResource . |
javax.ws.rs.core.Response |
ExternalObjectResourceHandler.handleEditInternally(EditExternalObjectParameter editExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Edit an
ExternalObjectResource |
javax.ws.rs.core.Response |
ExternalObjectResourceHandler.handleListInternally(GetCollectionExternalObjectParameter getCollectionExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String sessionId,
javax.ws.rs.core.Request request)
Get an list of external objects
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
RightResourceHandler.handleEditInternally(EditRightParameter editRightParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Update access rights of blog.
|
javax.ws.rs.core.Response |
RightResourceHandler.handleGetInternally(GetRightParameter getRightParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get the access rights of blog.
|
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 |
---|---|
javax.ws.rs.core.Response |
RoleBulkExternalResourceHandler.handleCreateInternally(CreateRoleBulkExternalParameter createRoleBulkExternalParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get blog role bulk for external
|
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 |
---|---|
CommunoteReplyMessage |
DeleteTopicMessageHandler.handleMessage(DeleteTopicMessage message)
handles message of the appropriate type.
|
CommunoteReplyMessage |
SetTopicRolesMessageHandler.handleMessage(SetTopicRolesMessage message) |
CommunoteReplyMessage |
UpdateTopicRolesMessageHandler.handleMessage(UpdateTopicRolesMessage message) |
static void |
TopicMessageHandlerUtils.updateExternalObjects(Long topicId,
String externalSystemId,
ExternalObject[] newExternalObjects,
StoringPolicy policy,
ExternalObjectManagement externalObjectManagement)
Update the external objects of a topic according to the policy.
|
Modifier and Type | Method and Description |
---|---|
static Long |
TopicUtils.getTopicId(BaseTopic topic)
Get the ID of the topic
|
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.
|
void |
BlogRightsManagement.assignManagementAccessToCurrentUser(Long topicId)
Assigns the management role to the current user.
|
void |
BlogRightsManagement.changePublicAccess(Long topicId,
boolean allowPublicAccess)
Change the public access to a blog.
|
void |
BlogRightsManagement.changeRoleOfMemberByEntityId(Long topicId,
Long entityId,
BlogRole role)
Changes the role of a blog member.
|
void |
BlogRightsManagement.changeRoleOfMemberByEntityIdForExternal(Long topicId,
Long entityId,
BlogRole role,
String externalSystemId)
Change the role of a blog member that was added on the behalf of an external system.
|
Blog |
BlogManagement.createBlog(CreationBlogTO blogDetails)
Create a new blog and set the user referenced in the transfer object as its manager.
|
void |
BlogManagement.deleteBlog(Long blogId,
Long newBlogId)
Delete a blog with all its notes
|
Blog |
BlogRightsManagement.getAndCheckBlogAccess(Long topicId,
BlogRole blogRole)
Check if a topic exists and the current user has access to that topic.
|
Blog |
BlogManagement.getBlogById(Long topicId,
boolean needTags)
Retrieve a blog by its ID.
|
void |
BlogRightsManagement.removeMemberByEntityId(Long topicId,
Long entityId) |
void |
BlogRightsManagement.removeMemberByEntityIdForExternal(Long topicId,
Long entityId,
String externalSystemId) |
Blog |
BlogRightsManagement.setAllCanReadAllCanWrite(Long topicId,
boolean allCanRead,
boolean allCanWrite)
Update the blog all you can read /write only
|
Modifier and Type | Method and Description |
---|---|
boolean |
TopicHierarchyManagement.addChildTopic(Long parentTopicId,
Long childTopicId)
Add a topic as child to another topic.
|
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.
|
void |
BlogRightsManagementBase.assignManagementAccessToCurrentUser(Long blogId)
Assigns the management role to the current user.
|
void |
BlogRightsManagementBase.changePublicAccess(Long blogId,
boolean allowPublicAccess) |
void |
BlogRightsManagementBase.changeRoleOfMemberByEntityId(Long blogId,
Long entityId,
BlogRole role)
Changes the role of a blog member.
|
void |
BlogRightsManagementBase.changeRoleOfMemberByEntityIdForExternal(Long blogId,
Long entityId,
BlogRole role,
String externalSystemId)
Change the role of a blog member that was added on the behalf of an external system.
|
Blog |
BlogManagementBase.createBlog(CreationBlogTO blogDetails)
Create a new blog and set the user referenced in the transfer object as its manager.
|
NoteModificationResult |
NoteManagementBase.createNote(NoteStoringTO noteStoringTO,
Set<String> additionalBlogNameIds) |
NoteModificationResult |
NoteManagement.createNote(NoteStoringTO noteStoringTO,
Set<String> additionalBlogNameIds)
Creates a note from the supplied transfer object.
|
void |
BlogManagementBase.deleteBlog(Long blogId,
Long newBlogId) |
Blog |
BlogRightsManagementBase.getAndCheckBlogAccess(Long blogId,
BlogRole blogRole) |
Blog |
BlogManagementImpl.getBlogById(Long blogId,
boolean needTags) |
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) |
protected void |
BlogRightsManagementImpl.handleAssignManagementAccessToCurrentUser(Long blogId)
Performs the core logic for
BlogRightsManagementBase.assignManagementAccessToCurrentUser(Long) |
protected abstract void |
BlogRightsManagementBase.handleAssignManagementAccessToCurrentUser(Long blogId)
Performs the core logic for
BlogRightsManagementBase.assignManagementAccessToCurrentUser(Long) |
protected void |
BlogRightsManagementImpl.handleChangePublicAccess(Long topicId,
boolean allowPublicAccess)
Performs the core logic for
BlogRightsManagementBase.changePublicAccess(Long, boolean) |
protected abstract void |
BlogRightsManagementBase.handleChangePublicAccess(Long blogId,
boolean allowPublicAccess)
Performs the core logic for
BlogRightsManagementBase.changePublicAccess(Long, boolean) |
protected void |
BlogRightsManagementImpl.handleChangeRoleOfMemberByEntityId(Long blogId,
Long entityId,
BlogRole role) |
protected abstract void |
BlogRightsManagementBase.handleChangeRoleOfMemberByEntityId(Long blogId,
Long entityId,
BlogRole role)
Performs the core logic for
BlogRightsManagementBase.changeRoleOfMemberByEntityId(Long, Long, BlogRole) |
protected void |
BlogRightsManagementImpl.handleChangeRoleOfMemberByEntityIdForExternal(Long blogId,
Long entityId,
BlogRole role,
String externalSystemId) |
protected abstract void |
BlogRightsManagementBase.handleChangeRoleOfMemberByEntityIdForExternal(Long blogId,
Long entityId,
BlogRole role,
String externalSystemId)
Performs the core logic for
BlogRightsManagementBase.changeRoleOfMemberByEntityIdForExternal(Long, Long, BlogRole, String) |
protected Blog |
BlogManagementImpl.handleCreateBlog(CreationBlogTO blogDetails)
Performs the core logic for
BlogManagementBase.createBlog(CreationBlogTO) |
protected abstract Blog |
BlogManagementBase.handleCreateBlog(CreationBlogTO blogDetails)
Performs the core logic for
BlogManagementBase.createBlog(CreationBlogTO) |
protected NoteModificationResult |
NoteManagementImpl.handleCreateNote(NoteStoringTO noteStoringTO,
Set<String> additionalBlogIds) |
protected abstract NoteModificationResult |
NoteManagementBase.handleCreateNote(NoteStoringTO noteStoringTO,
Set<String> additionalBlogNameIds)
Performs the core logic for
NoteManagementBase.createNote(NoteStoringTO, Set) |
protected void |
BlogManagementImpl.handleDeleteBlog(Long blogId,
Long newBlogId)
Performs the core logic for
BlogManagementBase.deleteBlog(Long, Long) |
protected abstract void |
BlogManagementBase.handleDeleteBlog(Long blogId,
Long newBlogId)
Performs the core logic for
BlogManagementBase.deleteBlog(Long, Long) |
protected Blog |
BlogRightsManagementImpl.handleGetAndCheckBlogAccess(Long blogId,
BlogRole blogRole)
Performs the core logic for
BlogRightsManagementBase.getAndCheckBlogAccess(Long, BlogRole) |
protected abstract Blog |
BlogRightsManagementBase.handleGetAndCheckBlogAccess(Long blogId,
BlogRole blogRole)
Performs the core logic for
BlogRightsManagementBase.getAndCheckBlogAccess(Long, BlogRole) |
protected void |
BlogRightsManagementImpl.handleRemoveMemberByEntityId(Long topicId,
Long entityId)
Performs the core logic for
BlogRightsManagementBase.removeMemberByEntityId(Long, Long) |
protected abstract void |
BlogRightsManagementBase.handleRemoveMemberByEntityId(Long blogId,
Long entityId)
Performs the core logic for
BlogRightsManagementBase.removeMemberByEntityId(Long, Long) |
protected void |
BlogRightsManagementImpl.handleRemoveMemberByEntityIdForExternal(Long blogId,
Long entityId,
String externalSystemId)
Performs the core logic for
BlogRightsManagementBase.removeMemberByEntityIdForExternal(Long, Long, String) |
protected abstract void |
BlogRightsManagementBase.handleRemoveMemberByEntityIdForExternal(Long blogId,
Long entityId,
String externalSystemId)
Performs the core logic for
BlogRightsManagementBase.removeMemberByEntityIdForExternal(Long, Long, String) |
protected Blog |
BlogRightsManagementImpl.handleSetAllCanReadAllCanWrite(Long blogId,
boolean allCanRead,
boolean allCanWrite)
Performs the core logic for
BlogRightsManagementBase.setAllCanReadAllCanWrite(Long, boolean, boolean) |
protected abstract Blog |
BlogRightsManagementBase.handleSetAllCanReadAllCanWrite(Long blogId,
boolean allCanRead,
boolean allCanWrite)
Performs the core logic for
BlogRightsManagementBase.setAllCanReadAllCanWrite(Long, boolean, boolean) |
protected NoteModificationResult |
NoteManagementImpl.handleUpdateNote(NoteStoringTO noteStoringTO,
Long noteId,
Set<String> additionalBlogIds) |
protected abstract NoteModificationResult |
NoteManagementBase.handleUpdateNote(NoteStoringTO noteStoringTO,
Long noteId,
Set<String> additionalBlogNameIds) |
void |
BlogRightsManagementBase.removeMemberByEntityId(Long blogId,
Long entityId) |
void |
BlogRightsManagementBase.removeMemberByEntityIdForExternal(Long blogId,
Long entityId,
String externalSystemId) |
Blog |
BlogRightsManagementBase.setAllCanReadAllCanWrite(Long blogId,
boolean allCanRead,
boolean allCanWrite) |
NoteModificationResult |
NoteManagementBase.updateNote(NoteStoringTO noteStoringTO,
Long noteId,
Set<String> additionalBlogNameIds)
Updates an existing note with the data of the supplied transfer object.
|
NoteModificationResult |
NoteManagement.updateNote(NoteStoringTO noteStoringTO,
Long noteId,
Set<String> additionalBlogNameIds)
Updates an existing note with the data of the supplied transfer object.
|
void |
TopicHierarchyManagement.updateTopicStructure(Long topicId,
TopicStructureTO structureChange)
Update the topic structure for a given topic
|
Modifier and Type | Method and Description |
---|---|
static org.springframework.security.access.AccessDeniedException |
BlogManagementHelper.convertException(BlogNotFoundException nf)
Convert the exception to an
AccessDeniedException Needed to not break existing
behavior after removing old assertBlogAccess(Blog) method. |
Modifier and Type | Method and Description |
---|---|
Class<BlogNotFoundException> |
BlogNotFoundExceptionMapper.getExceptionClass() |
Modifier and Type | Method and Description |
---|---|
Status |
BlogNotFoundExceptionMapper.mapException(BlogNotFoundException exception)
Maps the given exception to a status.
|
Modifier and Type | Method and Description |
---|---|
ExternalObject |
ExternalObjectManagementBase.assignExternalObject(Long blogId,
ExternalObject externalObject) |
ExternalObject |
ExternalObjectManagement.assignExternalObject(Long blogId,
ExternalObject externalObject)
Assign an external object to a topic.
|
void |
ExternalObjectManagementBase.assignOrUpdateExternalObjects(Long blogId,
Collection<ExternalObject> externalObjects) |
void |
ExternalObjectManagement.assignOrUpdateExternalObjects(Long blogId,
Collection<ExternalObject> externalObjects)
Assign or update a collection of external objects.
|
<T> T |
ExternalObjectManagementImpl.getExternalObject(Long topicId,
Long externalObjectId,
Converter<Pair<Blog,ExternalObject>,T> converter) |
<T> T |
ExternalObjectManagement.getExternalObject(Long topicId,
Long externalObjectId,
Converter<Pair<Blog,ExternalObject>,T> converter)
Get an external object which is identified by the given ID and is assigned to the given
topic.
|
Collection<ExternalObject> |
ExternalObjectManagementBase.getExternalObjects(Long blogId) |
Collection<ExternalObject> |
ExternalObjectManagement.getExternalObjects(Long blogId)
Return the external objects that are assigned to the given blog.
|
protected ExternalObject |
ExternalObjectManagementImpl.handleAssignExternalObject(Long blogId,
ExternalObject externalObject) |
protected abstract ExternalObject |
ExternalObjectManagementBase.handleAssignExternalObject(Long blogId,
ExternalObject externalObject)
Performs the core logic for
ExternalObjectManagementBase.assignExternalObject(Long, ExternalObject) |
protected void |
ExternalObjectManagementImpl.handleAssignOrUpdateExternalObjects(Long blogId,
Collection<ExternalObject> externalObjects) |
protected abstract void |
ExternalObjectManagementBase.handleAssignOrUpdateExternalObjects(Long blogId,
Collection<ExternalObject> externalObjects)
Performs the core logic for
ExternalObjectManagementBase.assignOrUpdateExternalObjects(Long, Collection) |
protected Collection<ExternalObject> |
ExternalObjectManagementImpl.handleGetExternalObjects(Long topicId) |
protected abstract Collection<ExternalObject> |
ExternalObjectManagementBase.handleGetExternalObjects(Long blogId)
Performs the core logic for
ExternalObjectManagementBase.getExternalObjects(Long) |
protected boolean |
ExternalObjectManagementImpl.handleIsExternalObjectAssigned(Long blogId,
String externalSystemId,
String externalObjectId) |
protected abstract boolean |
ExternalObjectManagementBase.handleIsExternalObjectAssigned(Long blogId,
String externalSystemId,
String externalObjectId)
Check if a external object is assigned to a blog
|
protected void |
ExternalObjectManagementImpl.handleRemoveExternalObject(Long blogId,
String externalSystemId,
String externalObjectId) |
protected abstract void |
ExternalObjectManagementBase.handleRemoveExternalObject(Long blogId,
String externalSystemId,
String externalObjectId)
Performs the core logic for
ExternalObjectManagementBase.removeExternalObject(Long, String, String) |
protected void |
ExternalObjectManagementImpl.handleReplaceExternalObjects(Long blogId,
Collection<ExternalObject> externalObjects) |
protected abstract void |
ExternalObjectManagementBase.handleReplaceExternalObjects(Long blogId,
Collection<ExternalObject> externalObjects)
Performs the core logic for
ExternalObjectManagementBase.replaceExternalObjects(Long, Collection) |
protected ExternalObject |
ExternalObjectManagementImpl.handleUpdateExternalObject(Long blogId,
ExternalObject newExternalObject) |
protected abstract ExternalObject |
ExternalObjectManagementBase.handleUpdateExternalObject(Long blogId,
ExternalObject externalObject)
Performs the core logic for
ExternalObjectManagementBase.updateExternalObject(Long, ExternalObject) |
boolean |
ExternalObjectManagementImpl.hasExternalObjects(Long blogId) |
boolean |
ExternalObjectManagement.hasExternalObjects(Long blogId)
Return whether a given blog has external objects.
|
boolean |
ExternalObjectManagementBase.isExternalObjectAssigned(Long blogId,
String externalSystemId,
String externalObjectId) |
boolean |
ExternalObjectManagement.isExternalObjectAssigned(Long blogId,
String externalSystemId,
String externalObjectId)
Check if a external object is assigned to a blog
|
void |
BlogRightsSynchronizer.mergeRights(List<ExternalTopicRoleTO> rolesToSetOrUpdate,
List<ExternalTopicRoleTO> rolesToRemove)
Synchronize blog rights for an external system by merging them with the existing rights.
|
void |
ExternalObjectManagementBase.removeExternalObject(Long blogId,
String externalSystemId,
String externalObjectId) |
void |
ExternalObjectManagement.removeExternalObject(Long blogId,
String externalSystemId,
String externalObjectId)
Remove an external object from a blog.
|
void |
ExternalObjectManagementBase.replaceExternalObjects(Long blogId,
Collection<ExternalObject> externalObjects) |
void |
ExternalObjectManagement.replaceExternalObjects(Long blogId,
Collection<ExternalObject> externalObjects)
Replace the external objects assigned to a blog with the provided ones.
|
void |
BlogRightsSynchronizer.replaceRights(List<ExternalTopicRoleTO> rolesToSet)
Synchronize the members of the blog by replacing the existing member roles that were assigned
for the external system with the provided members and there roles.
|
void |
BlogRightsSynchronizer.replaceRights(String externalObjectId,
Map<String,BlogRole> externalUserRoles,
Map<String,BlogRole> externalGroupRoles)
Synchronize the members of the blog by replacing the existing member roles that were assigned
for the external system with the provided members and there roles.
|
ExternalObject |
ExternalObjectManagementBase.updateExternalObject(Long blogId,
ExternalObject externalObject) |
ExternalObject |
ExternalObjectManagement.updateExternalObject(Long blogId,
ExternalObject externalObject)
Update an existing external object.
|
Modifier and Type | Method and Description |
---|---|
Date |
LastModificationDateManagement.getTopicCrawlLastModificationDate(Long topicId)
Get the crawl-last-modification date of the given topic.
|
Modifier and Type | Method and Description |
---|---|
String |
MessagerConnector.getBlogMessagerId(long blogId)
returns the blog in the messages format.
|
Modifier and Type | Method and Description |
---|---|
String |
XMPPConnector.getBlogMessagerId(long blogId)
returns the blog in the messages format.
|
Modifier and Type | Method and Description |
---|---|
Blog |
TagCategoryManagementBase.assignGlobalCategoryToBlog(Long categoryId,
Long blogId) |
Blog |
TagCategoryManagement.assignGlobalCategoryToBlog(Long categoryId,
Long blogId) |
protected Blog |
TagCategoryManagementImpl.handleAssignGlobalCategoryToBlog(Long categoryId,
Long blogId)
Performs the core logic for
TagCategoryManagementBase.assignGlobalCategoryToBlog(Long, Long) |
protected abstract Blog |
TagCategoryManagementBase.handleAssignGlobalCategoryToBlog(Long categoryId,
Long blogId)
Performs the core logic for
TagCategoryManagementBase.assignGlobalCategoryToBlog(Long, Long) |
protected void |
TagCategoryManagementImpl.handleRemoveTagCategoryFromBlog(Long categoryId,
Long blogId)
Performs the core logic for
TagCategoryManagementBase.removeTagCategoryFromBlog(Long, Long) |
protected abstract void |
TagCategoryManagementBase.handleRemoveTagCategoryFromBlog(Long categoryId,
Long blogId)
Performs the core logic for
TagCategoryManagementBase.removeTagCategoryFromBlog(Long, Long) |
void |
TagCategoryManagementBase.removeTagCategoryFromBlog(Long categoryId,
Long blogId) |
void |
TagCategoryManagement.removeTagCategoryFromBlog(Long categoryId,
Long blogId) |
Modifier and Type | Method and Description |
---|---|
void |
TopicHierarchyService.addTopic(Long parentTopicId,
Long childTopicId)
Method to add a topic as child to another topic.
|
NoteModificationResult |
NoteService.createNote(NoteStoringTO noteStoringTO,
Set<String> additionalBlogNameIds)
Creates a note from the supplied transfer object.
|
NoteModificationResult |
NoteService.updateNote(NoteStoringTO noteStoringTO,
Long noteId,
Set<String> additionalBlogNameIds)
Updates an existing note with the data of the supplied transfer object.
|
void |
TopicHierarchyService.updateTopicStructure(Long topicId,
TopicStructureTO structureChangeTO)
Update the topic structure for a given topic
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
BlogMemberInviteController.inviteUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
InviteUserForm invitationForm,
org.springframework.validation.BindException errors,
UserVO userToInvite)
Invite the given user.
|
Copyright © 2019 Communote team. All rights reserved.