public abstract class BcProperty<TRaw> extends BcPropertyBase<TRaw>
BcPropertyBase.RawConverter| Modifier | Constructor and Description |
|---|---|
protected |
BcProperty(String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyValue(ElementMutation<?> mutation,
String multiKey,
TRaw value,
Metadata metadata,
Long timestamp,
Visibility visibility) |
void |
addPropertyValue(ElementMutation<?> mutation,
String multiKey,
TRaw value,
Metadata metadata,
Visibility visibility) |
void |
addPropertyValue(ElementMutation<?> mutation,
String multiKey,
TRaw value,
Visibility visibility) |
void |
addPropertyValue(Element element,
String multiKey,
TRaw value,
Metadata metadata,
Visibility visibility,
Authorizations authorizations) |
void |
addPropertyValue(Element element,
String multiKey,
TRaw value,
Visibility visibility,
Authorizations authorizations) |
void |
alterVisibility(ExistingElementMutation<?> elementMutation,
String propertyKey,
Visibility newVisibility) |
Property |
getFirstProperty(Element element) |
TRaw |
getFirstPropertyValue(Element element) |
Property |
getOnlyProperty(Element element) |
TRaw |
getOnlyPropertyValue(Element element)
Gets the only property value.
|
TRaw |
getOnlyPropertyValueRequired(Element element)
Gets the only property value.
|
Iterable<Property> |
getProperties(Element element) |
Property |
getProperty(Element element,
String key) |
TRaw |
getPropertyValue(Element element,
String propertyKey) |
TRaw |
getPropertyValue(Property property) |
Iterable<TRaw> |
getPropertyValues(Element element) |
boolean |
hasProperty(Element element) |
boolean |
hasProperty(Element element,
String propertyKey) |
void |
hideProperty(List<BcPropertyUpdate> changedPropertiesOut,
Element element,
Property propertyToHide,
String workspaceId,
Authorizations authorizations) |
void |
removeProperty(ElementMutation m,
String key,
Visibility visibility) |
void |
removeProperty(Element element,
String key,
Authorizations authorizations) |
<T extends Element> |
removeProperty(ElementUpdateContext<T> ctx,
String propertyKey,
Visibility visibility) |
void |
removeProperty(List<BcPropertyUpdate> changedPropertiesOut,
Element element,
ElementMutation m,
String propertyKey,
Visibility visibility) |
<T extends Element> |
updateProperty(ElementUpdateContext<T> ctx,
String propertyKey,
TRaw newValue,
Metadata metadata,
Long timestamp,
Visibility visibility) |
<T extends Element> |
updateProperty(ElementUpdateContext<T> ctx,
String propertyKey,
TRaw newValue,
Metadata metadata,
Visibility visibility) |
<T extends Element> |
updateProperty(ElementUpdateContext<T> ctx,
String propertyKey,
TRaw newValue,
PropertyMetadata metadata) |
<T extends Element> |
updateProperty(ElementUpdateContext<T> ctx,
String propertyKey,
TRaw newValue,
PropertyMetadata metadata,
Long timestamp) |
void |
updateProperty(List<BcPropertyUpdate> changedPropertiesOut,
Element element,
ElementMutation m,
String propertyKey,
TRaw newValue,
Metadata metadata,
Long timestamp,
Visibility visibility) |
void |
updateProperty(List<BcPropertyUpdate> changedPropertiesOut,
Element element,
ElementMutation m,
String propertyKey,
TRaw newValue,
Metadata metadata,
Visibility visibility) |
void |
updateProperty(List<BcPropertyUpdate> changedPropertiesOut,
Element element,
ElementMutation m,
String propertyKey,
TRaw newValue,
PropertyMetadata metadata) |
void |
updateProperty(List<BcPropertyUpdate> changedPropertiesOut,
Element element,
ElementMutation m,
String propertyKey,
TRaw newValue,
PropertyMetadata metadata,
Long timestamp) |
void |
updateProperty(List<BcPropertyUpdate> changedPropertiesOut,
Element element,
ElementMutation m,
String propertyKey,
TRaw newValue,
PropertyMetadata metadata,
Long timestamp,
Visibility visibility)
|
void |
updateProperty(List<BcPropertyUpdate> changedPropertiesOut,
Element element,
ElementMutation m,
String propertyKey,
TRaw newValue,
PropertyMetadata metadata,
Visibility visibility)
|
getPropertyName, getRawConverter, isEquals, isSameName, isSameName, toString, unwrap, wrapprotected BcProperty(String propertyName)
public final void addPropertyValue(ElementMutation<?> mutation, String multiKey, TRaw value, Visibility visibility)
public final void addPropertyValue(Element element, String multiKey, TRaw value, Visibility visibility, Authorizations authorizations)
public final void addPropertyValue(Element element, String multiKey, TRaw value, Metadata metadata, Visibility visibility, Authorizations authorizations)
public final void addPropertyValue(ElementMutation<?> mutation, String multiKey, TRaw value, Metadata metadata, Visibility visibility)
public final void addPropertyValue(ElementMutation<?> mutation, String multiKey, TRaw value, Metadata metadata, Long timestamp, Visibility visibility)
public final TRaw getPropertyValue(Property property)
getPropertyValue in class BcPropertyBase<TRaw>public boolean hasProperty(Element element)
public void removeProperty(Element element, String key, Authorizations authorizations)
public void removeProperty(ElementMutation m, String key, Visibility visibility)
public <T extends Element> void removeProperty(ElementUpdateContext<T> ctx, String propertyKey, Visibility visibility)
public void alterVisibility(ExistingElementMutation<?> elementMutation, String propertyKey, Visibility newVisibility)
public void removeProperty(List<BcPropertyUpdate> changedPropertiesOut, Element element, ElementMutation m, String propertyKey, Visibility visibility)
public void hideProperty(List<BcPropertyUpdate> changedPropertiesOut, Element element, Property propertyToHide, String workspaceId, Authorizations authorizations)
@Deprecated public void updateProperty(List<BcPropertyUpdate> changedPropertiesOut, Element element, ElementMutation m, String propertyKey, TRaw newValue, PropertyMetadata metadata, Visibility visibility)
changedPropertiesOut - Adds the property to this list if the property value changedpublic void updateProperty(List<BcPropertyUpdate> changedPropertiesOut, Element element, ElementMutation m, String propertyKey, TRaw newValue, PropertyMetadata metadata)
changedPropertiesOut - Adds the property to this list if the property value changedpublic <T extends Element> void updateProperty(ElementUpdateContext<T> ctx, String propertyKey, TRaw newValue, PropertyMetadata metadata)
@Deprecated public void updateProperty(List<BcPropertyUpdate> changedPropertiesOut, Element element, ElementMutation m, String propertyKey, TRaw newValue, PropertyMetadata metadata, Long timestamp, Visibility visibility)
updateProperty(List, Element, ElementMutation, String, Object, PropertyMetadata, Long)changedPropertiesOut - Adds the property to this list if the property value changedpublic void updateProperty(List<BcPropertyUpdate> changedPropertiesOut, Element element, ElementMutation m, String propertyKey, TRaw newValue, PropertyMetadata metadata, Long timestamp)
changedPropertiesOut - Adds the property to this list if the property value changedpublic <T extends Element> void updateProperty(ElementUpdateContext<T> ctx, String propertyKey, TRaw newValue, PropertyMetadata metadata, Long timestamp)
public void updateProperty(List<BcPropertyUpdate> changedPropertiesOut, Element element, ElementMutation m, String propertyKey, TRaw newValue, Metadata metadata, Visibility visibility)
changedPropertiesOut - Adds the property to this list if the property value changedpublic <T extends Element> void updateProperty(ElementUpdateContext<T> ctx, String propertyKey, TRaw newValue, Metadata metadata, Visibility visibility)
public void updateProperty(List<BcPropertyUpdate> changedPropertiesOut, Element element, ElementMutation m, String propertyKey, TRaw newValue, Metadata metadata, Long timestamp, Visibility visibility)
changedPropertiesOut - Adds the property to this list if the property value changedpublic <T extends Element> void updateProperty(ElementUpdateContext<T> ctx, String propertyKey, TRaw newValue, Metadata metadata, Long timestamp, Visibility visibility)
public TRaw getOnlyPropertyValue(Element element)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.