/*
String contentKey = "" + content.getValueObject().getId();
CacheController.cacheObjectInAdvancedCache("contentCache", contentKey, content.getValueObject(), new String[]{CacheController.getPooledString(1, content.getValueObject().getId())}, true);
*/
//if(ContentDeliveryController.getContentDeliveryController().isValidContent(this.getDatabase(), content.getId(), localLanguageId, USE_LANGUAGE_FALLBACK, true, getPrincipal(), this.deliveryContext))
InfoGluePrincipal principal = UserControllerProxy.getController(getDatabase()).getUser(userName);
if(ContentDeliveryController.getContentDeliveryController().isValidContent(this.getDatabase(), content.getValueObject(), localLanguageId, USE_LANGUAGE_FALLBACK, true, principal, this.deliveryContext, false, false))
{
if(startNodeId != null)
{
if(hasNodeIdAsParent(content.getContentId(), startNodeId))