Package | Description |
---|---|
com.communote.server.core.property | |
com.communote.server.model.user | |
com.communote.server.model.user.note | |
com.communote.server.persistence.user |
Modifier and Type | Method and Description |
---|---|
protected UserNoteProperty |
UserNotePropertyAccessor.handleCreateNewProperty(Note note)
Create a new property and associate it with the object
|
protected UserNoteProperty |
UserNotePropertyAccessor.handleGetObjectPropertyUnfiltered(Note note,
String keyGroup,
String propertyKey) |
Modifier and Type | Method and Description |
---|---|
protected void |
UserNotePropertyAccessor.setPropertyValue(UserNoteProperty property,
String value) |
Modifier and Type | Method and Description |
---|---|
static UserNoteProperty |
UserNoteProperty.Factory.newInstance()
Constructs a new instance of
UserNoteProperty . |
static UserNoteProperty |
UserNoteProperty.Factory.newInstance(String propertyValue,
String keyGroup,
String propertyKey,
Date lastModificationDate,
User user,
Note note)
Constructs a new instance of
UserNoteProperty , taking all possible properties
(except the identifier(s))as arguments. |
Modifier and Type | Method and Description |
---|---|
Set<UserNoteProperty> |
UserNoteEntity.getProperties() |
Modifier and Type | Method and Description |
---|---|
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. |
void |
UserNoteEntity.setProperties(Set<UserNoteProperty> properties) |
Modifier and Type | Method and Description |
---|---|
UserNoteProperty |
UserNotePropertyDaoBase.create(UserNoteProperty userNoteProperty) |
UserNoteProperty |
UserNotePropertyDao.create(UserNoteProperty userNoteProperty)
Creates an instance of com.communote.server.persistence.user.UserNoteProperty and adds it to
the persistent store.
|
UserNoteProperty |
UserNotePropertyDaoBase.findProperty(Long noteId,
String keyGroup,
String key) |
UserNoteProperty |
UserNotePropertyDao.findProperty(Long noteId,
String keyGroup,
String key)
Return the property with the given key group and key for the given note ID or null if the
current user does not have such a property for that note.
|
protected UserNoteProperty |
UserNotePropertyDaoImpl.handleFindProperty(Long noteId,
String keyGroup,
String key) |
protected abstract UserNoteProperty |
UserNotePropertyDaoBase.handleFindProperty(Long noteId,
String keyGroup,
String key)
Performs the core logic for
UserNotePropertyDaoBase.findProperty(Long, String, String) |
UserNoteProperty |
UserNotePropertyDaoBase.load(Long id) |
UserNoteProperty |
UserNotePropertyDao.load(Long id)
Loads an instance of com.communote.server.persistence.user.UserNoteProperty from the
persistent store.
|
Modifier and Type | Method and Description |
---|---|
Collection<UserNoteProperty> |
UserNotePropertyDaoBase.create(Collection<UserNoteProperty> entities) |
Collection<UserNoteProperty> |
UserNotePropertyDao.create(Collection<UserNoteProperty> entities)
Creates a new instance of com.communote.server.persistence.user.UserNoteProperty and adds
from the passed in
entities collection |
Collection<UserNoteProperty> |
UserNotePropertyDaoBase.create(int transform,
Collection<UserNoteProperty> entities) |
Collection<UserNoteProperty> |
UserNotePropertyDaoBase.findProperties(Long noteId,
String keyGroup,
String key) |
Collection<UserNoteProperty> |
UserNotePropertyDao.findProperties(Long noteId,
String keyGroup,
String key)
Return a collection of matching user note properties.
|
protected Collection<UserNoteProperty> |
UserNotePropertyDaoImpl.handleFindProperties(Long noteId,
String keyGroup,
String key) |
protected abstract Collection<UserNoteProperty> |
UserNotePropertyDaoBase.handleFindProperties(Long noteId,
String keyGroup,
String key)
Performs the core logic for
UserNotePropertyDaoBase.findProperties(Long, String, String) |
Collection<UserNoteProperty> |
UserNotePropertyDaoBase.loadAll() |
Collection<UserNoteProperty> |
UserNotePropertyDao.loadAll()
Loads all entities of type
UserNoteProperty . |
Modifier and Type | Method and Description |
---|---|
Object |
UserNotePropertyDaoBase.create(int transform,
UserNoteProperty userNoteProperty) |
Object |
UserNotePropertyDao.create(int transform,
UserNoteProperty userNoteProperty)
Does the same thing as
UserNotePropertyDao.create(com.communote.server.model.user.UserNoteProperty) with
an additional flag called transform . |
UserNoteProperty |
UserNotePropertyDaoBase.create(UserNoteProperty userNoteProperty) |
UserNoteProperty |
UserNotePropertyDao.create(UserNoteProperty userNoteProperty)
Creates an instance of com.communote.server.persistence.user.UserNoteProperty and adds it to
the persistent store.
|
void |
UserNotePropertyDaoBase.evict(UserNoteProperty entity)
Evicts (removes) the entity from the hibernate cache
|
void |
UserNotePropertyDao.evict(UserNoteProperty entity)
Evicts (removes) the entity from the hibernate cache
|
void |
UserNotePropertyDaoBase.remove(UserNoteProperty userNoteProperty) |
void |
UserNotePropertyDao.remove(UserNoteProperty userNoteProperty)
Removes the instance of com.communote.server.persistence.user.UserNoteProperty from the
persistent store.
|
protected Object |
UserNotePropertyDaoBase.transformEntity(int transform,
UserNoteProperty 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
UserNotePropertyDao , please note that the UserNotePropertyDao.TRANSFORM_NONE constant
denotes no transformation, so the entity itself will be returned. |
void |
UserNotePropertyDaoBase.update(UserNoteProperty userNoteProperty) |
void |
UserNotePropertyDao.update(UserNoteProperty userNoteProperty)
Updates the
userNoteProperty instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<UserNoteProperty> |
UserNotePropertyDaoBase.create(Collection<UserNoteProperty> entities) |
Collection<UserNoteProperty> |
UserNotePropertyDao.create(Collection<UserNoteProperty> entities)
Creates a new instance of com.communote.server.persistence.user.UserNoteProperty and adds
from the passed in
entities collection |
Collection<UserNoteProperty> |
UserNotePropertyDaoBase.create(int transform,
Collection<UserNoteProperty> entities) |
Collection<?> |
UserNotePropertyDao.create(int transform,
Collection<UserNoteProperty> entities)
Does the same thing as
UserNotePropertyDao.create(com.communote.server.model.user.UserNoteProperty) with
an additional flag called transform . |
void |
UserNotePropertyDaoBase.remove(Collection<UserNoteProperty> entities) |
void |
UserNotePropertyDao.remove(Collection<UserNoteProperty> entities)
Removes all entities in the given
entities |
void |
UserNotePropertyDaoBase.update(Collection<UserNoteProperty> entities) |
void |
UserNotePropertyDao.update(Collection<UserNoteProperty> entities)
Updates all instances in the
entities collection in the persistent store. |
Copyright © 2019 Communote team. All rights reserved.