|
||||||||||
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 Object |
get(String propertyPath)
Get a portal property via the provided path |
static Object |
getUnchecked(String propertyPath)
Get a portal property via the provided path. |
static void |
set(String propertyPath,
Object value)
Set the portal property identified via propertyPath to the provided value |
static void |
setUnchecked(String propertyPath,
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 Object get(String propertyPath) throws UnknownPropertyException
propertyPath
- path to identify the property
UnknownPropertyException
- if the property path leads straight to
nowherepublic static Object getUnchecked(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(String propertyPath, 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 knownpublic static void setUnchecked(String propertyPath, 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 |