Package | Description |
---|---|
com.communote.server.core.user | |
com.communote.server.model.user | |
com.communote.server.persistence.user |
Modifier and Type | Method and Description |
---|---|
static Set<UserAuthority> |
UserAuthorityHelper.getUserAuthorities(UserRole[] roles)
Creates a set of UserAuthority entities from UserRole's.
|
Modifier and Type | Method and Description |
---|---|
static UserAuthority |
UserAuthority.Factory.newInstance()
Constructs a new instance of
UserAuthority . |
static UserAuthority |
UserAuthority.Factory.newInstance(UserRole role)
Constructs a new instance of
UserAuthority ,
taking all possible properties (except the identifier(s))as arguments. |
Modifier and Type | Method and Description |
---|---|
Set<UserAuthority> |
User.getUserAuthorities() |
Modifier and Type | Method and Description |
---|---|
void |
User.setUserAuthorities(Set<UserAuthority> userAuthorities) |
Modifier and Type | Method and Description |
---|---|
UserAuthority |
UserAuthorityDaoBase.create(UserAuthority kenmeiUserAuthority) |
UserAuthority |
UserAuthorityDao.create(UserAuthority kenmeiUserAuthority)
Creates an instance of the authority entity and adds it to the persistent store.
|
UserAuthority |
UserAuthorityDaoBase.load(Long id) |
UserAuthority |
UserAuthorityDao.load(Long id)
Loads an instance of the authority entity from the persistent store.
|
Modifier and Type | Method and Description |
---|---|
Collection<UserAuthority> |
UserAuthorityDaoBase.create(Collection<UserAuthority> entities) |
Collection<UserAuthority> |
UserAuthorityDao.create(Collection<UserAuthority> entities)
Creates a new instance of UserAuthority and adds from the passed in
entities
collection |
Collection<UserAuthority> |
UserAuthorityDaoBase.create(int transform,
Collection<UserAuthority> entities) |
Set<UserAuthority> |
UserAuthorityDaoBase.createAuthorities(UserRole[] roles,
boolean save) |
Set<UserAuthority> |
UserAuthorityDao.createAuthorities(UserRole[] roles,
boolean save) |
protected Set<UserAuthority> |
UserAuthorityDaoImpl.handleCreateAuthorities(UserRole[] roles,
boolean save)
Performs the core logic for
UserAuthorityDaoBase.createAuthorities(com.communote.server.model.user.UserRole[], boolean) |
protected abstract Set<UserAuthority> |
UserAuthorityDaoBase.handleCreateAuthorities(UserRole[] roles,
boolean save)
Performs the core logic for
UserAuthorityDaoBase.createAuthorities(com.communote.server.model.user.UserRole[], boolean) |
Collection<UserAuthority> |
UserAuthorityDaoBase.loadAll() |
Collection<UserAuthority> |
UserAuthorityDao.loadAll()
Loads all entities of type
UserAuthority . |
Modifier and Type | Method and Description |
---|---|
Object |
UserAuthorityDaoBase.create(int transform,
UserAuthority kenmeiUserAuthority) |
Object |
UserAuthorityDao.create(int transform,
UserAuthority kenmeiUserAuthority)
Does the same thing as
UserAuthorityDao.create(com.communote.server.model.user.UserAuthority) with an
additional flag called transform . |
UserAuthority |
UserAuthorityDaoBase.create(UserAuthority kenmeiUserAuthority) |
UserAuthority |
UserAuthorityDao.create(UserAuthority kenmeiUserAuthority)
Creates an instance of the authority entity and adds it to the persistent store.
|
void |
UserAuthorityDaoBase.evict(UserAuthority entity)
Evicts (removes) the entity from the hibernate cache
|
void |
UserAuthorityDao.evict(UserAuthority entity)
Evicts (removes) the entity from the hibernate cache
|
void |
UserAuthorityDaoBase.remove(UserAuthority kenmeiUserAuthority) |
void |
UserAuthorityDao.remove(UserAuthority kenmeiUserAuthority)
Removes the instance of UserAuthority from the persistent store.
|
protected Object |
UserAuthorityDaoBase.transformEntity(int transform,
UserAuthority 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.user.UserAuthorityDao , please note that the
UserAuthorityDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be
returned. |
void |
UserAuthorityDaoBase.update(UserAuthority kenmeiUserAuthority) |
void |
UserAuthorityDao.update(UserAuthority kenmeiUserAuthority)
Updates the
UserAuthority instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<UserAuthority> |
UserAuthorityDaoBase.create(Collection<UserAuthority> entities) |
Collection<UserAuthority> |
UserAuthorityDao.create(Collection<UserAuthority> entities)
Creates a new instance of UserAuthority and adds from the passed in
entities
collection |
Collection<UserAuthority> |
UserAuthorityDaoBase.create(int transform,
Collection<UserAuthority> entities) |
Collection<?> |
UserAuthorityDao.create(int transform,
Collection<UserAuthority> entities)
Does the same thing as
UserAuthorityDao.create(com.communote.server.model.user.UserAuthority) with an
additional flag called transform . |
void |
UserAuthorityDaoBase.remove(Collection<UserAuthority> entities) |
void |
UserAuthorityDao.remove(Collection<UserAuthority> entities)
Removes all entities in the given
entities |
void |
UserAuthorityDaoBase.update(Collection<UserAuthority> entities) |
void |
UserAuthorityDao.update(Collection<UserAuthority> entities)
Updates all instances in the
entities collection in the persistent store. |
Copyright © 2019 Communote team. All rights reserved.