Class ModifiedJobOfferObserver
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.joboffer.observer.AbstractJobOfferObserver
-
- org.ametys.plugins.joboffer.observer.ModifiedJobOfferObserver
-
- All Implemented Interfaces:
Observer,LogEnabled,Contextualizable,Serviceable
public class ModifiedJobOfferObserver extends AbstractJobOfferObserver
Observerwhen the job offer has been modified
-
-
Field Summary
-
Fields inherited from class org.ametys.plugins.joboffer.observer.AbstractJobOfferObserver
_cTypeHelper, _resolver, REQUEST_ATTR_PERSON_IN_CHARGE
-
Fields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description ModifiedJobOfferObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<String>_getSupportedEventIds()Get the id of supported eventsprotected void_internalObserver(Event event, Content content, Map<String,Object> transientVars)Internal observervoidservice(ServiceManager smanager)-
Methods inherited from class org.ametys.plugins.joboffer.observer.AbstractJobOfferObserver
_getRequest, contextualize, getJobOffer, getPriority, observe, supports
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
ModifiedJobOfferObserver
public ModifiedJobOfferObserver()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classAbstractJobOfferObserver- Throws:
ServiceException
-
_getSupportedEventIds
protected Set<String> _getSupportedEventIds()
Description copied from class:AbstractJobOfferObserverGet the id of supported events- Specified by:
_getSupportedEventIdsin classAbstractJobOfferObserver- Returns:
- the id in a Set
-
_internalObserver
protected void _internalObserver(Event event, Content content, Map<String,Object> transientVars) throws Exception
Description copied from class:AbstractJobOfferObserverInternal observer- Specified by:
_internalObserverin classAbstractJobOfferObserver- Parameters:
event- the eventcontent- the job offer content. Cannot be null.transientVars- The transient variables- Throws:
Exception- if an error occurred
-
-