Class GroovySystemDataGroup
java.lang.Object
groovy.lang.GroovyObjectSupport
de.uplanet.lucy.server.scripting.groovy.GroovySystemDataGroup
- All Implemented Interfaces:
groovy.lang.GroovyObject
@Scriptable
public final class GroovySystemDataGroup
extends groovy.lang.GroovyObjectSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValueByFieldGuid
(String p_strFieldGuid) Get the value of the given system data group field.IValueHolder
<?> getValueHolderByFieldGuid
(String p_strFieldGuid) Get the value of the given system data group field.boolean
Check if a system data group value for the given field exists.Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setProperty
-
Constructor Details
-
GroovySystemDataGroup
public GroovySystemDataGroup()
-
-
Method Details
-
hasValue
Check if a system data group value for the given field exists.- Parameters:
p_strFieldGuid
- The field GUID.- Returns:
true
if the system datagroup has a value, orfalse
otherwise.- Throws:
IllegalArgumentException
- If the given GUID is invalid or does not identify an existing data field.
-
getValueByFieldGuid
Get the value of the given system data group field.- Parameters:
p_strFieldGuid
- The field GUID.- Returns:
- The field value.
- Throws:
IllegalArgumentException
- If the given GUID is invalid or does not identify an existing data field.RuntimeException
- If there is no value for the given field, in which casehasValue(String)
isfalse
.
-
getValueHolderByFieldGuid
Get the value of the given system data group field.- Parameters:
p_strFieldGuid
- The field GUID.- Returns:
- The field value as a value holder.
- Throws:
IllegalArgumentException
- If the given GUID is invalid or does not identify an existing data field.RuntimeException
- If there is no value for the given field, in which casehasValue(String)
isfalse
.
-
getAt
-