Class LmsSubscriptionMethod
java.lang.Object
ch.tocco.nice2.optional.lms.impl.freemarker.LmsSubscriptionMethod
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel
,freemarker.template.TemplateMethodModelEx
,freemarker.template.TemplateModel
public class LmsSubscriptionMethod
extends Object
implements freemarker.template.TemplateMethodModelEx
finds the Lms_subscription of the current principal for a Lms_object, if one exists
uses
LmsSubscriptionQueryService
Parameters
key of lms object as long-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
ConstructorDescriptionLmsSubscriptionMethod
(CommandExecutor executor, LmsSubscriptionQueryService lmsSubscriptionService, DataModel dataModel, BusinessUnitManager businessUnitManager, SecurityManager securityManager) -
Method Summary
-
Constructor Details
-
LmsSubscriptionMethod
public LmsSubscriptionMethod(CommandExecutor executor, LmsSubscriptionQueryService lmsSubscriptionService, DataModel dataModel, BusinessUnitManager businessUnitManager, SecurityManager securityManager)
-
-
Method Details
-
exec
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModel
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModelEx
-