Modifier and Type | Method and Description |
---|---|
String |
NonUniqueBlogIdentifierExceptionMapper.getErrorMessage(NonUniqueBlogIdentifierException exception)
Get the message of the exception in mapper.
|
Modifier and Type | Method and Description |
---|---|
Blog |
BlogManagement.createBlog(CreationBlogTO blogDetails)
Create a new blog and set the user referenced in the transfer object as its manager.
|
void |
BlogManagement.createDefaultBlog(String blogName)
Create a default topic if there is no such topic yet.
|
String |
BlogManagement.generateUniqueBlogAlias(String aliasBase,
String previousAlias)
Tries to find a valid blog alias that is not yet used by another blog
|
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 |
---|---|
Blog |
BlogManagementBase.createBlog(CreationBlogTO blogDetails)
Create a new blog and set the user referenced in the transfer object as its manager.
|
void |
BlogManagementImpl.createDefaultBlog(String topicName) |
String |
BlogManagementImpl.generateUniqueBlogAlias(String aliasBase,
String previousAlias)
Tries to find a valid blog alias that is not yet used by another blog
|
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.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) |
Blog |
BlogManagementBase.updateBlog(Long blogId,
BlogTO blog) |
Modifier and Type | Method and Description |
---|---|
Class<NonUniqueBlogIdentifierException> |
NonUniqueBlogIdentifierExceptionMapper.getExceptionClass() |
Modifier and Type | Method and Description |
---|---|
Status |
NonUniqueBlogIdentifierExceptionMapper.mapException(NonUniqueBlogIdentifierException exception)
Maps the given exception to a status.
|
Copyright © 2019 Communote team. All rights reserved.