{
beginTransaction(db);
try
{
BaseEntityVO entityVO = ContentController.getContentController().getContentVOWithId(entityId, db);
matchingEntities.add(entityVO);
}
catch (Exception e) { logger.error("No entity found.."); }
try
{
BaseEntityVO entityVO = ContentVersionController.getContentVersionController().getContentVersionVOWithId(entityId, db);
matchingEntities.add(entityVO);
}
catch (Exception e) { logger.error("No entity found.."); }
try
{
BaseEntityVO entityVO = DigitalAssetController.getController().getDigitalAssetVOWithId(entityId, db);
matchingEntities.add(entityVO);
}
catch (Exception e) { logger.error("No entity found.."); }
try
{
BaseEntityVO entityVO = SiteNodeController.getController().getSiteNodeVOWithId(entityId, db);
matchingEntities.add(entityVO);
}
catch (Exception e) { logger.error("No entity found.."); }
try
{
BaseEntityVO entityVO = SiteNodeVersionController.getController().getSiteNodeVersionVOWithId(entityId, db);
matchingEntities.add(entityVO);
}
catch (Exception e) { logger.error("No entity found.."); }
commitTransaction(db);