|
|||||||||
| 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.PublicationController
public class PublicationController
PublicationController.java
| Field Summary | |
|---|---|
static int |
LEAVE_WORKING
|
static int |
OVERIDE_WORKING
|
| Constructor Summary | |
|---|---|
PublicationController()
|
|
| Method Summary | |
|---|---|
static PublicationVO |
create(PublicationVO publication)
This method (currently used for testing) will create a Publication with associated PublicationDetails children. |
PublicationVO |
createAndPublish(PublicationVO publicationVO,
java.util.List events,
boolean overrideVersionModifyer,
InfoGluePrincipal infoGluePrincipal)
This method creates a new publication with the concerned events carried out. |
PublicationVO |
createAndPublish(PublicationVO publicationVO,
java.util.List events,
boolean overrideVersionModifyer,
InfoGluePrincipal infoGluePrincipal,
org.exolab.castor.jdo.Database db)
This method creates a new publication with the concerned events carried out. |
static void |
denyPublicationRequest(java.lang.Integer eventId,
java.lang.String publisherUserName,
java.lang.String comment,
java.lang.String referenceUrl)
This method denies a requested publishing. |
static void |
denyPublicationRequest(java.util.List eventVOList,
java.lang.String publisherUserName,
java.lang.String comment,
java.lang.String referenceUrl)
This method denies a list of requested publishing. |
static java.util.List |
getAllEditions(java.lang.Integer repositoryId)
This method returns a list of earlier editions for this site. |
static PublicationController |
getController()
|
static EditionBrowser |
getEditionPage(java.lang.Integer repositoryId,
int startIndex)
This method returns a list of earlier editions for this site. |
BaseEntityVO |
getNewVO()
This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling. |
static ContentVO |
getOwningContentVO(java.lang.Integer id)
This method returns the owning content to a contentVersion. |
static SiteNodeVO |
getOwningSiteNodeVO(java.lang.Integer id)
This method returns the owning siteNode to a siteNodeVersion. |
static java.util.List |
getPublicationDetailVOList(java.lang.Integer publicationId)
This method returns a list of all details a publication has. |
PublicationDetailVO |
getPublicationDetailVOWithId(java.lang.Integer publicationDetailId)
This method just returns the publication detail with the given id. |
static java.util.List |
getPublicationEvents(java.lang.Integer repositoryId)
This method returns a list of those events that are publication events and concerns this repository |
static Publication |
getPublicationWithId(java.lang.Integer publicationId,
org.exolab.castor.jdo.Database db)
This method just returns the publication with the given id within the given transaction. |
static PublicationVO |
unPublish(java.lang.Integer publicationId,
InfoGluePrincipal infoGluePrincipal)
This method unpublishes all entities in an edition if they are not unpublish-events. |
| 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, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getLogger, 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 |
| Field Detail |
|---|
public static final int OVERIDE_WORKING
public static final int LEAVE_WORKING
| Constructor Detail |
|---|
public PublicationController()
| Method Detail |
|---|
public static PublicationController getController()
public static Publication getPublicationWithId(java.lang.Integer publicationId,
org.exolab.castor.jdo.Database db)
throws SystemException
SystemException
public PublicationDetailVO getPublicationDetailVOWithId(java.lang.Integer publicationDetailId)
throws SystemException
SystemException
public static java.util.List getPublicationEvents(java.lang.Integer repositoryId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public static java.util.List getAllEditions(java.lang.Integer repositoryId)
throws SystemException
SystemException
public static EditionBrowser getEditionPage(java.lang.Integer repositoryId,
int startIndex)
throws SystemException
SystemException
public static void denyPublicationRequest(java.lang.Integer eventId,
java.lang.String publisherUserName,
java.lang.String comment,
java.lang.String referenceUrl)
throws SystemException
SystemException
public static void denyPublicationRequest(java.util.List eventVOList,
java.lang.String publisherUserName,
java.lang.String comment,
java.lang.String referenceUrl)
throws SystemException
SystemException
public PublicationVO createAndPublish(PublicationVO publicationVO,
java.util.List events,
boolean overrideVersionModifyer,
InfoGluePrincipal infoGluePrincipal)
throws SystemException
SystemException
public PublicationVO createAndPublish(PublicationVO publicationVO,
java.util.List events,
boolean overrideVersionModifyer,
InfoGluePrincipal infoGluePrincipal,
org.exolab.castor.jdo.Database db)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public static PublicationVO create(PublicationVO publication)
throws SystemException
SystemException
public static java.util.List getPublicationDetailVOList(java.lang.Integer publicationId)
throws SystemException
SystemException
public static PublicationVO unPublish(java.lang.Integer publicationId,
InfoGluePrincipal infoGluePrincipal)
throws SystemException
SystemException
public static ContentVO getOwningContentVO(java.lang.Integer id)
throws SystemException
SystemException
public static SiteNodeVO getOwningSiteNodeVO(java.lang.Integer id)
throws SystemException
SystemExceptionpublic BaseEntityVO getNewVO()
getNewVO in class BaseController
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||