Klasse VCApplicationUserProfile

java.lang.Object
de.uplanet.lucy.server.auxiliaries.util.VCApplicationUserProfile
Alle implementierten Schnittstellen:
de.uplanet.lucy.server.scripting.velocity.ICallableWithVelocityContext

@VelocityVariable("AppUserProfile") @VelocityCallable("instance") public final class VCApplicationUserProfile extends Object implements de.uplanet.lucy.server.scripting.velocity.ICallableWithVelocityContext
  • Konstruktordetails

    • VCApplicationUserProfile

      public VCApplicationUserProfile(de.uplanet.lucy.server.binding.IBinding p_binding)
  • Methodendetails

    • cloneWithNewContext

      public VCApplicationUserProfile cloneWithNewContext(org.apache.velocity.context.Context p_vc)
      Angegeben von:
      cloneWithNewContext in Schnittstelle de.uplanet.lucy.server.scripting.velocity.ICallableWithVelocityContext
    • hasProfileValue

      public boolean hasProfileValue(String p_key)
      Checks the existing of an application user profile entry in the current application.
      Parameter:
      p_key - The profile key
      Gibt zurück:
      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.
      Parameter:
      p_appGuid - The application GUID
      p_key - The profile key
      Gibt zurück:
      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.
      Parameter:
      p_key - The profile key
      Gibt zurück:
      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.
      Parameter:
      p_appGuid - The application GUID
      p_key - The profile key
      Gibt zurück:
      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.
      Parameter:
      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.
      Parameter:
      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.
      Parameter:
      p_key - The profile key
    • deleteProfileValue

      public void deleteProfileValue(String p_appGuid, String p_key)
      Removes the application user profile entry.
      Parameter:
      p_appGuid - The application GUID
      p_key - The profile key