Class FeatureAPIImpl
- java.lang.Object
-
- net.anotheria.anoplass.api.AbstractAPIImpl
-
- net.anotheria.anosite.api.feature.FeatureAPIImpl
-
- All Implemented Interfaces:
net.anotheria.anoplass.api.API,FeatureAPI
public class FeatureAPIImpl extends net.anotheria.anoplass.api.AbstractAPIImpl implements FeatureAPI
FeatureAPIimplementation.- Since:
- 12.07.14 20:40
- Author:
- lrosenberg
-
-
Constructor Summary
Constructors Constructor Description FeatureAPIImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeInit()voidinit()booleanisFeatureActive(String name)Checks if feature with specified name is active.-
Methods inherited from class net.anotheria.anoplass.api.AbstractAPIImpl
addValidationError, addValidationError, checkValidationAndThrowException, getApiConfig, getAttributeFromSession, getCallContext, getCurrentLocale, getCurrentUserId, getDefaultExpirePeriodForAttribute, getExpirePeriodForAttribute, getLoggedInUserId, getPrivateAttributeName, getSession, removeAttributeFromSession, setAttributeInSession, setAttributeInSession, setAttributeInSession, setAttributeInSession
-
-
-
-
Method Detail
-
isFeatureActive
public boolean isFeatureActive(String name) throws net.anotheria.anoplass.api.APIException
Description copied from interface:FeatureAPIChecks if feature with specified name is active.- Specified by:
isFeatureActivein interfaceFeatureAPI- Parameters:
name- name of feature- Returns:
trueif feature is active,false- otherwise- Throws:
net.anotheria.anoplass.api.APIException- if any errors occurs
-
init
public void init() throws net.anotheria.anoplass.api.APIInitException- Specified by:
initin interfacenet.anotheria.anoplass.api.API- Overrides:
initin classnet.anotheria.anoplass.api.AbstractAPIImpl- Throws:
net.anotheria.anoplass.api.APIInitException
-
deInit
public void deInit()
- Specified by:
deInitin interfacenet.anotheria.anoplass.api.API- Overrides:
deInitin classnet.anotheria.anoplass.api.AbstractAPIImpl
-
-