|
||||||||||
| 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.SiteNodeController
public class SiteNodeController
| Field Summary | |
|---|---|
protected static java.lang.Integer |
INHERITED
|
protected static java.lang.Integer |
NO
|
protected static java.lang.Integer |
YES
|
| Constructor Summary | |
|---|---|
SiteNodeController()
|
|
| Method Summary | |
|---|---|
SiteNode |
create(org.exolab.castor.jdo.Database db,
java.lang.Integer parentSiteNodeId,
java.lang.Integer siteNodeTypeDefinitionId,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer repositoryId,
SiteNodeVO siteNodeVO)
|
SiteNodeVO |
create(java.lang.Integer parentSiteNodeId,
java.lang.Integer siteNodeTypeDefinitionId,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer repositoryId,
SiteNodeVO siteNodeVO)
|
SiteNode |
createNewSiteNode(org.exolab.castor.jdo.Database db,
java.lang.Integer parentSiteNodeId,
java.lang.Integer siteNodeTypeDefinitionId,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer repositoryId,
SiteNodeVO siteNodeVO)
This method creates a new SiteNode and an siteNodeVersion. |
Content |
createSiteNodeMetaInfoContent(org.exolab.castor.jdo.Database db,
SiteNode newSiteNode,
java.lang.Integer repositoryId,
InfoGluePrincipal principal,
java.lang.Integer pageTemplateContentId)
This method creates a meta info content for the new sitenode. |
void |
delete(SiteNodeVO siteNodeVO,
org.exolab.castor.jdo.Database db,
boolean forceDelete,
InfoGluePrincipal infogluePrincipal)
This method deletes a siteNode and also erases all the children and all versions. |
void |
delete(SiteNodeVO siteNodeVO,
org.exolab.castor.jdo.Database db,
InfoGluePrincipal infogluePrincipal)
This method deletes a siteNode and also erases all the children and all versions. |
void |
delete(SiteNodeVO siteNodeVO,
InfoGluePrincipal infogluePrincipal)
This method deletes a siteNode and also erases all the children and all versions. |
static SiteNodeController |
getController()
Factory method |
LanguageVO |
getInitialLanguageVO(org.exolab.castor.jdo.Database db,
java.lang.Integer contentId,
java.lang.Integer repositoryId)
|
BaseEntityVO |
getNewVO()
This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling. |
static SiteNodeVO |
getParentSiteNode(java.lang.Integer siteNodeId)
This method returns the value-object of the parent of a specific siteNode. |
static SiteNode |
getParentSiteNode(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
This method returns the value-object of the parent of a specific siteNode. |
java.lang.Integer |
getProtectedSiteNodeVersionId(java.lang.Integer siteNodeId)
This method returns true if the if the siteNode in question is protected. |
java.util.List |
getRepositorySiteNodes(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
This method returns a list of all siteNodes in a repository. |
SiteNode |
getRootSiteNode(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
This method fetches the root siteNode for a particular repository within a certain transaction. |
SiteNodeVO |
getRootSiteNodeVO(java.lang.Integer repositoryId)
This method fetches the root siteNode for a particular repository. |
java.util.List |
getSiteNodeChildren(java.lang.Integer parentSiteNodeId)
This method returns a list of the children a siteNode has. |
java.util.List |
getSiteNodesWithoutMetaInfoContentId(org.exolab.castor.jdo.Database db)
|
SiteNode |
getSiteNodeWithId(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
|
static SiteNode |
getSiteNodeWithId(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db,
boolean readOnly)
|
SiteNode |
getSiteNodeWithMetaInfoContentId(org.exolab.castor.jdo.Database db,
java.lang.Integer contentId)
|
java.util.List |
getSiteNodeVOList(java.util.HashMap argumentHashMap)
This method is sort of a sql-query-like method where you can send in arguments in form of a list of things that should match. |
static java.util.List |
getSiteNodeVOList(java.util.HashMap argumentHashMap,
org.exolab.castor.jdo.Database db)
This method is sort of a sql-query-like method where you can send in arguments in form of a list of things that should match. |
java.util.List |
getSiteNodeVOListWithoutMetaInfoContentId()
|
SiteNodeVO |
getSiteNodeVOWithId(java.lang.Integer siteNodeId)
This method gets the siteNodeVO with the given id |
static SiteNodeVO |
getSiteNodeVOWithId(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
This method gets the siteNodeVO with the given id |
SiteNodeVO |
getSiteNodeVOWithMetaInfoContentId(java.lang.Integer contentId)
|
java.util.List |
getSiteNodeVOWithParentRecursive(java.lang.Integer siteNodeId)
Recursive methods to get all sitenodes under the specific sitenode. |
static SiteNodeVO |
getSmallSiteNodeVOWithId(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
This method gets the siteNodeVO with the given id |
void |
moveSiteNode(SiteNodeVO siteNodeVO,
java.lang.Integer newParentSiteNodeId)
This method moves a siteNode after first making a couple of controls that the move is valid. |
void |
setMetaInfoContentId(java.lang.Integer siteNodeId,
java.lang.Integer metaInfoContentId)
|
void |
setMetaInfoContentId(java.lang.Integer siteNodeId,
java.lang.Integer metaInfoContentId,
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, 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 |
| Field Detail |
|---|
protected static final java.lang.Integer NO
protected static final java.lang.Integer YES
protected static final java.lang.Integer INHERITED
| Constructor Detail |
|---|
public SiteNodeController()
| Method Detail |
|---|
public static SiteNodeController getController()
public SiteNodeVO getSiteNodeVOWithId(java.lang.Integer siteNodeId)
throws SystemException,
Bug
SystemException
Bug
public static SiteNodeVO getSiteNodeVOWithId(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public static SiteNodeVO getSmallSiteNodeVOWithId(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public SiteNode getSiteNodeWithId(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public static SiteNode getSiteNodeWithId(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db,
boolean readOnly)
throws SystemException,
Bug
SystemException
Bug
public void delete(SiteNodeVO siteNodeVO,
InfoGluePrincipal infogluePrincipal)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void delete(SiteNodeVO siteNodeVO,
org.exolab.castor.jdo.Database db,
InfoGluePrincipal infogluePrincipal)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public void delete(SiteNodeVO siteNodeVO,
org.exolab.castor.jdo.Database db,
boolean forceDelete,
InfoGluePrincipal infogluePrincipal)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public SiteNodeVO create(java.lang.Integer parentSiteNodeId,
java.lang.Integer siteNodeTypeDefinitionId,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer repositoryId,
SiteNodeVO siteNodeVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public SiteNode create(org.exolab.castor.jdo.Database db,
java.lang.Integer parentSiteNodeId,
java.lang.Integer siteNodeTypeDefinitionId,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer repositoryId,
SiteNodeVO siteNodeVO)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public SiteNode createNewSiteNode(org.exolab.castor.jdo.Database db,
java.lang.Integer parentSiteNodeId,
java.lang.Integer siteNodeTypeDefinitionId,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer repositoryId,
SiteNodeVO siteNodeVO)
throws SystemException
db - parentSiteNodeId - siteNodeTypeDefinitionId - userName - repositoryId - siteNodeVO -
SystemException
public static SiteNodeVO getParentSiteNode(java.lang.Integer siteNodeId)
throws SystemException,
Bug
SystemException
Bug
public static SiteNode getParentSiteNode(java.lang.Integer siteNodeId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getSiteNodeChildren(java.lang.Integer parentSiteNodeId)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public java.util.List getSiteNodeVOList(java.util.HashMap argumentHashMap)
throws SystemException,
Bug
SystemException
Bug
public static java.util.List getSiteNodeVOList(java.util.HashMap argumentHashMap,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public SiteNodeVO getRootSiteNodeVO(java.lang.Integer repositoryId)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public SiteNode getRootSiteNode(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public void moveSiteNode(SiteNodeVO siteNodeVO,
java.lang.Integer newParentSiteNodeId)
throws ConstraintException,
SystemException
ConstraintException
SystemExceptionpublic BaseEntityVO getNewVO()
getNewVO in class BaseController
public java.util.List getRepositorySiteNodes(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public Content createSiteNodeMetaInfoContent(org.exolab.castor.jdo.Database db,
SiteNode newSiteNode,
java.lang.Integer repositoryId,
InfoGluePrincipal principal,
java.lang.Integer pageTemplateContentId)
throws SystemException,
Bug,
java.lang.Exception,
ConstraintException
db - path - newSiteNode -
SystemException
Bug
java.lang.Exception
ConstraintException
public LanguageVO getInitialLanguageVO(org.exolab.castor.jdo.Database db,
java.lang.Integer contentId,
java.lang.Integer repositoryId)
throws java.lang.Exception
java.lang.Exception
public java.util.List getSiteNodeVOWithParentRecursive(java.lang.Integer siteNodeId)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void setMetaInfoContentId(java.lang.Integer siteNodeId,
java.lang.Integer metaInfoContentId)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void setMetaInfoContentId(java.lang.Integer siteNodeId,
java.lang.Integer metaInfoContentId,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public java.util.List getSiteNodeVOListWithoutMetaInfoContentId()
throws ConstraintException,
SystemException
ConstraintException
SystemException
public java.util.List getSiteNodesWithoutMetaInfoContentId(org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public SiteNodeVO getSiteNodeVOWithMetaInfoContentId(java.lang.Integer contentId)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public SiteNode getSiteNodeWithMetaInfoContentId(org.exolab.castor.jdo.Database db,
java.lang.Integer contentId)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exceptionpublic java.lang.Integer getProtectedSiteNodeVersionId(java.lang.Integer siteNodeId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||