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.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 |
FollowResourceHandler.handleCreateInternally(CreateFollowParameter createFollowParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to set blog follow
|
javax.ws.rs.core.Response |
FollowResourceHandler.handleDeleteInternally(DeleteFollowParameter deleteFollowParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to delete follow of blog
|
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 |
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 |
BlogAccessExceptionMapper.getErrorMessage(BlogAccessException exception)
Get the message of the exception in mapper.
|
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.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 |
---|---|
static void |
ExternalObjectResourceHelper.addOrUpdateExternalObjectResources(ExternalObjectResource[] externalObjectResources,
Long topicId,
boolean onlyAdd)
Add or update external object resources.
|
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.handleGetInternally(GetExternalObjectParameter getExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get the internal representation of external object as
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 |
FollowResourceHandler.handleCreateInternally(CreateFollowParameter createFollowParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to set blog follow
|
javax.ws.rs.core.Response |
FollowResourceHandler.handleDeleteInternally(DeleteFollowParameter deleteFollowParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to delete follow of blog
|
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 |
---|---|
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.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 |
---|---|
static void |
ExternalObjectResourceHelper.addOrUpdateExternalObjectResources(ExternalObjectResource[] externalObjectResources,
Long topicId,
boolean onlyAdd)
Add or update external object resources.
|
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.handleGetInternally(GetExternalObjectParameter getExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get the internal representation of external object as
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 |
FollowResourceHandler.handleCreateInternally(CreateFollowParameter createFollowParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to set blog follow
|
javax.ws.rs.core.Response |
FollowResourceHandler.handleDeleteInternally(DeleteFollowParameter deleteFollowParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to delete follow of blog
|
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 |
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 |
---|---|
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.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 |
---|---|
static void |
ExternalObjectResourceHelper.addOrUpdateExternalObjectResources(ExternalObjectResource[] externalObjectResources,
Long topicId,
boolean onlyAdd)
Add or update external object resources.
|
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.handleGetInternally(GetExternalObjectParameter getExternalObjectParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Get the internal representation of external object as
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 |
FollowResourceHandler.handleCreateInternally(CreateFollowParameter createFollowParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to set blog follow
|
javax.ws.rs.core.Response |
FollowResourceHandler.handleDeleteInternally(DeleteFollowParameter deleteFollowParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to delete follow of blog
|
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 |
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.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.
|
Blog |
BlogManagement.findBlogByIdentifier(String identifier)
Retrieve a blog by its alias.
|
Blog |
BlogRightsManagement.getAndCheckBlogAccess(Long topicId,
BlogRole blogRole)
Check if a topic exists and the current user has access to that topic.
|
<T> T |
BlogManagement.getBlogByAlias(String alias,
Converter<Blog,T> converter)
Return the details of a blog.
|
Blog |
BlogManagement.getBlogById(Long topicId,
boolean needTags)
Retrieve a blog by its ID.
|
<T> T |
BlogManagement.getBlogById(Long blogId,
Converter<Blog,T> converter)
Return the details of a blog.
|
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
|
Blog |
BlogManagement.updateBlog(Long blogId,
BlogTO blogDetails)
Update the blog data including title, description alias, tags and properties but not access
rights.
|
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.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.
|
Blog |
BlogManagementBase.findBlogByIdentifier(String identifier)
Retrieve a blog by its alias.
|
Blog |
BlogRightsManagementBase.getAndCheckBlogAccess(Long blogId,
BlogRole blogRole) |
<T> T |
BlogManagementImpl.getBlogByAlias(String alias,
Converter<Blog,T> converter)
Return the details of a blog.
|
Blog |
BlogManagementImpl.getBlogById(Long blogId,
boolean needTags) |
<T> T |
BlogManagementImpl.getBlogById(Long blogId,
Converter<Blog,T> converter)
Return the details of a blog.
|
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.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 Blog |
BlogManagementImpl.handleFindBlogByIdentifier(String identifier) |
protected abstract Blog |
BlogManagementBase.handleFindBlogByIdentifier(String identifier)
Performs the core logic for
BlogManagementBase.findBlogByIdentifier(String) |
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 Blog |
BlogManagementImpl.handleUpdateBlog(Long blogId,
BlogTO blogTO)
Performs the core logic for
BlogManagementBase.updateBlog(Long, BlogTO) |
protected abstract Blog |
BlogManagementBase.handleUpdateBlog(Long blogId,
BlogTO blog)
Performs the core logic for
BlogManagementBase.updateBlog(Long, BlogTO) |
void |
TopicHierarchyManagement.removeAllConnections(Long topicId)
Removes all child and parent connections for the given topic.
|
boolean |
TopicHierarchyManagement.removeChildTopic(Long parentTopicId,
Long childTopicId)
Remove a child topic from its parent
|
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) |
Blog |
BlogManagementBase.updateBlog(Long blogId,
BlogTO blog) |
Modifier and Type | Method and Description |
---|---|
static org.springframework.security.access.AccessDeniedException |
BlogManagementHelper.convertException(BlogAccessException ba)
Convert the exception to an
AccessDeniedException . |
Modifier and Type | Method and Description |
---|---|
Class<BlogAccessException> |
BlogAccessExceptionMapper.getExceptionClass() |
Modifier and Type | Method and Description |
---|---|
Status |
BlogAccessExceptionMapper.mapException(BlogAccessException 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 externalObjectId) |
protected abstract void |
ExternalObjectManagementBase.handleRemoveExternalObject(Long externalObjectId)
Performs the core logic for
ExternalObjectManagementBase.removeExternalObject(Long) |
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 externalObjectId) |
void |
ExternalObjectManagement.removeExternalObject(Long externalObjectId)
Remove the external object with the given ID.
|
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 |
---|---|
void |
FollowManagementBase.followBlog(Long blogId) |
void |
FollowManagement.followBlog(Long blogId)
Adds the specified blog/topic to the followed items of the current user.
|
void |
FollowManagementBase.followDiscussion(Long discussionId)
Adds the discussion with the specified ID to the followed items of the current user.
|
void |
FollowManagement.followDiscussion(Long discussionId)
Adds the discussion with the specified ID to the followed items of the current user.
|
void |
FollowManagementBase.followDiscussionByNoteId(Long noteId)
Adds the discussion of the specified note to the followed items of the current user.
|
void |
FollowManagement.followDiscussionByNoteId(Long noteId)
Adds the discussion of the specified note to the followed items of the current user.
|
protected void |
FollowManagementImpl.handleFollowBlog(Long blogId)
Performs the core logic for
FollowManagementBase.followBlog(Long) |
protected abstract void |
FollowManagementBase.handleFollowBlog(Long blogId)
Performs the core logic for
FollowManagementBase.followBlog(Long) |
protected void |
FollowManagementImpl.handleFollowDiscussion(Long discussionId)
Performs the core logic for
FollowManagementBase.followDiscussion(Long) |
protected abstract void |
FollowManagementBase.handleFollowDiscussion(Long discussionId)
Performs the core logic for
FollowManagementBase.followDiscussion(Long) |
protected void |
FollowManagementImpl.handleFollowDiscussionByNoteId(Long noteId)
Performs the core logic for
FollowManagementBase.followDiscussionByNoteId(Long) |
protected abstract void |
FollowManagementBase.handleFollowDiscussionByNoteId(Long noteId)
Performs the core logic for
FollowManagementBase.followDiscussionByNoteId(Long) |
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 |
---|---|
protected BlogAccessException |
TopicPermissionManagementImpl.createPermissonViolationException(Blog entity,
Permission<Blog> permission) |
Modifier and Type | Method and Description |
---|---|
protected abstract User |
UserManagementBase.handleInviteUserToBlog(Long blogId,
UserVO userData,
BlogRole role)
Performs the core logic for
#inviteUserToBlog(Long, User, UserVO, com.communote.server.model.blog.BlogRole) |
User |
UserManagement.inviteUserToBlog(Long blogId,
UserVO userData,
BlogRole role) |
Modifier and Type | Method and Description |
---|---|
void |
TopicHierarchyService.addTopic(Long parentTopicId,
Long childTopicId)
Method to add a topic as child to another topic.
|
void |
TopicHierarchyService.removeTopic(Long parentTopicId,
Long childTopicId)
Method to remove a topic as child from another topic.
|
Copyright © 2019 Communote team. All rights reserved.