|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gentics.api.lib.resolving.SetHelper
public class SetHelper
Helper class to execute assignment commands on Resolvable objects or Maps.
| Constructor Summary | |
|---|---|
SetHelper()
Create an instance of the SetHelper. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetHelper()
| Method Detail |
|---|
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.blablabla
protected java.lang.Object getProperty(java.lang.String propertypath)
propertypath - path to the property
protected void setProperty(java.lang.String propertyPath,
java.lang.Object value)
propertyPath - path to the property to setvalue - new value of the property
protected void addToProperty(java.lang.String propertyPath,
java.lang.Object value)
propertyPath - path to the multivalue propertyvalue - new value to add to the multivalue property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||