|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infoglue.cms.controllers.kernel.impl.simple.BaseController
org.infoglue.cms.controllers.kernel.impl.simple.EventController
public class EventController
| Constructor Summary | |
|---|---|
EventController()
|
|
| Method Summary | |
|---|---|
static EventVO |
create(EventVO eventVO,
java.lang.Integer repositoryId,
InfoGluePrincipal infoGluePrincipal)
Creates a new Event with the values in the eventVO sent in in a new transaction. |
static EventVO |
create(EventVO eventVO,
java.lang.Integer repositoryId,
InfoGluePrincipal infoGluePrincipal,
org.exolab.castor.jdo.Database db)
Creates a new Event with the values in the eventVO sent in. |
static void |
delete(Event event,
org.exolab.castor.jdo.Database db)
This method removes an event from the database. |
static void |
delete(EventVO eventVO)
This method removes an event from the database. |
static Event |
getEventWithId(java.lang.Integer eventId,
org.exolab.castor.jdo.Database db)
Gets the event in the given transaction. |
java.util.List |
getEventVOList()
Gets all events in a read only transaction. |
static java.util.List |
getEventVOListForEntity(java.lang.String entityClass,
java.lang.Integer entityId)
Returns a list of events currently available for the certain entity. |
static EventVO |
getEventVOWithId(java.lang.Integer eventId)
Gets the eventVO in a readonly transaction. |
BaseEntityVO |
getNewVO()
This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling. |
static java.util.List |
getPublicationEventVOListForRepository(java.lang.Integer repositoryId)
Returns a list of events with either publish or unpublish-state currently available for the repository stated. |
static java.util.List |
getPublicationEventVOListForRepository(java.lang.Integer repositoryId,
InfoGluePrincipal principal,
java.lang.String filter)
Returns a list of events with either publish or unpublish-state currently available for the repository stated. |
static EventVO |
update(EventVO eventVO)
This method updates an event. |
| Methods inherited from class org.infoglue.cms.controllers.kernel.impl.simple.BaseController |
|---|
beginTransaction, beginTransaction, closeDatabase, commitTransaction, createEntity, createEntity, createQuery, deleteEntity, deleteEntity, deleteEntity, deleteEntity, executeQuery, executeQuery, executeQuery, executeQuery, getAllObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getObjectWithId, getObjectWithId, getObjectWithIdAsReadOnly, getVOWithId, getVOWithId, getVOWithId, getVOWithId, intercept, intercept, rollbackTransaction, toModifiableVOList, toVOList, updateEntity, updateEntity, updateEntity, updateEntity, validateEntity |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventController()
| Method Detail |
|---|
public static EventVO getEventVOWithId(java.lang.Integer eventId)
throws SystemException,
Bug
SystemException
Bug
public static Event getEventWithId(java.lang.Integer eventId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getEventVOList()
throws SystemException,
Bug
SystemException
Bug
public static EventVO create(EventVO eventVO,
java.lang.Integer repositoryId,
InfoGluePrincipal infoGluePrincipal,
org.exolab.castor.jdo.Database db)
throws SystemException
SystemException
public static EventVO create(EventVO eventVO,
java.lang.Integer repositoryId,
InfoGluePrincipal infoGluePrincipal)
throws SystemException
SystemException
public static void delete(EventVO eventVO)
throws SystemException
SystemException
public static void delete(Event event,
org.exolab.castor.jdo.Database db)
throws SystemException
SystemException
public static EventVO update(EventVO eventVO)
throws SystemException
SystemException
public static java.util.List getEventVOListForEntity(java.lang.String entityClass,
java.lang.Integer entityId)
throws SystemException,
Bug
SystemException
Bug
public static java.util.List getPublicationEventVOListForRepository(java.lang.Integer repositoryId)
throws SystemException,
Bug
SystemException
Bug
public static java.util.List getPublicationEventVOListForRepository(java.lang.Integer repositoryId,
InfoGluePrincipal principal,
java.lang.String filter)
throws SystemException,
Bug
SystemException
Bugpublic BaseEntityVO getNewVO()
getNewVO in class BaseController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||