Modifier and Type | Method and Description |
---|---|
static <T extends StringProperty> |
PropertyHelper.nullifyMissingProperties(Iterable<T> source,
Collection<StringPropertyTO> target)
Add for each property of the source collection a property with same group and key and
null as value to the target collection if there is no property with that group
and key in the target collection. |
Modifier and Type | Method and Description |
---|---|
StringProperty |
PropertyManagement.getGlobalObjectProperty(PropertyType propertyType,
Long objectId,
String key)
Get a global property which is a property with the predefined key group "global"
|
StringProperty |
PropertyManagement.getObjectProperty(PropertyType propertyType,
Long objectId,
String keyGroup,
String key)
Get an object property
|
StringProperty |
PropertyManagement.getObjectPropertyUnfiltered(PropertyType propertyType,
Long objectId,
String keyGroup,
String key)
Get an object property.
|
StringProperty |
PropertyManagement.setGlobalObjectProperty(PropertyType propertyType,
Long objectId,
String key,
String value)
Set a global property which is a property with the predefined key group will be "global".
|
StringProperty |
PropertyManagement.setObjectProperty(PropertyType propertyType,
Long objectId,
String keyGroup,
String key,
String value)
Set a new value of a property.
|
Modifier and Type | Class and Description |
---|---|
class |
ObjectPropertyAccessor<O extends Propertyable,P extends StringProperty>
Object property accessor for string properties.
|
class |
StringPropertyAccessor<O extends Propertyable,P extends StringProperty>
Property Accessor for String properties
|
Modifier and Type | Method and Description |
---|---|
StringProperty |
PropertyManagementImpl.getGlobalObjectProperty(PropertyType propertyType,
Long objectId,
String key) |
StringProperty |
PropertyManagementImpl.getObjectProperty(PropertyType propertyType,
Long objectId,
String keyGroup,
String key) |
StringProperty |
PropertyManagementImpl.getObjectPropertyUnfiltered(PropertyType propertyType,
Long objectId,
String keyGroup,
String key) |
StringProperty |
PropertyManagementImpl.setGlobalObjectProperty(PropertyType propertyType,
Long objectId,
String key,
String value) |
StringProperty |
PropertyManagementImpl.setObjectProperty(PropertyType propertyType,
Long objectId,
String keyGroup,
String key,
String value) |
Modifier and Type | Method and Description |
---|---|
Set<? extends StringProperty> |
BinaryPropertyAccessor.DummyPropertyable.getProperties()
This throws an
UnsupportedOperationException . |
Modifier and Type | Class and Description |
---|---|
class |
AttachmentProperty |
Modifier and Type | Class and Description |
---|---|
class |
BlogProperty |
Modifier and Type | Class and Description |
---|---|
class |
ExternalObjectProperty |
Modifier and Type | Class and Description |
---|---|
class |
NoteProperty |
Modifier and Type | Class and Description |
---|---|
class |
GlobalProperty |
class |
PluginProperty |
Modifier and Type | Method and Description |
---|---|
Set<? extends StringProperty> |
Propertyable.getProperties()
Properties
|
Modifier and Type | Class and Description |
---|---|
class |
UserNoteProperty |
class |
UserProperty |
Modifier and Type | Method and Description |
---|---|
abstract Set<? extends StringProperty> |
CommunoteEntity.getProperties()
Properties
|
Modifier and Type | Class and Description |
---|---|
class |
GroupProperty
A property that is associated with a group.
|
Modifier and Type | Method and Description |
---|---|
StringProperty |
StringPropertyDaoBase.create(StringProperty stringProperty) |
StringProperty |
StringPropertyDao.create(StringProperty stringProperty)
Creates an instance of com.communote.server.persistence.property.StringProperty and adds it
to the persistent store.
|
StringProperty |
StringPropertyDaoBase.load(Long id) |
StringProperty |
StringPropertyDao.load(Long id)
Loads an instance of com.communote.server.persistence.property.StringProperty from the
persistent store.
|
Modifier and Type | Method and Description |
---|---|
Collection<StringProperty> |
StringPropertyDaoBase.create(Collection<StringProperty> entities) |
Collection<StringProperty> |
StringPropertyDao.create(Collection<StringProperty> entities)
Creates a new instance of com.communote.server.persistence.property.StringProperty and adds
from the passed in
entities collection |
Collection<StringProperty> |
StringPropertyDaoBase.create(int transform,
Collection<StringProperty> entities) |
Collection<StringProperty> |
StringPropertyDaoBase.loadAll() |
Collection<StringProperty> |
StringPropertyDao.loadAll()
Loads all entities of type
StringProperty . |
Modifier and Type | Method and Description |
---|---|
Object |
StringPropertyDaoBase.create(int transform,
StringProperty stringProperty) |
Object |
StringPropertyDao.create(int transform,
StringProperty stringProperty)
Does the same thing as
StringPropertyDao.create(com.communote.server.model.property.StringProperty)
with an additional flag called transform . |
StringProperty |
StringPropertyDaoBase.create(StringProperty stringProperty) |
StringProperty |
StringPropertyDao.create(StringProperty stringProperty)
Creates an instance of com.communote.server.persistence.property.StringProperty and adds it
to the persistent store.
|
void |
StringPropertyDaoBase.evict(StringProperty entity)
Evicts (removes) the entity from the hibernate cache
|
void |
StringPropertyDao.evict(StringProperty entity)
Evicts (removes) the entity from the hibernate cache
|
void |
StringPropertyDaoBase.remove(StringProperty stringProperty) |
void |
StringPropertyDao.remove(StringProperty stringProperty)
Removes the instance of com.communote.server.persistence.property.StringProperty from the
persistent store.
|
protected Object |
StringPropertyDaoBase.transformEntity(int transform,
StringProperty 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
StringPropertyDao , please note that the StringPropertyDao.TRANSFORM_NONE constant denotes
no transformation, so the entity itself will be returned. |
void |
StringPropertyDaoBase.update(StringProperty stringProperty) |
void |
StringPropertyDao.update(StringProperty stringProperty)
Updates the
stringProperty instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<StringProperty> |
StringPropertyDaoBase.create(Collection<StringProperty> entities) |
Collection<StringProperty> |
StringPropertyDao.create(Collection<StringProperty> entities)
Creates a new instance of com.communote.server.persistence.property.StringProperty and adds
from the passed in
entities collection |
Collection<StringProperty> |
StringPropertyDaoBase.create(int transform,
Collection<StringProperty> entities) |
Collection<?> |
StringPropertyDao.create(int transform,
Collection<StringProperty> entities)
Does the same thing as
StringPropertyDao.create(com.communote.server.model.property.StringProperty)
with an additional flag called transform . |
void |
StringPropertyDaoBase.remove(Collection<StringProperty> entities) |
void |
StringPropertyDao.remove(Collection<StringProperty> entities)
Removes all entities in the given
entities |
void |
StringPropertyDaoBase.update(Collection<StringProperty> entities) |
void |
StringPropertyDao.update(Collection<StringProperty> entities)
Updates all instances in the
entities collection in the persistent store. |
Copyright © 2019 Communote team. All rights reserved.