| Modifier and Type | Method and Description | 
|---|---|
static BlogRole | 
RoleResourceHelper.getBlogRole(ERole eRole)
Get topic role 
 | 
| 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 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static BlogRole | 
RoleExternalResourceHelper.getBlogRole(ERole eRole)
Get topic role 
 | 
| 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 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static BlogRole | 
RoleResourceHelper.getBlogRole(ERole eRole)
Get topic role 
 | 
| 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 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static BlogRole | 
RoleExternalResourceHelper.getBlogRole(ERole eRole)
Get topic role 
 | 
| 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 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static BlogRole | 
RoleResourceHelper.getBlogRole(ERole eRole)
Get topic role 
 | 
| 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 ERole | 
RoleResourceHelper.getERole(BlogRole role)
Convert blog role to rest api resource role 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static BlogRole | 
RoleExternalResourceHelper.getBlogRole(ERole eRole)
Get topic role 
 | 
| 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 
 | 
| Modifier and Type | Method and Description | 
|---|---|
BlogRole | 
BlogAccessException.getRequiredRole()
 the role which is required but the member did not have 
 | 
BlogRole | 
BlogRightsManagement.getRoleOfCurrentUser(Long topicId,
                    boolean ignoreAllCanFlags)
Returns the blog role of the current user. 
 | 
BlogRole | 
BlogRightsManagement.getRoleOfEntity(Long topicId,
               Long entityId,
               boolean ignoreAllCanFlags)
Returns the blog role of an entity or null if the entity does not have access to the blog. 
 | 
BlogRole | 
BlogRightsManagement.getRoleOfUser(Long topicId,
             Long userId,
             boolean ignoreAllCanFlags)
Returns the blog role of a user. 
 | 
BlogRole | 
UserBlogData.getUserRole()  | 
BlogRole | 
BlogAccessException.getUserRole()
 the role the user had 
 | 
| 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.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 | 
BlogRightsManagement.getAndCheckBlogAccess(Long topicId,
                     BlogRole blogRole)
Check if a topic exists and the current user has access to that topic. 
 | 
<T> Collection<T> | 
BlogRightsManagement.getMappedUsers(Long topicId,
              CollectionConverter<UserToBlogRoleMapping,T> converter,
              BlogRole... roles)
Method to get all users for a given topic with the specified roles. 
 | 
void | 
BlogAccessException.setRequiredRole(BlogRole requiredRole)  | 
void | 
UserBlogData.setUserRole(BlogRole userRole)
Sets the role the user has in the blog. 
 | 
void | 
BlogAccessException.setUserRole(BlogRole userRole)  | 
| Constructor and Description | 
|---|
BlogAccessException(String message,
                   Long blogId,
                   BlogRole requiredRole,
                   BlogRole userRole)
Constructs a new instance of BlogAccessException 
 | 
BlogAccessException(String message,
                   Throwable throwable,
                   Long blogId,
                   BlogRole requiredRole,
                   BlogRole userRole)
Constructs a new instance of BlogAccessException 
 | 
UserBlogData(BlogRole userRole,
            String nameIdentifier,
            String description,
            Long blogId,
            String title,
            Date lastModificationDate)  | 
| Constructor and Description | 
|---|
ExternalObjectNotAssignedException(String message,
                                  Long blogId,
                                  BlogRole userRole,
                                  String externalId,
                                  String externalSystemId)
Create a new exception 
 | 
| Modifier and Type | Method and Description | 
|---|---|
BlogRole | 
AssignedBlogRoleRetriever.getAssignedRole(Long blogId,
               Long userId)
Returns the effective blog role of the given user which was directly assigned to the user or
 assigned to a group the user is a member of. 
 | 
BlogRole | 
BlogRightsManagementBase.getRoleOfCurrentUser(Long blogId,
                    boolean ignoreAllCanFlags)  | 
BlogRole | 
BlogRightsManagementBase.getRoleOfEntity(Long blogId,
               Long entityId,
               boolean ignoreAllCanFlags)  | 
BlogRole | 
BlogRightsManagementBase.getRoleOfUser(Long blogId,
             Long userId,
             boolean ignoreAllCanFlags)  | 
