Package | Description |
---|---|
com.communote.server.api.core.blog | |
com.communote.server.core.blog | |
com.communote.server.model.blog | |
com.communote.server.persistence.blog |
Modifier and Type | Method and Description |
---|---|
<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.
|
Modifier and Type | Method and Description |
---|---|
<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.
|
Modifier and Type | Class and Description |
---|---|
class |
UserToBlogRoleMappingImpl |
Modifier and Type | Method and Description |
---|---|
static UserToBlogRoleMapping |
UserToBlogRoleMapping.Factory.newInstance()
Constructs a new instance of
UserToBlogRoleMapping . |
static UserToBlogRoleMapping |
UserToBlogRoleMapping.Factory.newInstance(Long blogId,
Long userId,
int numericRole,
boolean grantedByGroup)
Constructs a new instance of
UserToBlogRoleMapping , taking all required and/or
read-only properties as arguments. |
static UserToBlogRoleMapping |
UserToBlogRoleMapping.Factory.newInstance(Long blogId,
Long userId,
int numericRole,
String externalSystemId,
boolean grantedByGroup,
Set<Group> grantingGroups)
Constructs a new instance of
UserToBlogRoleMapping , taking all possible
properties (except the identifier(s))as arguments. |
Modifier and Type | Method and Description |
---|---|
UserToBlogRoleMapping |
UserToBlogRoleMappingDaoBase.create(UserToBlogRoleMapping userToBlogRoleMapping) |
UserToBlogRoleMapping |
UserToBlogRoleMappingDao.create(UserToBlogRoleMapping userToBlogRoleMapping)
Creates an instance of com.communote.server.persistence.blog.UserToBlogRoleMapping and adds
it to the persistent store.
|
UserToBlogRoleMapping |
UserToBlogRoleMappingDaoBase.load(Long id) |
UserToBlogRoleMapping |
UserToBlogRoleMappingDao.load(Long id)
Loads an instance of com.communote.server.persistence.blog.UserToBlogRoleMapping from the
persistent store.
|
Modifier and Type | Method and Description |
---|---|
Collection<UserToBlogRoleMapping> |
UserToBlogRoleMappingDaoBase.create(Collection<UserToBlogRoleMapping> entities) |
Collection<UserToBlogRoleMapping> |
UserToBlogRoleMappingDao.create(Collection<UserToBlogRoleMapping> entities)
Creates a new instance of com.communote.server.persistence.blog.UserToBlogRoleMapping and
adds from the passed in
entities collection |
Collection<UserToBlogRoleMapping> |
UserToBlogRoleMappingDaoBase.create(int transform,
Collection<UserToBlogRoleMapping> entities) |
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)
|
Collection<UserToBlogRoleMapping> |
UserToBlogRoleMappingDaoBase.loadAll() |
Collection<UserToBlogRoleMapping> |
UserToBlogRoleMappingDao.loadAll()
Loads all entities of type
UserToBlogRoleMapping . |
Modifier and Type | Method and Description |
---|---|
Object |
UserToBlogRoleMappingDaoImpl.create(int transform,
UserToBlogRoleMapping userToBlogRoleMapping)
Does the same thing as
UserToBlogRoleMappingDao.create(com.communote.server.model.blog.UserToBlogRoleMapping)
with an additional flag called transform . |
Object |
UserToBlogRoleMappingDaoBase.create(int transform,
UserToBlogRoleMapping userToBlogRoleMapping) |
Object |
UserToBlogRoleMappingDao.create(int transform,
UserToBlogRoleMapping userToBlogRoleMapping)
Does the same thing as
UserToBlogRoleMappingDao.create(com.communote.server.model.blog.UserToBlogRoleMapping)
with an additional flag called transform . |
UserToBlogRoleMapping |
UserToBlogRoleMappingDaoBase.create(UserToBlogRoleMapping userToBlogRoleMapping) |
UserToBlogRoleMapping |
UserToBlogRoleMappingDao.create(UserToBlogRoleMapping userToBlogRoleMapping)
Creates an instance of com.communote.server.persistence.blog.UserToBlogRoleMapping and adds
it to the persistent store.
|
void |
UserToBlogRoleMappingDaoBase.evict(UserToBlogRoleMapping entity)
Evicts (removes) the entity from the hibernate cache
|
void |
UserToBlogRoleMappingDao.evict(UserToBlogRoleMapping entity)
Evicts (removes) the entity from the hibernate cache
|
void |
UserToBlogRoleMappingDaoImpl.remove(UserToBlogRoleMapping userToBlogRoleMapping)
Removes the instance of com.communote.server.persistence.blog.UserToBlogRoleMapping from the
persistent store.
|
void |
UserToBlogRoleMappingDaoBase.remove(UserToBlogRoleMapping userToBlogRoleMapping) |
void |
UserToBlogRoleMappingDao.remove(UserToBlogRoleMapping userToBlogRoleMapping)
Removes the instance of com.communote.server.persistence.blog.UserToBlogRoleMapping from the
persistent store.
|
protected Object |
UserToBlogRoleMappingDaoBase.transformEntity(int transform,
UserToBlogRoleMapping entity)
Allows transformation of entities into value objects (or something else for that matter),
when the
transform flag is set to one of the constants defined in
com.communote.server.persistence.blog.UserToBlogRoleMappingDao , please note that
the UserToBlogRoleMappingDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be
returned. |
void |
UserToBlogRoleMappingDaoBase.update(UserToBlogRoleMapping userToBlogRoleMapping) |
void |
UserToBlogRoleMappingDao.update(UserToBlogRoleMapping userToBlogRoleMapping)
Updates the
userToBlogRoleMapping instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<UserToBlogRoleMapping> |
UserToBlogRoleMappingDaoBase.create(Collection<UserToBlogRoleMapping> entities) |
Collection<UserToBlogRoleMapping> |
UserToBlogRoleMappingDao.create(Collection<UserToBlogRoleMapping> entities)
Creates a new instance of com.communote.server.persistence.blog.UserToBlogRoleMapping and
adds from the passed in
entities collection |
Collection<UserToBlogRoleMapping> |
UserToBlogRoleMappingDaoBase.create(int transform,
Collection<UserToBlogRoleMapping> entities) |
Collection<?> |
UserToBlogRoleMappingDao.create(int transform,
Collection<UserToBlogRoleMapping> entities)
Does the same thing as
UserToBlogRoleMappingDao.create(com.communote.server.model.blog.UserToBlogRoleMapping)
with an additional flag called transform . |
void |
UserToBlogRoleMappingDaoImpl.remove(Collection<UserToBlogRoleMapping> entities)
Removes all entities in the given
entities |
void |
UserToBlogRoleMappingDaoBase.remove(Collection<UserToBlogRoleMapping> entities) |
void |
UserToBlogRoleMappingDao.remove(Collection<UserToBlogRoleMapping> entities)
Removes all entities in the given
entities |
void |
UserToBlogRoleMappingDaoBase.update(Collection<UserToBlogRoleMapping> entities) |
void |
UserToBlogRoleMappingDao.update(Collection<UserToBlogRoleMapping> entities)
Updates all instances in the
entities collection in the persistent store. |
Copyright © 2019 Communote team. All rights reserved.