|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.event.manager.TriggerManager
Field Summary | |
protected EventsFacadeIFace |
_eventsFacade
|
Constructor Summary | |
TriggerManager(EventsFacadeIFace eventsFacade)
Constructor for TriggerHandler. |
Method Summary | |
void |
createNewTrigger(java.lang.String event,
java.lang.String plugin,
java.lang.String idProfile,
java.lang.String typeProfile)
This method provide to create a new trigger identified by event, plugin, idProfile, typeProfile This method throws an exception if something goes wrong |
java.util.ArrayList |
getAllPluginsByEvent(java.lang.String eventName)
This method provide to return a list of pluginName which are related with the event identified by eventName in some triggers This method throws an exception if something goes wrong |
SourceBean |
getAllTriggers()
This method provide to return a SourceBean representing all triggers This method throws an exception if something goes wrong |
SourceBean |
getAllTriggers(java.lang.String event,
java.lang.String plugin,
java.lang.String idProfile,
java.lang.String typeProfile)
This method provide to return all triggers matching with attribute passed in input If some atrribute is equals to "", the condition is ignored This method throws an exception if something goes wrong |
SourceBean |
getAllTriggersByEvent(java.lang.String eventName)
This method provide to return a SourceBean representing all triggers related with the event identified by eventName This method throws an exception if something goes wrong |
SourceBean |
getAllTriggersByEventPlugin(java.lang.String eventName,
java.lang.String pluginName)
This method provide to return a SourceBean representing all triggers related with the event and plugin identified by eventName and pluginName If eventName or pluginName are equals to "" the condition is ignored This method throws an exception if something goes wrong |
SourceBean |
getAllTriggersByPlugin(java.lang.String pluginName)
This method provide to return a SourceBean representing all triggers related with the plugin identified by pluginName This method throws an exception if something goes wrong |
java.util.ArrayList |
getAllUsersTriggered(java.lang.String eventName,
java.lang.String pluginName)
This method provide to return all user related with the event identified by eventName and the plugin This method throws an exception if something goes wrong |
boolean |
isUserTriggered(java.lang.String userId,
java.lang.String eventName,
java.lang.String pluginName)
This method provide to return true if exists some relationship between the user identify by user and the event identified by eventName and the plugin or if exists some relationship between a user's roles the event identified by eventName and the plugin This method throws an exception if something goes wrong |
void |
removeTrigger(java.lang.String event,
java.lang.String plugin,
java.lang.String idProfile,
java.lang.String typeProfile)
This method provide to remove the trigger identified by event, plugin, idProfile, typeProfile This method throws an exception if something goes wrong |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected EventsFacadeIFace _eventsFacade
Constructor Detail |
public TriggerManager(EventsFacadeIFace eventsFacade)
Method Detail |
public SourceBean getAllTriggers() throws java.lang.Exception
getAllTriggers
in interface TriggerManagerIFace
<{Exception}>
- - if some problems occurs during operation
java.lang.Exception
public SourceBean getAllTriggersByEvent(java.lang.String eventName) throws java.lang.Exception
getAllTriggersByEvent
in interface TriggerManagerIFace
<{Exception}>
- - if some problems occurs during operation
java.lang.Exception
public SourceBean getAllTriggersByPlugin(java.lang.String pluginName) throws java.lang.Exception
getAllTriggersByPlugin
in interface TriggerManagerIFace
<{Exception}>
- - if some problems occurs during operation
java.lang.Exception
public SourceBean getAllTriggersByEventPlugin(java.lang.String eventName, java.lang.String pluginName) throws java.lang.Exception
getAllTriggersByEventPlugin
in interface TriggerManagerIFace
<{Exception}>
- - if some problems occurs during operation
java.lang.Exception
public SourceBean getAllTriggers(java.lang.String event, java.lang.String plugin, java.lang.String idProfile, java.lang.String typeProfile) throws java.lang.Exception
getAllTriggers
in interface TriggerManagerIFace
<{Exception}>
- - if some problems occurs during operation
java.lang.Exception
public java.util.ArrayList getAllPluginsByEvent(java.lang.String eventName)
getAllPluginsByEvent
in interface TriggerManagerIFace
<{Exception}>
- - if some problems occurs during operationpublic boolean isUserTriggered(java.lang.String userId, java.lang.String eventName, java.lang.String pluginName)
isUserTriggered
in interface TriggerManagerIFace
<{Exception}>
- - if some problems occurs during operationpublic java.util.ArrayList getAllUsersTriggered(java.lang.String eventName, java.lang.String pluginName) throws java.lang.Exception
getAllUsersTriggered
in interface TriggerManagerIFace
<{Exception}>
- - if some problems occurs during operation
java.lang.Exception
public void removeTrigger(java.lang.String event, java.lang.String plugin, java.lang.String idProfile, java.lang.String typeProfile) throws java.lang.Exception
removeTrigger
in interface TriggerManagerIFace
<{Exception}>
- - if some problems occurs during operation
java.lang.Exception
public void createNewTrigger(java.lang.String event, java.lang.String plugin, java.lang.String idProfile, java.lang.String typeProfile) throws java.lang.Exception
createNewTrigger
in interface TriggerManagerIFace
<{Exception}>
- - if some problems occurs during operation
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |