public abstract class LicensedAction extends Action implements org.springframework.beans.factory.InitializingBean, LicenseChangedListener
| Constructor and Description |
|---|
LicensedAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
String |
getLicenseFeature() |
boolean |
isAllowedByLicense() |
boolean |
isPermitted(JCRNodeWrapper node) |
void |
onLicenseChanged()
Called by the Digital Factory license checker service when the license has bean reloaded/changed.
|
void |
setLicenseFeature(String licenseFeature) |
createNode, doExecute, getCurrentUser, getJSONConstraintError, getName, getParameter, getParameter, getRequiredParameter, getRequiredPermission, getRequiredWorkspace, isRequireAuthenticatedUser, setName, setProperties, setRequireAuthenticatedUser, setRequiredPermission, setRequiredWorkspacepublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic String getLicenseFeature()
public boolean isAllowedByLicense()
public boolean isPermitted(JCRNodeWrapper node) throws javax.jcr.RepositoryException
isPermitted in class Actionjavax.jcr.RepositoryExceptionpublic final void setLicenseFeature(String licenseFeature)
public void onLicenseChanged()
LicenseChangedListeneronLicenseChanged in interface LicenseChangedListenerCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.