protected BlogRole | 
BlogRightsManagementImpl.handleGetRoleOfCurrentUser(Long blogId,
                          boolean ignoreAllCanFlags)
Performs the core logic for  
BlogRightsManagementBase.getRoleOfCurrentUser(Long, boolean) | 
protected abstract BlogRole | 
BlogRightsManagementBase.handleGetRoleOfCurrentUser(Long blogId,
                          boolean ignoreAllCanFlags)
Performs the core logic for  
BlogRightsManagementBase.getRoleOfCurrentUser(Long, boolean) | 
protected BlogRole | 
BlogRightsManagementImpl.handleGetRoleOfEntity(Long blogId,
                     Long entityId,
                     boolean ignoreAllCanFlags)
Performs the core logic for  
BlogRightsManagementBase.getRoleOfEntity(Long, Long, boolean) | 
protected abstract BlogRole | 
BlogRightsManagementBase.handleGetRoleOfEntity(Long blogId,
                     Long entityId,
                     boolean ignoreAllCanFlags)
Performs the core logic for  
BlogRightsManagementBase.getRoleOfEntity(Long, Long, boolean) | 
protected BlogRole | 
BlogRightsManagementImpl.handleGetRoleOfUser(Long blogId,
                   Long userId,
                   boolean ignoreAllCanFlags)
Performs the core logic for  
BlogRightsManagementBase.getRoleOfUser(Long, Long, boolean) | 
protected abstract BlogRole | 
BlogRightsManagementBase.handleGetRoleOfUser(Long blogId,
                   Long userId,
                   boolean ignoreAllCanFlags)
Performs the core logic for  
BlogRightsManagementBase.getRoleOfUser(Long, Long, boolean) | 
| 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. 
 | 
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 | 
BlogRightsManagementBase.getAndCheckBlogAccess(Long blogId,
                     BlogRole blogRole)  | 
<T> Collection<T> | 
BlogRightsManagementImpl.getMappedUsers(Long topicId,
              CollectionConverter<UserToBlogRoleMapping,T> converter,
              BlogRole... roles)
Method to get all users for a given topic with the specified roles. 
 | 
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.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 | 
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) | 
| Modifier and Type | Method and Description | 
|---|---|
BlogRole | 
UserToTopicRoleMappingChangedEvent.getBeforeTopicRole()  | 
BlogRole | 
TopicAccessRightsChangedEvent.getNewRole()  | 
BlogRole | 
UserToTopicRoleMappingChangedEvent.getNewRoleOfMapping()  | 
BlogRole | 
TopicAccessRightsChangedEvent.getOldRole()  | 
BlogRole | 
UserToTopicRoleMappingChangedEvent.getOldRoleOfMapping()  | 
| Constructor and Description | 
|---|
AllUsersTopicAccessRightsChangedEvent(long topicId,
                                     String topicTitle,
                                     long grantingUserId,
                                     BlogRole oldRole,
                                     BlogRole newRole)
Constructor. 
 | 
EntityTopicAccessRightsChangedEvent(long topicId,
                                   String topicTitle,
                                   long grantingUserId,
                                   long grantedEntityId,
                                   boolean isGroup,
                                   BlogRole oldRole,
                                   BlogRole newRole)
Constructor. 
 | 
TopicAccessRightsChangedEvent(long topicId,
                             String topicTitle,
                             long grantingUserId,
                             BlogRole oldRole,
                             BlogRole newRole)
Constructor. 
 | 
UserToTopicRoleMappingChangedEvent(Long topicId,
                                  Long entityId,
                                  boolean isGroup,
                                  BlogRole oldRoleOfMapping,
                                  BlogRole newRoleOfMapping,
                                  BlogRole beforeTopicRole)  | 
UserToTopicRoleMappingChangedEvent(Long topicId,
                                  Long entityId,
                                  boolean isGroup,
                                  Long grantingGroupId,
                                  BlogRole oldRoleOfMapping,
                                  BlogRole newRoleOfMapping,
                                  BlogRole beforeTopicRole)  | 
| Modifier and Type | Method and Description | 
|---|---|
static BlogRole | 
BlogRoleHelper.convertNumericToRole(int numericRole)
Convert a numeric representation of a role into the role object. 
 | 
