Interface WidgetHelperService
- All Known Implementing Classes:
WidgetHelperServiceImpl
public interface WidgetHelperService
-
Method Summary
Modifier and TypeMethodDescriptiongetConstrictionAsNode(String entityModel, String constriction) get a specific constriction as NodegetStringConditionAsNode(String entityModel, String condition) get string condition as NodeisValidEntity(Entity entity, Condition validationCondition) check if entity with specific validationCondition existsvoidsetCorrespondenceLanguage(Entity entity) set relation to Correspondence_language withL10N.currentLocale()on entityvoidsetLookupEntity(Entity entity, String lookupModelName, String lookupId) set relation to a specific lookup-entity on entityvoidsetLookupEntity(Entity entity, String lookupModelName, String lookupId, boolean emptyCheck) set relation to a specific lookup-entity on entityvoidsetLookupEntity(Entity entity, String lookupModelName, String relationName, String lookupId, boolean emptyCheck) set relation to a specific lookup-entity on entity
-
Method Details
-
isValidEntity
-
getConstrictionAsNode
-
getStringConditionAsNode
-
setLookupEntity
-
setLookupEntity
set relation to a specific lookup-entity on entity- Parameters:
entity- the entity to adjustlookupModelName- the name of lookup-entitylookupId- unique id value of lookup-entityemptyCheck- only adjust lookup-Entity if relation is empty
-
setLookupEntity
void setLookupEntity(Entity entity, String lookupModelName, String relationName, String lookupId, boolean emptyCheck) set relation to a specific lookup-entity on entity- Parameters:
entity- the entity to adjustlookupModelName- the name of lookup-entityrelationName- the name of relation to the entitylookupId- unique id value of lookup-entityemptyCheck- only adjust lookup-Entity if relation is empty
-
setCorrespondenceLanguage
set relation to Correspondence_language withL10N.currentLocale()on entity- Parameters:
entity- the entity to adjust
-