Class GroovyApplicationUserProfile

java.lang.Object
groovy.lang.GroovyObjectSupport
de.uplanet.lucy.server.businesslogic.util.scriptable.GroovyApplicationUserProfile
All Implemented Interfaces:
groovy.lang.GroovyObject

@Scriptable public class GroovyApplicationUserProfile extends groovy.lang.GroovyObjectSupport
  • Constructor Details

    • GroovyApplicationUserProfile

      public GroovyApplicationUserProfile(de.uplanet.lucy.server.binding.IBinding p_binding)
  • Method Details

    • hasProfileValue

      public boolean hasProfileValue(String p_key)

      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 otherwise false
    • hasProfileValue

      public boolean hasProfileValue(String p_appGuid, String p_key)

      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 GUID
      p_key - The profile key
      Returns:
      true if an not empty user profile value with the key exits otherwise false
    • getProfileValue

      public String getProfileValue(String p_key)

      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

      public String getProfileValue(String p_appGuid, String p_key)

      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 GUID
      p_key - The profile key
      Returns:
      The stored user profile value with the given key or null if not exists
    • setProfileValue

      public void setProfileValue(String p_key, String p_value)

      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 key
      p_value - The value to set. if null or empty the profile entry will be removed.
    • setProfileValue

      public void setProfileValue(String p_appGuid, String p_key, String p_value)

      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 GUID
      p_key - The profile key
      p_value - The value to set. if null or empty the profile entry will be removed.
    • deleteProfileValue

      public void deleteProfileValue(String p_key)

      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

      public void deleteProfileValue(String p_appGuid, String p_key)

      Removes the application user profile entry.

      Parameters:
      p_appGuid - The application GUID
      p_key - The profile key
    • getProperty

      public Object getProperty(String p_strKey)

      Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.

    • setProperty

      public void setProperty(String p_strKey, Object p_value)

      Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.

    • getAt

      public Object getAt(String p_strKey)

      Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.

    • putAt

      public void putAt(String p_strKey, Object p_value)

      Works only in environments where a current application is available. Like a data group action environment. Would mostly fail in timer actions environments.