static BlogRole | 
BlogRoleHelper.getUpperRole(BlogRole firstRole,
            BlogRole secRole)
Get back the upper role of given roles 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Map<BlogRole,String> | 
BlogRoleHelper.getBlogRoles(Locale locale)
Gets the localized user group roles. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static int | 
BlogRoleHelper.convertRoleToNumeric(BlogRole role)
Convert a role into a numeric representation. 
 | 
static BlogRole | 
BlogRoleHelper.getUpperRole(BlogRole firstRole,
            BlogRole secRole)
Get back the upper role of given roles 
 | 
static boolean | 
BlogRoleHelper.sufficientAccess(BlogRole actualRole,
                BlogRole requiredRole)
Return whether a role represents the same or a higher access right than another role 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
BlogRole | 
UserDetailBlogListItem.getUserRole()
 User group role of the current user 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
UserDetailBlogListItem.setUserRole(BlogRole userRole)  | 
| Constructor and Description | 
|---|
UserDetailBlogListItem(BlogRole userRole,
                      boolean allCanRead,
                      boolean allCanWrite,
                      String readingUserIds,
                      String writingUserIds,
                      String managingUserIds,
                      String blogEmail,
                      boolean createSystemNotes,
                      String nameIdentifier,
                      String description,
                      Long blogId,
                      String title,
                      Date lastModificationDate)  | 
| Modifier and Type | Method and Description | 
|---|---|
BlogRole | 
BlogMemberListItem.getBlogRole()  | 
BlogRole | 
BlogRoleEntityListItem.getGrantedBlogRole()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
BlogMemberListItem.setBlogRole(BlogRole blogRole)  | 
void | 
BlogRoleEntityListItem.setGrantedBlogRole(BlogRole grantedBlogRole)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected User | 
UserManagementImpl.handleInviteUserToBlog(Long blogId,
                      UserVO userVo,
                      BlogRole role)  | 
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 | 
UserManagementBase.inviteUserToBlog(Long blogId,
                UserVO userData,
                BlogRole role)  | 
User | 
UserManagement.inviteUserToBlog(Long blogId,
                UserVO userData,
                BlogRole role)  | 
| Modifier and Type | Method and Description | 
|---|---|
BlogRole | 
ExternalTopicRoleTO.getRole()
 Role of entity for topic. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ExternalTopicRoleTO.setRole(BlogRole role)  | 
| Constructor and Description | 
|---|
ExternalTopicRoleTO(BlogRole role,
                   Long entityId,
                   String entityAlias,
                   Boolean isGroup,
                   String externalObjectId,
                   String externalEntityId)  | 
ExternalTopicRoleTO(BlogRole role,
                   String externalObjectId)  | 
| Modifier and Type | Method and Description | 
|---|---|
BlogRole[] | 
BlogMemberManagementQueryParameters.getIncludeBlogRoles()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
BlogMemberManagementQueryParameters.setIncludeBlogRoles(BlogRole[] includeBlogRoles)  | 
| Modifier and Type | Field and Description | 
|---|---|
static BlogRole | 
BlogRole.MANAGER
 A blog member with the MANAGER role has read, write and management access to a blog. 
 | 
static BlogRole | 
BlogRole.MEMBER
 A blog member with the MEMBER role has read and write access to a blog. 
 | 
static BlogRole | 
BlogRole.VIEWER
 A blog member with the VIEWER role only has read access to a blog. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static BlogRole | 
BlogRole.fromString(String value)
Creates an instance of BlogRole from  
value. | 
BlogRole | 
BlogMember.getRole()
 The role of the member in the bog. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ExternalBlogMember | 
ExternalBlogMember.Factory.newInstance(BlogRole role,
           Blog blog,
           CommunoteEntity kenmeiEntity)
Constructs a new instance of  
ExternalBlogMember,
 taking all required and/or read-only properties as arguments. | 
static BlogMember | 
BlogMember.Factory.newInstance(BlogRole role,
           Blog blog,
           CommunoteEntity kenmeiEntity)
Constructs a new instance of  
BlogMember, taking
 all possible properties (except the identifier(s))as arguments. | 
