Class GroovyApplicationUserProfile
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Constructor Summary
ConstructorDescriptionGroovyApplicationUserProfile
(de.uplanet.lucy.server.binding.IBinding p_binding) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteProfileValue
(String p_key) Removes the application user profile entry of the current application.void
deleteProfileValue
(String p_appGuid, String p_key) Removes the application user profile entry.getProfileValue
(String p_key) Gets a application user profile entry of the current application.getProfileValue
(String p_appGuid, String p_key) Gets a application user profile entry.getProperty
(String p_strKey) Works only in environments where a current application is available.boolean
hasProfileValue
(String p_key) Checks the existing of an application user profile entry in the current application.boolean
hasProfileValue
(String p_appGuid, String p_key) Checks the existing of an application user profile entry.void
Works only in environments where a current application is available.void
setProfileValue
(String p_key, String p_value) Set a application user profile entry of the current application.void
setProfileValue
(String p_appGuid, String p_key, String p_value) Set a application user profile entry.void
setProperty
(String p_strKey, Object p_value) Works only in environments where a current application is available.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
invokeMethod
-
Constructor Details
-
GroovyApplicationUserProfile
public GroovyApplicationUserProfile(de.uplanet.lucy.server.binding.IBinding p_binding)
-
-
Method Details
-
hasProfileValue
Checks the existing of an application user profile entry in the current application.
Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.
- Parameters:
p_key
- The profile key- Returns:
true
if an not empty user profile value with the key exits otherwisefalse
-
hasProfileValue
Checks the existing of an application user profile entry.
Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.
- Parameters:
p_appGuid
- The application GUIDp_key
- The profile key- Returns:
true
if an not empty user profile value with the key exits otherwisefalse
-
getProfileValue
Gets a application user profile entry of the current application.
Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.
- Parameters:
p_key
- The profile key- Returns:
- The stored user profile value with the given key or
null
if not exists
-
getProfileValue
Gets a application user profile entry.
Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.
- Parameters:
p_appGuid
- The application GUIDp_key
- The profile key- Returns:
- The stored user profile value with the given key or
null
if not exists
-
setProfileValue
Set a application user profile entry of the current application.
Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.
- Parameters:
p_key
- The profile keyp_value
- The value to set. ifnull
or empty the profile entry will be removed.
-
setProfileValue
Set a application user profile entry.
Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.
- Parameters:
p_appGuid
- The application GUIDp_key
- The profile keyp_value
- The value to set. ifnull
or empty the profile entry will be removed.
-
deleteProfileValue
Removes the application user profile entry of the current application.
Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.
- Parameters:
p_key
- The profile key
-
deleteProfileValue
Removes the application user profile entry.
- Parameters:
p_appGuid
- The application GUIDp_key
- The profile key
-
getProperty
Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.
-
setProperty
Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.
-
getAt
Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.
-
putAt
Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.
-