Package | Description |
---|---|
com.communote.server.model.user.note | |
com.communote.server.persistence.user.note |
Modifier and Type | Class and Description |
---|---|
class |
UserNoteEntityImpl |
Modifier and Type | Method and Description |
---|---|
static UserNoteEntity |
UserNoteEntity.Factory.newInstance()
Constructs a new instance of
UserNoteEntity . |
static UserNoteEntity |
UserNoteEntity.Factory.newInstance(int rank,
Note note,
User user)
Constructs a new instance of
UserNoteEntity ,
taking all required and/or read-only properties as arguments. |
static UserNoteEntity |
UserNoteEntity.Factory.newInstance(int rank,
Note note,
User user,
Set<UserNoteProperty> properties)
Constructs a new instance of
UserNoteEntity ,
taking all possible properties (except the identifier(s))as arguments. |
Modifier and Type | Method and Description |
---|---|
UserNoteEntity |
UserNoteEntityDaoBase.create(UserNoteEntity userNoteEntity) |
UserNoteEntity |
UserNoteEntityDao.create(UserNoteEntity userNoteEntity)
Creates an instance of com.communote.server.persistence.user.note.UserNoteEntity and adds it
to the persistent store.
|
UserNoteEntity |
UserNoteEntityDaoBase.findByUserIdNoteId(Long userId,
Long noteId) |
UserNoteEntity |
UserNoteEntityDao.findByUserIdNoteId(Long userId,
Long noteId)
Find the user note entity by the given user and note id
|
protected UserNoteEntity |
UserNoteEntityDaoImpl.handleFindByUserIdNoteId(Long userId,
Long noteId)
Performs the core logic for
UserNoteEntityDaoBase.findByUserIdNoteId(Long, Long) |
protected abstract UserNoteEntity |
UserNoteEntityDaoBase.handleFindByUserIdNoteId(Long userId,
Long noteId)
Performs the core logic for
UserNoteEntityDaoBase.findByUserIdNoteId(Long, Long) |
UserNoteEntity |
UserNoteEntityDaoBase.load(Long id) |
UserNoteEntity |
UserNoteEntityDao.load(Long id)
Loads an instance of com.communote.server.persistence.user.note.UserNoteEntity from the
persistent store.
|
Modifier and Type | Method and Description |
---|---|
Collection<UserNoteEntity> |
UserNoteEntityDaoBase.create(Collection<UserNoteEntity> entities) |
Collection<UserNoteEntity> |
UserNoteEntityDao.create(Collection<UserNoteEntity> entities)
Creates a new instance of com.communote.server.persistence.user.note.UserNoteEntity and adds
from the passed in
entities collection |
Collection<UserNoteEntity> |
UserNoteEntityDaoBase.create(int transform,
Collection<UserNoteEntity> entities) |
Collection<UserNoteEntity> |
UserNoteEntityDaoBase.loadAll() |
Collection<UserNoteEntity> |
UserNoteEntityDao.loadAll()
Loads all entities of type
UserNoteEntity . |
Modifier and Type | Method and Description |
---|---|
Object |
UserNoteEntityDaoBase.create(int transform,
UserNoteEntity userNoteEntity) |
Object |
UserNoteEntityDao.create(int transform,
UserNoteEntity userNoteEntity)
Does the same thing as
UserNoteEntityDao.create(com.communote.server.model.user.note.UserNoteEntity)
with an additional flag called transform . |
UserNoteEntity |
UserNoteEntityDaoBase.create(UserNoteEntity userNoteEntity) |
UserNoteEntity |
UserNoteEntityDao.create(UserNoteEntity userNoteEntity)
Creates an instance of com.communote.server.persistence.user.note.UserNoteEntity and adds it
to the persistent store.
|
void |
UserNoteEntityDaoBase.evict(UserNoteEntity entity)
Evicts (removes) the entity from the hibernate cache
|
void |
UserNoteEntityDao.evict(UserNoteEntity entity)
Evicts (removes) the entity from the hibernate cache
|
void |
UserNoteEntityDaoBase.remove(UserNoteEntity userNoteEntity) |
void |
UserNoteEntityDao.remove(UserNoteEntity userNoteEntity)
Removes the instance of com.communote.server.persistence.user.note.UserNoteEntity from the
persistent store.
|
protected Object |
UserNoteEntityDaoBase.transformEntity(int transform,
UserNoteEntity 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.note.UserNoteEntityDao , please note that
the UserNoteEntityDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be
returned. |
void |
UserNoteEntityDaoBase.update(UserNoteEntity userNoteEntity) |
void |
UserNoteEntityDao.update(UserNoteEntity userNoteEntity)
Updates the
userNoteEntity instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<UserNoteEntity> |
UserNoteEntityDaoBase.create(Collection<UserNoteEntity> entities) |
Collection<UserNoteEntity> |
UserNoteEntityDao.create(Collection<UserNoteEntity> entities)
Creates a new instance of com.communote.server.persistence.user.note.UserNoteEntity and adds
from the passed in
entities collection |
Collection<UserNoteEntity> |
UserNoteEntityDaoBase.create(int transform,
Collection<UserNoteEntity> entities) |
Collection<?> |
UserNoteEntityDao.create(int transform,
Collection<UserNoteEntity> entities)
Does the same thing as
UserNoteEntityDao.create(com.communote.server.model.user.note.UserNoteEntity)
with an additional flag called transform . |
void |
UserNoteEntityDaoBase.remove(Collection<UserNoteEntity> entities) |
void |
UserNoteEntityDao.remove(Collection<UserNoteEntity> entities)
Removes all entities in the given
entities |
void |
UserNoteEntityDaoBase.update(Collection<UserNoteEntity> entities) |
void |
UserNoteEntityDao.update(Collection<UserNoteEntity> entities)
Updates all instances in the
entities collection in the persistent store. |
Copyright © 2019 Communote team. All rights reserved.