public class SetHelper
extends java.lang.Object
Constructor and Description |
---|
SetHelper()
Create an instance of the SetHelper.
|
Modifier and Type | Method and Description |
---|---|
void |
addBaseObject(java.lang.String objectName,
java.lang.Object object)
Add a new base object to the SetHelper.
|
protected void |
addToProperty(java.lang.String propertyPath,
java.lang.Object value)
add the given value to the multivalue property
|
boolean |
executeCommand(java.lang.String setCommand)
Parse and execute the given setCommand
|
protected java.lang.Object |
getProperty(java.lang.String propertypath)
Get the property by its path.
|
protected void |
setProperty(java.lang.String propertyPath,
java.lang.Object value)
set the property with given path
|
public void addBaseObject(java.lang.String objectName, java.lang.Object object)
objectName
- name of the base objectobject
- base object (Resolvable or Map)public boolean executeCommand(java.lang.String setCommand)
setCommand
- a set command of the form portal.blablabla.whatever =
view.blablablaprotected java.lang.Object getProperty(java.lang.String propertypath)
propertypath
- path to the propertyprotected void setProperty(java.lang.String propertyPath, java.lang.Object value)
propertyPath
- path to the property to setvalue
- new value of the propertyprotected void addToProperty(java.lang.String propertyPath, java.lang.Object value)
propertyPath
- path to the multivalue propertyvalue
- new value to add to the multivalue propertyCopyright © 2022 Gentics Software. All Rights Reserved.