|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.infoglue.cms.controllers.kernel.impl.simple.BaseController
|
+--org.infoglue.cms.controllers.kernel.impl.simple.RegistryController
The RegistryController manages the registry-parts of InfoGlue. The Registry is metadata for how things are related - especially to handle bindings and inline links etc when looking them up in the model is to slow.
| Method Summary | |
void |
clearRegistryForReferencedEntity(java.lang.String entityName,
java.lang.String entityId)
Clears all references to a entity |
java.util.List |
clearRegistryVOList(java.lang.String referencingEntityName,
java.lang.String referencingEntityId,
org.exolab.castor.jdo.Database db)
Gets matching references |
RegistryVO |
create(RegistryVO valueObject,
org.exolab.castor.jdo.Database db)
This method creates a registry entity in the db. |
void |
delete(java.lang.Integer registryId)
This method deletes a registry entry |
void |
getComponentBindings(SiteNodeVersion siteNodeVersion,
java.lang.String versionValue,
org.exolab.castor.jdo.Database db)
This method fetches all components and adds entries to the registry. |
void |
getComponents(SiteNodeVersion siteNodeVersion,
java.lang.String versionValue,
org.exolab.castor.jdo.Database db)
This method fetches all components and adds entries to the registry. |
static RegistryController |
getController()
|
void |
getInlineContents(ContentVersion contentVersion,
java.lang.String versionValue,
org.exolab.castor.jdo.Database db)
This method fetches all inline links from any text. |
void |
getInlineSiteNodes(ContentVersion contentVersion,
java.lang.String versionValue,
org.exolab.castor.jdo.Database db)
This method fetches all inline links from any text. |
java.util.List |
getMatchingRegistryVOList(java.lang.String entityName,
java.lang.String entityId,
org.exolab.castor.jdo.Database db)
Gets matching references |
java.util.List |
getMatchingRegistryVOListForReferencingEntity(java.lang.String referencingEntityName,
java.lang.String referencingEntityId,
org.exolab.castor.jdo.Database db)
Gets matching references |
BaseEntityVO |
getNewVO()
Implemented for BaseController |
java.util.List |
getReferencingObjectsForContent(java.lang.Integer contentId)
This method gets all referencing content versions |
java.util.List |
getReferencingObjectsForSiteNode(java.lang.Integer siteNodeId)
This method gets all referencing sitenode versions |
void |
getRelationContents(ContentVersion contentVersion,
java.lang.String versionValue,
org.exolab.castor.jdo.Database db)
This method fetches all inline links from any text. |
void |
getRelationSiteNodes(ContentVersion contentVersion,
java.lang.String versionValue,
org.exolab.castor.jdo.Database db)
This method fetches all inline links from any text. |
java.util.List |
getSiteNodeVersionsWhichUsesContentVersionAsMetaInfo(ContentVersion contentVersion,
org.exolab.castor.jdo.Database db)
Gets siteNodeVersions which uses the metainfo |
RegistryVO |
update(RegistryVO valueObject,
org.exolab.castor.jdo.Database db)
This method updates a registry entry |
void |
updateContentVersion(ContentVersion contentVersion,
org.exolab.castor.jdo.Database db)
this method goes through all inline stuff and all relations if ordinary content and all components and bindings if a metainfo. |
void |
updateContentVersion(ContentVersionVO contentVersionVO)
this method goes through all inline stuff and all relations if ordinary content and all components and bindings if a metainfo. |
void |
updateSiteNodeVersion(SiteNodeVersion siteNodeVersion,
org.exolab.castor.jdo.Database db)
this method goes through all page bindings and makes registry entries for them |
void |
updateSiteNodeVersion(SiteNodeVersionVO siteNodeVersionVO)
this method goes through all page bindings and makes registry entries for them |
| Methods inherited from class org.infoglue.cms.controllers.kernel.impl.simple.BaseController |
deleteEntity, deleteEntity, deleteEntity, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getVOWithId, getVOWithId, getVOWithId, toModifiableVOList, toVOList, updateEntity, updateEntity, updateEntity, validateEntity |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static RegistryController getController()
public RegistryVO create(RegistryVO valueObject,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
valueObject -
ConstraintException
SystemException
java.lang.Exception
public RegistryVO update(RegistryVO valueObject,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void delete(java.lang.Integer registryId)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void updateContentVersion(ContentVersionVO contentVersionVO)
throws ConstraintException,
SystemException
contentVersionVO -
SystemException
java.lang.Exception
ConstraintException
public void updateContentVersion(ContentVersion contentVersion,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
SystemException
java.lang.Exception
ConstraintException
public void updateSiteNodeVersion(SiteNodeVersionVO siteNodeVersionVO)
throws ConstraintException,
SystemException
SystemException
java.lang.Exception
ConstraintException
public void updateSiteNodeVersion(SiteNodeVersion siteNodeVersion,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
siteNodeVersion -
SystemException
java.lang.Exception
ConstraintException
public void getInlineSiteNodes(ContentVersion contentVersion,
java.lang.String versionValue,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public void getInlineContents(ContentVersion contentVersion,
java.lang.String versionValue,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public void getRelationSiteNodes(ContentVersion contentVersion,
java.lang.String versionValue,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public void getRelationContents(ContentVersion contentVersion,
java.lang.String versionValue,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public void getComponents(SiteNodeVersion siteNodeVersion,
java.lang.String versionValue,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public void getComponentBindings(SiteNodeVersion siteNodeVersion,
java.lang.String versionValue,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exceptionpublic BaseEntityVO getNewVO()
getNewVO in class BaseController
public java.util.List getReferencingObjectsForContent(java.lang.Integer contentId)
throws SystemException
contentId -
SystemException
public java.util.List getReferencingObjectsForSiteNode(java.lang.Integer siteNodeId)
throws SystemException,
java.lang.Exception
siteNodeId -
SystemException
java.lang.Exception
public java.util.List getMatchingRegistryVOList(java.lang.String entityName,
java.lang.String entityId,
org.exolab.castor.jdo.Database db)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public java.util.List getMatchingRegistryVOListForReferencingEntity(java.lang.String referencingEntityName,
java.lang.String referencingEntityId,
org.exolab.castor.jdo.Database db)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public java.util.List clearRegistryVOList(java.lang.String referencingEntityName,
java.lang.String referencingEntityId,
org.exolab.castor.jdo.Database db)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public void clearRegistryForReferencedEntity(java.lang.String entityName,
java.lang.String entityId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public java.util.List getSiteNodeVersionsWhichUsesContentVersionAsMetaInfo(ContentVersion contentVersion,
org.exolab.castor.jdo.Database db)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||