it.eng.spago.event.manager
Interface EventManagerIFace

All Known Subinterfaces:
EventsFacadeIFace
All Known Implementing Classes:
EventManager, EventsFacade

public interface EventManagerIFace


Method Summary
 void associatePluginToEvent(java.lang.String pluginName, java.lang.String eventName)
           
 void associateRoleToEvent(java.lang.String roleName, java.lang.String eventName)
           
 void createNewEvent(java.lang.String key, java.lang.String description, java.lang.String type)
           
 void createNewEventType(java.lang.String key, java.lang.String description)
           
 SourceBean getAllEvents()
           
 SourceBean getEventsForRole(java.lang.String roleName)
           
 SourceBean getEventsForType(java.lang.String typeEvent)
           
 SourceBean getEventsForUser(java.lang.String userId)
           
 SourceBean getEventsType()
           
 SourceBean getPluginAssociableWithEvent(java.lang.String eventName, java.lang.String pluginType)
           
 SourceBean getPluginsAssociableWithEvent(java.lang.String eventName)
           
 SourceBean getRolesForEvent(java.lang.String eventName)
           
 void removeEvent(java.lang.String key)
           
 void removeEventType(java.lang.String key)
           
 void removePluginFromEvent(java.lang.String pluginName, java.lang.String eventName)
           
 void removeRoleFromEvent(java.lang.String roleName, java.lang.String eventName)
           
 

Method Detail

getAllEvents

public SourceBean getAllEvents()
                        throws java.lang.Exception
Throws:
java.lang.Exception

getEventsForType

public SourceBean getEventsForType(java.lang.String typeEvent)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getPluginsAssociableWithEvent

public SourceBean getPluginsAssociableWithEvent(java.lang.String eventName)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

getPluginAssociableWithEvent

public SourceBean getPluginAssociableWithEvent(java.lang.String eventName,
                                               java.lang.String pluginType)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

associatePluginToEvent

public void associatePluginToEvent(java.lang.String pluginName,
                                   java.lang.String eventName)
                            throws java.lang.Exception
Throws:
java.lang.Exception

removePluginFromEvent

public void removePluginFromEvent(java.lang.String pluginName,
                                  java.lang.String eventName)
                           throws java.lang.Exception
Throws:
java.lang.Exception

getEventsType

public SourceBean getEventsType()
                         throws java.lang.Exception
Throws:
java.lang.Exception

getEventsForRole

public SourceBean getEventsForRole(java.lang.String roleName)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getEventsForUser

public SourceBean getEventsForUser(java.lang.String userId)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getRolesForEvent

public SourceBean getRolesForEvent(java.lang.String eventName)
                            throws java.lang.Exception
Throws:
java.lang.Exception

removeRoleFromEvent

public void removeRoleFromEvent(java.lang.String roleName,
                                java.lang.String eventName)
                         throws java.lang.Exception
Throws:
java.lang.Exception

associateRoleToEvent

public void associateRoleToEvent(java.lang.String roleName,
                                 java.lang.String eventName)
                          throws java.lang.Exception
Throws:
java.lang.Exception

createNewEventType

public void createNewEventType(java.lang.String key,
                               java.lang.String description)
                        throws java.lang.Exception
Throws:
java.lang.Exception

removeEventType

public void removeEventType(java.lang.String key)
                     throws java.lang.Exception
Throws:
java.lang.Exception

createNewEvent

public void createNewEvent(java.lang.String key,
                           java.lang.String description,
                           java.lang.String type)
                    throws java.lang.Exception
Throws:
java.lang.Exception

removeEvent

public void removeEvent(java.lang.String key)
                 throws java.lang.Exception
Throws:
java.lang.Exception