|
|||||||||
| 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.SiteNodeVersionController
public class SiteNodeVersionController
| Constructor Summary | |
|---|---|
SiteNodeVersionController()
|
|
| Method Summary | |
|---|---|
static SiteNodeVersion |
create(java.lang.Integer siteNodeId,
InfoGluePrincipal infoGluePrincipal,
SiteNodeVersionVO siteNodeVersionVO)
This method creates a new siteNodeVersion for the siteNode sent in. |
static SiteNodeVersion |
create(java.lang.Integer siteNodeId,
InfoGluePrincipal infoGluePrincipal,
SiteNodeVersionVO siteNodeVersionVO,
org.exolab.castor.jdo.Database db)
This method creates a new siteNodeVersion for the siteNode sent in. |
static SiteNodeVersion |
createInitialSiteNodeVersion(org.exolab.castor.jdo.Database db,
SiteNode siteNode,
InfoGluePrincipal infoGluePrincipal)
This method creates an initial siteNodeVersion for the siteNode sent in and within the transaction sent in. |
void |
delete(SiteNodeVersion siteNodeVersion,
org.exolab.castor.jdo.Database db)
This method removes the siteNodeVersion and also all associated bindings. |
static void |
delete(SiteNodeVersionVO siteNodeVersionVO)
|
static void |
deleteVersionsForSiteNode(SiteNode siteNode,
org.exolab.castor.jdo.Database db)
This methods deletes all versions for the siteNode sent in |
static void |
deleteVersionsForSiteNodeWithId(java.lang.Integer siteNodeId)
|
static SiteNodeVersionController |
getController()
Factory method |
SiteNodeVersion |
getLatestActiveSiteNodeVersion(org.exolab.castor.jdo.Database db,
java.lang.Integer siteNodeId)
|
SiteNodeVersion |
getLatestActiveSiteNodeVersionIfInState(SiteNode siteNode,
java.lang.Integer stateId,
org.exolab.castor.jdo.Database db)
This method returns the latest sitenodeVersion there is for the given siteNode. |
SiteNodeVersionVO |
getLatestActiveSiteNodeVersionVO(org.exolab.castor.jdo.Database db,
java.lang.Integer siteNodeId)
|
SiteNodeVersionVO |
getLatestActiveSiteNodeVersionVO(java.lang.Integer siteNodeId)
|
static SiteNodeVersion |
getLatestPublishedSiteNodeVersion(java.lang.Integer siteNodeId)
|
static SiteNodeVersion |
getLatestPublishedSiteNodeVersion(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
|
SiteNodeVersion |
getLatestSiteNodeVersion(org.exolab.castor.jdo.Database db,
java.lang.Integer siteNodeId,
boolean readOnly)
This is a method used to get the latest site node version of a sitenode within a given transaction. |
SiteNodeVersionVO |
getLatestSiteNodeVersionVO(org.exolab.castor.jdo.Database db,
java.lang.Integer siteNodeId)
|
SiteNodeVersionVO |
getLatestSiteNodeVersionVO(java.lang.Integer siteNodeId)
|
java.util.List |
getMetaInfoContentVersionVOList(java.lang.Integer siteNodeVersionId,
InfoGluePrincipal infoGluePrincipal)
This method gets the meta info for the siteNodeVersion. |
BaseEntityVO |
getNewVO()
This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling. |
SiteNodeVersion |
getPreviousActiveSiteNodeVersion(java.lang.Integer siteNodeId,
java.lang.Integer siteNodeVersionId,
org.exolab.castor.jdo.Database db)
This method returns the version previous to the one sent in. |
SiteNodeVersionVO |
getPreviousActiveSiteNodeVersionVO(java.lang.Integer siteNodeId,
java.lang.Integer siteNodeVersionId,
org.exolab.castor.jdo.Database db)
This method returns the version previous to the one sent in. |
static SiteNodeVersionVO |
getPreviousSiteNodeVersionVO(java.lang.Integer siteNodeId,
java.lang.Integer siteNodeVersionId)
This method returns the version previous to the one sent in. |
java.util.List |
getPublishedActiveSiteNodeVersionVOList(java.lang.Integer siteNodeId)
This method gets the meta info for the siteNodeVersion. |
java.util.List |
getPublishedActiveSiteNodeVersionVOList(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
|
java.util.List |
getPublishedSiteNodeVersionVOWithParentRecursive(java.lang.Integer siteNodeId)
Recursive methods to get all siteNodeVersions of a given state under the specified parent siteNode including the given siteNode. |
static java.util.Collection |
getServiceBindningList(java.lang.Integer siteNodeVersionId,
org.exolab.castor.jdo.Database db)
This method returns a list with AvailableServiceBidningVO-objects which are available for the siteNodeTypeDefinition sent in |
static java.util.List |
getServiceBindningVOList(java.lang.Integer siteNodeVersionId)
This method returns a list with AvailableServiceBidningVO-objects which are available for the siteNodeTypeDefinition sent in |
static java.util.List |
getServiceBindningVOList(java.lang.Integer siteNodeVersionId,
org.exolab.castor.jdo.Database db)
This method returns a list with AvailableServiceBidningVO-objects which are available for the siteNodeTypeDefinition sent in |
void |
getSiteNodeAndAffectedItemsRecursive(java.lang.Integer siteNodeId,
java.lang.Integer stateId,
java.util.List siteNodeVersionVOList,
java.util.List contenteVersionVOList,
boolean includeMetaInfo)
Recursive methods to get all contentVersions of a given state under the specified parent content. |
SiteNodeVersion |
getSiteNodeVersionWithId(java.lang.Integer siteNodeVersionId,
org.exolab.castor.jdo.Database db)
|
static SiteNodeVersion |
getSiteNodeVersionWithIdAsReadOnly(java.lang.Integer siteNodeVersionId,
org.exolab.castor.jdo.Database db)
|
java.util.List |
getSiteNodeVersionVOList()
|
SiteNodeVersionVO |
getSiteNodeVersionVOWithId(java.lang.Integer siteNodeVersionId)
|
java.util.List |
getSiteNodeVersionVOWithParentRecursive(java.lang.Integer siteNodeId,
java.lang.Integer stateId)
Recursive methods to get all siteNodeVersions of a given state under the specified parent siteNode including the given siteNode. |
SiteNodeVersionVO |
update(SiteNodeVersionVO siteNodeVersionVO)
Updates the SiteNodeVersion. |
SiteNodeVersionVO |
update(SiteNodeVersionVO siteNodeVersionVO,
org.exolab.castor.jdo.Database db)
Updates the SiteNodeVersion within a transaction. |
SiteNodeVersionVO |
updateStateId(java.lang.Integer siteNodeVersionId,
java.lang.Integer stateId,
java.lang.String versionComment,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer siteNodeId)
|
SiteNodeVersionVO |
updateStateId(java.lang.Integer siteNodeVersionId,
java.lang.Integer stateId,
java.lang.String versionComment,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
|
| 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 |
| Constructor Detail |
|---|
public SiteNodeVersionController()
| Method Detail |
|---|
public static SiteNodeVersionController getController()
public SiteNodeVersionVO getSiteNodeVersionVOWithId(java.lang.Integer siteNodeVersionId)
throws SystemException,
Bug
SystemException
Bug
public SiteNodeVersion getSiteNodeVersionWithId(java.lang.Integer siteNodeVersionId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public static SiteNodeVersion getSiteNodeVersionWithIdAsReadOnly(java.lang.Integer siteNodeVersionId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getSiteNodeVersionVOList()
throws SystemException,
Bug
SystemException
Bug
public static void delete(SiteNodeVersionVO siteNodeVersionVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void delete(SiteNodeVersion siteNodeVersion,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException
siteNodeVersion - db -
ConstraintException
SystemException
public static SiteNodeVersion createInitialSiteNodeVersion(org.exolab.castor.jdo.Database db,
SiteNode siteNode,
InfoGluePrincipal infoGluePrincipal)
throws SystemException,
Bug
SystemException
Bug
public static SiteNodeVersion create(java.lang.Integer siteNodeId,
InfoGluePrincipal infoGluePrincipal,
SiteNodeVersionVO siteNodeVersionVO)
throws SystemException,
Bug
SystemException
Bug
public static SiteNodeVersion create(java.lang.Integer siteNodeId,
InfoGluePrincipal infoGluePrincipal,
SiteNodeVersionVO siteNodeVersionVO,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug,
java.lang.Exception
SystemException
Bug
java.lang.Exception
public SiteNodeVersionVO getLatestActiveSiteNodeVersionVO(java.lang.Integer siteNodeId)
throws SystemException,
Bug
SystemException
Bug
public SiteNodeVersion getLatestActiveSiteNodeVersion(org.exolab.castor.jdo.Database db,
java.lang.Integer siteNodeId)
throws SystemException,
Bug,
java.lang.Exception
SystemException
Bug
java.lang.Exception
public SiteNodeVersionVO getLatestActiveSiteNodeVersionVO(org.exolab.castor.jdo.Database db,
java.lang.Integer siteNodeId)
throws SystemException,
Bug,
java.lang.Exception
SystemException
Bug
java.lang.Exception
public SiteNodeVersionVO getLatestSiteNodeVersionVO(java.lang.Integer siteNodeId)
throws SystemException,
Bug
SystemException
Bug
public SiteNodeVersionVO getLatestSiteNodeVersionVO(org.exolab.castor.jdo.Database db,
java.lang.Integer siteNodeId)
throws SystemException,
Bug,
java.lang.Exception
SystemException
Bug
java.lang.Exception
public SiteNodeVersion getLatestSiteNodeVersion(org.exolab.castor.jdo.Database db,
java.lang.Integer siteNodeId,
boolean readOnly)
throws SystemException,
Bug
SystemException
Bug
public SiteNodeVersionVO updateStateId(java.lang.Integer siteNodeVersionId,
java.lang.Integer stateId,
java.lang.String versionComment,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer siteNodeId)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public SiteNodeVersionVO updateStateId(java.lang.Integer siteNodeVersionId,
java.lang.Integer stateId,
java.lang.String versionComment,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public static void deleteVersionsForSiteNodeWithId(java.lang.Integer siteNodeId)
throws ConstraintException,
SystemException,
Bug
ConstraintException
SystemException
Bug
public static void deleteVersionsForSiteNode(SiteNode siteNode,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
Bug,
java.lang.Exception
ConstraintException
SystemException
Bug
java.lang.Exception
public static java.util.List getServiceBindningVOList(java.lang.Integer siteNodeVersionId)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public static java.util.List getServiceBindningVOList(java.lang.Integer siteNodeVersionId,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public static java.util.Collection getServiceBindningList(java.lang.Integer siteNodeVersionId,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public static SiteNodeVersion getLatestPublishedSiteNodeVersion(java.lang.Integer siteNodeId)
throws SystemException,
Bug,
java.lang.Exception
SystemException
Bug
java.lang.Exception
public static SiteNodeVersion getLatestPublishedSiteNodeVersion(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug,
java.lang.Exception
SystemException
Bug
java.lang.Exception
public static SiteNodeVersionVO getPreviousSiteNodeVersionVO(java.lang.Integer siteNodeId,
java.lang.Integer siteNodeVersionId)
throws SystemException,
Bug
SystemException
Bug
public SiteNodeVersionVO getPreviousActiveSiteNodeVersionVO(java.lang.Integer siteNodeId,
java.lang.Integer siteNodeVersionId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug,
java.lang.Exception
SystemException
Bug
java.lang.Exception
public SiteNodeVersion getPreviousActiveSiteNodeVersion(java.lang.Integer siteNodeId,
java.lang.Integer siteNodeVersionId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug,
java.lang.Exception
SystemException
Bug
java.lang.Exception
public java.util.List getSiteNodeVersionVOWithParentRecursive(java.lang.Integer siteNodeId,
java.lang.Integer stateId)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public java.util.List getPublishedSiteNodeVersionVOWithParentRecursive(java.lang.Integer siteNodeId)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void getSiteNodeAndAffectedItemsRecursive(java.lang.Integer siteNodeId,
java.lang.Integer stateId,
java.util.List siteNodeVersionVOList,
java.util.List contenteVersionVOList,
boolean includeMetaInfo)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public SiteNodeVersion getLatestActiveSiteNodeVersionIfInState(SiteNode siteNode,
java.lang.Integer stateId,
org.exolab.castor.jdo.Database db)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public java.util.List getMetaInfoContentVersionVOList(java.lang.Integer siteNodeVersionId,
InfoGluePrincipal infoGluePrincipal)
throws ConstraintException,
SystemException,
java.lang.Exception
db -
ConstraintException
SystemException
java.lang.Exception
public SiteNodeVersionVO update(SiteNodeVersionVO siteNodeVersionVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public SiteNodeVersionVO update(SiteNodeVersionVO siteNodeVersionVO,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public java.util.List getPublishedActiveSiteNodeVersionVOList(java.lang.Integer siteNodeId)
throws SystemException,
Bug,
java.lang.Exception
db -
ConstraintException
SystemException
java.lang.Exception
Bug
public java.util.List getPublishedActiveSiteNodeVersionVOList(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug,
java.lang.Exception
SystemException
Bug
java.lang.Exceptionpublic BaseEntityVO getNewVO()
getNewVO in class BaseController
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||