Interface WidgetHelperService

All Known Implementing Classes:
WidgetHelperServiceImpl

public interface WidgetHelperService
  • Method Details

    • isValidEntity

      Boolean isValidEntity(Entity entity, Condition validationCondition)
      check if entity with specific validationCondition exists
      Parameters:
      entity - the Entity to validate
      validationCondition - the specific Condition
      Returns:
      Boolean
    • getConstrictionAsNode

      Node getConstrictionAsNode(String entityModel, String constriction)
      get a specific constriction as Node
      Parameters:
      entityModel - the source-entity for the constriction
      constriction - the name of the constriction
      Returns:
      Node
    • getStringConditionAsNode

      Node getStringConditionAsNode(String entityModel, String condition)
      get string condition as Node
      Parameters:
      entityModel - the source-entity of the condition
      condition - the string condition
      Returns:
      Node
    • setLookupEntity

      void setLookupEntity(Entity entity, String lookupModelName, String lookupId)
      set relation to a specific lookup-entity on entity
      Parameters:
      entity - the entity to adjust
      lookupModelName - the name of lookup-entity
      lookupId - unique id value of lookup-entity
    • setCorrespondenceLanguage

      void setCorrespondenceLanguage(Entity entity)
      set relation to Correspondence_language with L10N.currentLocale() on entity
      Parameters:
      entity - the entity to adjust