static ExternalBlogMember | 
ExternalBlogMember.Factory.newInstance(String externalSystemId,
           BlogRole role,
           Blog blog,
           CommunoteEntity kenmeiEntity)
Constructs a new instance of  
ExternalBlogMember,
 taking all possible properties (except the identifier(s))as arguments. | 
void | 
BlogMember.setRole(BlogRole role)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BlogRoleEnum
 This enumeration represents the possible roles of blog member. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
BlogRole | 
UserToBlogRoleMappingDaoBase.getRoleOfUser(Long blogId,
             Long userId)  | 
BlogRole | 
UserToBlogRoleMappingDao.getRoleOfUser(Long blogId,
             Long userId)
 Returns the role of the user for the blog or null if the user has no role for the blog. 
 | 
protected BlogRole | 
UserToBlogRoleMappingDaoImpl.handleGetRoleOfUser(Long blogId,
                   Long userId)
Performs the core logic for  
UserToBlogRoleMappingDaoBase.getRoleOfUser(Long, Long) | 
protected abstract BlogRole | 
UserToBlogRoleMappingDaoBase.handleGetRoleOfUser(Long blogId,
                   Long userId)
Performs the core logic for  
UserToBlogRoleMappingDaoBase.getRoleOfUser(Long, Long) | 
| Modifier and Type | Method and Description | 
|---|---|
Map<Long,BlogRole> | 
BlogMemberDaoBase.getBlogRoles(Long blogId,
            String externalSystemId)  | 
Map<Long,BlogRole> | 
BlogMemberDao.getBlogRoles(Long blogId,
            String externalSystemId)
 Returns a map of entity ids and blog roles. 
 | 
protected Map<Long,BlogRole> | 
BlogMemberDaoImpl.handleGetBlogRoles(Long blogId,
                  String externalSystemId)
Performs the core logic for  
BlogMemberDaoBase.getBlogRoles(Long, String) | 
protected abstract Map<Long,BlogRole> | 
BlogMemberDaoBase.handleGetBlogRoles(Long blogId,
                  String externalSystemId)
Performs the core logic for  
BlogMemberDaoBase.getBlogRoles(Long, String) | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<UserToBlogRoleMapping> | 
UserToBlogRoleMappingDaoImpl.findMappings(Long blogId,
            Long userId,
            Long groupId,
            Boolean grantedByGroup,
            BlogRole role)
Retrieves mappings matching the parameters. 
 | 
Collection<UserToBlogRoleMapping> | 
UserToBlogRoleMappingDao.findMappings(Long blogId,
            Long userId,
            Long groupId,
            Boolean grantedByGroup,
            BlogRole role)
Retrieves mappings matching the parameters. 
 | 
Collection<UserToBlogRoleMapping> | 
UserToBlogRoleMappingDaoBase.findMappingsForExternal(Long blogId,
                       Long userId,
                       Long groupId,
                       boolean grantedByGroup,
                       BlogRole role,
                       String externalSystemId)  | 
Collection<UserToBlogRoleMapping> | 
UserToBlogRoleMappingDao.findMappingsForExternal(Long blogId,
                       Long userId,
                       Long groupId,
                       boolean grantedByGroup,
                       BlogRole role,
                       String externalSystemId)
 Retrieves mappings matching the parameters. 
 | 
protected Collection<UserToBlogRoleMapping> | 
UserToBlogRoleMappingDaoImpl.handleFindMappingsForExternal(Long blogId,
                             Long userId,
                             Long groupId,
                             boolean grantedByGroup,
                             BlogRole role,
                             String externalSystem)
 | 
protected abstract Collection<UserToBlogRoleMapping> | 
UserToBlogRoleMappingDaoBase.handleFindMappingsForExternal(Long blogId,
                             Long userId,
                             Long groupId,
                             boolean grantedByGroup,
                             BlogRole role,
                             String externalSystemId)
 | 
| Modifier and Type | Method and Description | 
|---|---|
BlogRole | 
BlogMemberManagementWidget.getAllUserGroupRole()  | 
BlogRole | 
BlogMemberManagementWidget.getBlogRole()  | 
Copyright © 2019 Communote team. All rights reserved.