public class PropertyValueProvider extends AbstractProvider<javax.jcr.Property,JcrPropertyValueModel>
Modifier and Type | Field and Description |
---|---|
static Date |
EMPTY_DATE |
static String |
EMPTY_DATE_VALUE |
static Date |
NULL_DATE
Deprecated.
|
static String |
NULL_DATE_VALUE
Deprecated.
|
elements
Constructor and Description |
---|
PropertyValueProvider(IFieldDescriptor descriptor,
ITypeDescriptor type,
JcrItemModel<javax.jcr.Property> itemModel) |
Modifier and Type | Method and Description |
---|---|
void |
addNew()
Add a new element.
|
IFieldDescriptor |
getDescriptor() |
ModelPathElement |
getFieldElement(JcrPropertyValueModel model)
Retrieve the
ModelPathElement to access an element. |
protected void |
loadElements()
Method to be overridden by subclasses, to populate the list of elements.
|
void |
moveUp(JcrPropertyValueModel model)
Move a model up one position.
|
void |
remove(JcrPropertyValueModel model)
Remove a model from the list.
|
detach, iterator, load, refresh, setChainedModel, size
getChainedModel, getItemModel, getObject, setObject
@Deprecated public static final String NULL_DATE_VALUE
@Deprecated public static final Date NULL_DATE
public static final String EMPTY_DATE_VALUE
public static final Date EMPTY_DATE
public PropertyValueProvider(IFieldDescriptor descriptor, ITypeDescriptor type, JcrItemModel<javax.jcr.Property> itemModel)
public IFieldDescriptor getDescriptor()
public void addNew()
AbstractProvider
addNew
in class AbstractProvider<javax.jcr.Property,JcrPropertyValueModel>
public void remove(JcrPropertyValueModel model)
AbstractProvider
remove
in class AbstractProvider<javax.jcr.Property,JcrPropertyValueModel>
model
- the model to removepublic void moveUp(JcrPropertyValueModel model)
AbstractProvider
moveUp
in class AbstractProvider<javax.jcr.Property,JcrPropertyValueModel>
model
- the model to movepublic ModelPathElement getFieldElement(JcrPropertyValueModel model)
AbstractProvider
ModelPathElement
to access an element.getFieldElement
in class AbstractProvider<javax.jcr.Property,JcrPropertyValueModel>
model
- the element to be made accessibleprotected void loadElements()
AbstractProvider
loadElements
in class AbstractProvider<javax.jcr.Property,JcrPropertyValueModel>
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.