|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gentics.api.portalnode.portal.PortalPropertySetter
public final class PortalPropertySetter
Final helper class to get/set portal properties identified by portal property paths.
| Method Summary | |
|---|---|
static java.lang.Object |
get(java.lang.String propertyPath)
Get a portal property via the provided path |
static java.lang.Object |
getUnchecked(java.lang.String propertyPath)
Get a portal property via the provided path. |
static void |
set(java.lang.String propertyPath,
java.lang.Object value)
Set the portal property identified via propertyPath to the provided value |
static void |
setUnchecked(java.lang.String propertyPath,
java.lang.Object value)
Set the portal property identified via propertyPath to the provided value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.Object get(java.lang.String propertyPath)
throws UnknownPropertyException
propertyPath - path to identify the property
UnknownPropertyException - if the property path leads straight to
nowherepublic static java.lang.Object getUnchecked(java.lang.String propertyPath)
get(String),
this method will not throw an exception, when the given path does not
lead to a known property, but simply returns null in such cases.
propertyPath - path to identify the property
public static void set(java.lang.String propertyPath,
java.lang.Object value)
throws InsufficientPrivilegesException,
UnknownPropertyException
propertyPath - to identify the portal propertyvalue - to be set
InsufficientPrivilegesException - if property may not be set due to
privilege restrictions
UnknownPropertyException - if the property is not known
public static void setUnchecked(java.lang.String propertyPath,
java.lang.Object value)
set(String, Object), this method will not throw
an exception when the property is not known or the user may not modify
the properties value.
propertyPath - to identify the portal propertyvalue - to be set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||