org.infoglue.deliver.controllers.kernel.impl.simple
Class BasicTemplateController

java.lang.Object
  extended by org.infoglue.deliver.controllers.kernel.impl.simple.BasicTemplateController
All Implemented Interfaces:
TemplateController
Direct Known Subclasses:
EditOnSiteBasicTemplateController

public class BasicTemplateController
extends java.lang.Object
implements TemplateController

This is the most basic template controller supplying the templates using it with methods to fetch contents, structure and other suff needed for a site. Mostly this class just acts as a delegator to other more specialized classes.


Field Summary
protected  BrowserBean browserBean
           
protected  ComponentLogic componentLogic
           
protected  ContentDeliveryController contentDeliveryController
           
protected  java.lang.Integer contentId
           
protected  DatabaseWrapper databaseWrapper
           
protected  DeliveryContext deliveryContext
           
protected static boolean DO_NOT_USE_INHERITANCE
           
protected static boolean DO_NOT_USE_LANGUAGE_FALLBACK
           
protected  InfoGluePrincipal infoGluePrincipal
           
protected  IntegrationDeliveryController integrationDeliveryController
           
protected  java.lang.Integer languageId
           
static java.lang.String META_INFO_BINDING_NAME
           
static java.lang.String NAV_TITLE_ATTRIBUTE_NAME
           
protected  NodeDeliveryController nodeDeliveryController
           
protected  boolean persistedContext
           
protected  javax.servlet.http.HttpServletRequest request
           
protected  java.lang.Integer siteNodeId
           
static java.lang.String TEMPLATE_ATTRIBUTE_NAME
           
protected  java.util.Map templateLogicContext
           
static java.lang.String TITLE_ATTRIBUTE_NAME
           
protected static boolean USE_INHERITANCE
           
protected static boolean USE_LANGUAGE_FALLBACK
           
 
Constructor Summary
BasicTemplateController(DatabaseWrapper databaseWrapper, InfoGluePrincipal infoGluePrincipal)
          The constructor for the templateController.
 
Method Summary
protected  void addToContext(java.util.Map context)
          Add objects to be used in subsequent parsing like getParsedContentAttribute, include, etc this method adds all objects in the map to the templateLogicContext, the method is protected and is used by getTemplateController to pass on the current context to the new controller if persistedContext is true.
 void addToContext(java.lang.String name, java.lang.Object object)
          Add objects to be used in subsequent parsing like getParsedContentAttribute, include, etc
 void closeTransaction()
          Commit transactions so far so a different call can be made which otherwise gets a deadlock.
 void commitDatabase()
          Commits and reopens a database object so we don't have to long transaction.
 java.lang.String decoratePage(java.lang.String page)
           
 java.util.List getAllGroups()
          Returns a list of InfoGlueGroups
 java.util.List getAllRoles()
          Returns a list of InfoGlueRoles
 java.lang.String getArchiveBaseUrl(java.lang.Integer contentId, java.lang.String assetKey)
          This method deliveres a String with the URL to the base path of the directory resulting from an unpacking of a uploaded zip-digitalAsset.
 java.lang.String getArchiveBaseUrl(java.lang.String contentBindningName, int index, java.lang.String assetKey)
          This method deliveres a String with the URL to the base path of the directory resulting from an unpacking of a uploaded zip-digitalAsset.
 java.lang.String getArchiveBaseUrl(java.lang.String contentBindningName, java.lang.String assetKey)
          This method deliveres a String with the URL to the base path of the directory resulting from an unpacking of a uploaded zip-digitalAsset.
 java.util.Vector getArchiveEntries(java.lang.Integer contentId, java.lang.String assetKey)
           
 java.lang.Integer getAssetFileSize(java.lang.Integer contentId)
           
 java.lang.Integer getAssetFileSize(java.lang.Integer contentId, java.lang.String assetKey)
           
 java.lang.Integer getAssetFileSize(java.lang.String contentBindningName, int index)
           
 java.lang.Integer getAssetFileSize(java.lang.String contentBindningName, java.lang.String assetKey)
           
 java.util.Collection getAssetKeys(java.lang.Integer contentId)
          This method deliveres a list of strings which represents all assetKeys for a content.
 java.util.Collection getAssetKeys(java.lang.String contentBindningName)
          This method deliveres a list of strings which represents all assetKeys for a content.
 java.lang.String getAssetThumbnailUrl(InfoGluePrincipal principal, java.lang.String assetKey, java.lang.Integer languageId, java.lang.Integer siteNodeId, boolean useLanguageFallback, int width, int height)
          This method deliveres a String with the URL to the digital asset asked for.
 java.lang.String getAssetThumbnailUrl(java.lang.Integer contentId, int width, int height)
          This method deliveres a String with the URL to the thumbnail for the digital asset asked for.
 java.lang.String getAssetThumbnailUrl(java.lang.Integer contentId, java.lang.String assetKey, int width, int height)
          This method deliveres a String with the URL to the thumbnail for the digital asset asked for.
 java.lang.String getAssetThumbnailUrl(java.lang.String contentBindningName, int width, int height)
          This method deliveres a String with the URL to the thumbnail of the digital asset asked for.
 java.lang.String getAssetThumbnailUrl(java.lang.String contentBindningName, java.lang.String assetKey, int width, int height)
          This method deliveres a String with the URL to the thumbnail of the digital asset asked for.
 java.lang.String getAssetUrl(InfoGluePrincipal principal, java.lang.String assetKey, java.lang.Integer languageId, java.lang.Integer siteNodeId, boolean useLanguageFallback)
          This method deliveres a String with the URL to the digital asset asked for.
 java.lang.String getAssetUrl(java.lang.Integer contentId)
          This method deliveres a String with the URL to the digital asset asked for.
 java.lang.String getAssetUrl(java.lang.Integer contentId, java.lang.String assetKey)
          This method deliveres a String with the URL to the digital asset asked for.
 java.lang.String getAssetUrl(java.lang.String contentBindningName)
          This method deliveres a String with the URL to the digital asset asked for.
 java.lang.String getAssetUrl(java.lang.String contentBindningName, int index)
          This method deliveres a String with the URL to the digital asset asked for.
 java.lang.String getAssetUrl(java.lang.String contentBindningName, java.lang.String assetKey)
          This method deliveres a String with the URL to the digital asset asked for.
 java.util.List getAssignedCategories(java.lang.Integer contentId, java.lang.String categoryKey, java.lang.Integer languageId, boolean useLanguageFallback)
          This method gets assignedCategories for a content on a specific categoryKey.
 java.lang.String getAssignPropertyBindingTag(java.lang.String propertyName, boolean createNew, java.lang.String html, boolean showInPublishedMode)
          This method returns the neccessairy html to assign by klicking on a link.
 java.util.List getAvailableLanguages()
          This method returns a list of all languages available on the current site/repository.
 ContentVO getBoundContent(java.lang.String structureBindningName)
          The method returns a single ContentVO-objects that is the bound content of named binding.
 java.util.List getBoundContents(java.lang.String structureBindningName)
          The method returns a list of ContentVO-objects that is the bound content of named binding.
 java.util.List getBoundFolderContents(java.lang.Integer siteNodeId, java.lang.String structureBindningName, boolean searchRecursive, java.lang.String sortAttribute, java.lang.String sortOrder)
          The method returns a list of ContentVO-objects that is children to the bound content of named binding on the siteNode sent in.
 java.util.List getBoundFolderContents(java.lang.String structureBindningName, boolean searchRecursive, java.lang.String sortAttribute, java.lang.String sortOrder)
          The method returns a list of ContentVO-objects that is children to the bound content of named binding.
 WebPage getBoundPage(java.lang.String structureBindningName, int position)
          The method returns a list of WebPage-objects that is the bound sitenodes of named binding.
 java.util.List getBoundPages(java.lang.Integer siteNodeId, java.lang.String structureBindningName)
          This methods get a list of bound pages with the structureBindningName sent in which resides on the siteNodeId sent in.
 java.util.List getBoundPages(java.lang.Integer siteNodeId, java.lang.String structureBindningName, boolean escapeHTML)
           
 java.util.List getBoundPages(java.lang.Integer siteNodeId, java.lang.String structureBindningName, boolean escapeHTML, boolean hideUnauthorizedPages)
          This methods get a list of bound pages with the structureBindningName sent in which resides on the siteNodeId sent in.
 java.util.List getBoundPages(java.lang.String structureBindningName)
          The method returns a list of WebPage-objects that is the bound sitenodes of named binding.
 java.util.List getBoundPages(java.lang.String structureBindningName, boolean escapeHTML)
          The method returns a list of WebPage-objects that is the bound sitenodes of named binding.
 java.util.List getBoundPages(java.lang.String structureBindningName, boolean escapeHTML, boolean hideUnauthorizedPages)
          The method returns a list of WebPage-objects that is the bound sitenodes of named binding.
 BrowserBean getBrowserBean()
          Getter for the browserBean which supplies information about the users browser, OS and other stuff.
 java.lang.String getCategoryPath(java.lang.Integer categoryId)
          This method gets the full path/name of a given categoryId.
 ChartHelper getChartHelper()
          This method gets the math utility.
 java.util.Collection getChildContents(java.lang.Integer contentId, boolean includeFolders)
          This method gets the children of a content.
 java.util.List getChildContents(java.lang.Integer contentId, boolean searchRecursive, java.lang.String sortAttribute, java.lang.String sortOrder)
          The method returns a list of ContentVO-objects that is children to the bound content sent in.
 java.util.List getChildContents(java.lang.Integer contentId, boolean searchRecursive, java.lang.String sortAttribute, java.lang.String sortOrder, boolean includeFolders)
          The method returns a list of ContentVO-objects that is children to the bound content sent in.
 java.util.List getChildPages()
          The method returns a list of WebPage-objects that is the children of the current siteNode.
 java.util.List getChildPages(boolean escapeHTML)
          The method returns a list of WebPage-objects that is the children of the current siteNode.
 java.util.List getChildPages(boolean escapeHTML, boolean hideUnauthorizedPages)
          The method returns a list of WebPage-objects that is the children of the current siteNode.
 java.util.List getChildPages(java.lang.Integer siteNodeId)
          The method returns a list of WebPage-objects that is the children of the given siteNode.
 java.util.List getChildPages(java.lang.Integer siteNodeId, boolean escapeHTML)
          The method returns a list of WebPage-objects that is the children of the given siteNode.
 java.util.List getChildPages(java.lang.Integer siteNodeId, boolean escapeHTML, boolean hideUnauthorizedPages)
          The method returns a list of WebPage-objects that is the children of the given siteNode.
 java.util.List getChildPages(java.lang.Integer siteNodeId, java.lang.String sortAttribute, java.lang.String sortOrder)
          The method returns a list of WebPage-objects that is the children of the given siteNode.
 java.util.List getChildPages(java.lang.Integer siteNodeId, java.lang.String sortAttribute, java.lang.String sortOrder, boolean hideUnauthorizedPages)
          The method returns a list of WebPage-objects that is the children of the given siteNode.
 java.util.List getChildPages(java.lang.Integer siteNodeId, java.lang.String sortAttribute, java.lang.String sortOrder, boolean escapeHTML, boolean hideUnauthorizedPages)
          The method returns a list of WebPage-objects that is the children of the given siteNode.
 java.util.List getChildPages(java.lang.String structureBindingName)
          The method returns a list of WebPage-objects that is the children of the given siteNode.
 java.util.List getChildPages(java.lang.String structureBindingName, boolean escapeHTML)
          The method returns a list of WebPage-objects that is the children of the given siteNode.
 java.util.List getChildPages(java.lang.String structureBindingName, boolean escapeHTML, boolean hideUnauthorizedPages)
          The method returns a list of WebPage-objects that is the children of the given siteNode.
 ColorHelper getColorHelper()
          This method gets the color utility.
 ComponentLogic getComponentLogic()
          This method gets a component logic helper object.
 ContentVO getContent()
          Getter for the current content
 ContentVO getContent(java.lang.Integer contentId)
          Getter for the current content
 java.lang.String getContentAttribute(ContentVersionVO version, java.lang.String attributeName)
          Finds an attribute on the provided ContentVersion.
 java.lang.String getContentAttribute(java.lang.Integer contentId, java.lang.Integer languageId, java.lang.String attributeName)
          This method deliveres a String with the content-attribute asked for in the language asked for.
 java.lang.String getContentAttribute(java.lang.Integer contentId, java.lang.Integer languageId, java.lang.String attributeName, boolean clean)
          This method is just a dummy method used to ensure that we can ensure to not get a decorated attribute value if OnSiteEdit is on.
 java.lang.String getContentAttribute(java.lang.Integer contentId, java.lang.Integer languageId, java.lang.String attributeName, java.util.Set contentVersionId)
          This method deliveres a String with the content-attribute asked for in the language asked for.
 java.lang.String getContentAttribute(java.lang.Integer contentId, java.lang.String attributeName)
          This method deliveres a String with the content-attribute asked for.
 java.lang.String getContentAttribute(java.lang.Integer contentId, java.lang.String attributeName, boolean clean)
          This method deliveres a String with the content-attribute asked for a specific content and ensure not to get decorated attributes if EditOnSite is turned on.
 java.lang.String getContentAttribute(java.lang.String attributeName)
          This method deliveres a String with the content-attribute asked for if it exists in the content defined in the url-parameter contentId.
 java.lang.String getContentAttribute(java.lang.String attributeName, boolean clean)
          This method is just a dummy method used to ensure that we can ensure to not get a decorated attribute value if OnSiteEdit is on.
 java.lang.String getContentAttribute(java.lang.String contentBindningName, java.lang.String attributeName)
          This method deliveres a String with the content-attribute asked for.
 java.lang.String getContentAttribute(java.lang.String contentBindningName, java.lang.String attributeName, boolean clean)
          This method is just a dummy method used to ensure that we can ensure to not get a decorated attribute value if OnSiteEdit is on.
 java.lang.String getContentAttributeAsImageUrl(java.lang.Integer contentId, java.lang.String attributeName, int canvasWidth, int canvasHeight, int textStartPosX, int textStartPosY, int textWidth, int textHeight, java.lang.String fontName, int fontStyle, int fontSize, java.awt.Color foregroundColor, java.awt.Color backgroundColor)
           
 java.lang.String getContentAttributeAsImageUrl(java.lang.Integer contentId, java.lang.String attributeName, int canvasWidth, int canvasHeight, int textStartPosX, int textStartPosY, int textWidth, int textHeight, java.lang.String fontName, int fontStyle, int fontSize, java.awt.Color foregroundColor, java.awt.Color backgroundColor, java.lang.String backgroundImageUrl)
           
 java.lang.String getContentAttributeAsImageUrl(java.lang.Integer contentId, java.lang.String attributeName, int canvasWidth, int canvasHeight, int textStartPosX, int textStartPosY, int textWidth, int textHeight, java.lang.String fontName, int fontStyle, int fontSize, java.lang.String foregroundColor, java.lang.String backgroundColor)
           
 java.lang.String getContentAttributeAsImageUrl(java.lang.String contentBindningName, java.lang.String attributeName, int canvasWidth, int canvasHeight)
          This method deliveres a String with the content-attribute asked for generated as a gif-file.
 java.lang.String getContentAttributeAsImageUrl(java.lang.String contentBindningName, java.lang.String attributeName, int canvasWidth, int canvasHeight, int textStartPosX, int textStartPosY, int textWidth, int textHeight, java.lang.String fontName, int fontStyle, int fontSize, java.awt.Color foregroundColor, java.awt.Color backgroundColor)
           
 java.lang.String getContentAttributeAsImageUrl(java.lang.String contentBindningName, java.lang.String attributeName, int canvasWidth, int canvasHeight, int textStartPosX, int textStartPosY, int textWidth, int textHeight, java.lang.String fontName, int fontStyle, int fontSize, java.awt.Color foregroundColor, java.awt.Color backgroundColor, java.lang.String backgroundImageUrl)
           
 java.lang.String getContentAttributeAsImageUrl(java.lang.String contentBindningName, java.lang.String attributeName, int canvasWidth, int canvasHeight, int textStartPosX, int textStartPosY, int textWidth, int textHeight, java.lang.String fontName, int fontStyle, int fontSize, java.lang.String foregroundColor, java.lang.String backgroundColor)
           
 java.lang.String getContentAttributeAsImageUrl(java.lang.String contentBindningName, java.lang.String attributeName, int canvasWidth, int canvasHeight, int textStartPosX, int textStartPosY, int textWidth, int textHeight, java.lang.String fontName, int fontStyle, int fontSize, java.lang.String foregroundColor, java.lang.String backgroundColor, java.lang.String backgroundImageUrl)
           
 java.lang.String getContentAttributeAsPDFUrl(java.lang.Integer contentId, java.lang.String attributeName)
          This method uses the content-attribute to generate a pdf-file.
 java.lang.String getContentAttributeAsPDFUrl(java.lang.String contentBindningName, java.lang.String attributeName)
          This method uses the content-attribute to generate a pdf-file.
 java.util.Map getContentAttributes(java.lang.Integer contentId)
          This method delivers a map with all unparsed content attributes
 java.util.List getContentAttributes(java.lang.String schemaValue)
          This method returns a list of elements/attributes based on the contentType sent in.
 java.lang.String getContentAttributeUsingLanguageFallback(java.lang.Integer contentId, java.lang.String attributeName, boolean disableEditOnSight)
          This method deliveres a String with the content-attribute asked for in the language asked for.
 java.lang.String getContentAttributeValue(java.lang.Integer contentId, java.lang.Integer languageId, java.lang.String attributeName, boolean escapeHTML)
          This method deliveres a String with the content-attribute asked for in the language asked for.
 java.lang.String getContentAttributeValue(java.lang.Integer contentId, java.lang.String attributeName, boolean escapeHTML)
          This method deliveres a String with the content-attribute asked for in the language asked for.
 java.lang.String getContentAttributeValue(java.lang.Integer contentId, java.lang.String attributeName, boolean clean, boolean escapeHTML)
          This method deliveres a String with the content-attribute asked for in the language asked for.
 java.lang.String getContentAttributeWithReturningId(java.lang.Integer contentId, java.lang.Integer languageId, java.lang.String attributeName, boolean clean, java.util.Set contentVersionId)
          This method deliveres a String with the content-attribute asked for in the language asked for.
 java.lang.Integer getContentId()
          Getter for the contentId
 java.lang.Integer getContentId(java.lang.Integer siteNodeId, java.lang.String contentBindningName)
          Getter for bound contentId for a binding on a special siteNode
 java.lang.Integer getContentId(java.lang.String contentBindningName)
          Getter for bound contentId for a binding
 java.util.Collection getContentTypeDefinitionAssetKeys(java.lang.String schemaValue)
          This method deliveres a list of strings which represents all assetKeys defined for a contentTypeDefinition.
 java.util.Collection getContentTypeDefinitionCategories(java.lang.String schemaValue)
          This method deliveres a list all categories defined for a contentTypeDefinition.
 ContentTypeDefinitionVO getContentTypeDefinitionVO(java.lang.Integer contentId)
          The method returns the ContentTypeVO-objects of the given contentId.
 ContentTypeDefinitionVO getContentTypeDefinitionVO(java.lang.String name)
          The method returns the ContentTypeVO-object with the given name.
 ContentVersionVO getContentVersion(java.lang.Integer contentId)
          Getter for the most recent contentVersion on a content
 ContentVersionVO getContentVersion(java.lang.Integer contentId, java.lang.Integer languageId, boolean useLanguageFallback)
          Getter for the most recent contentVersion on a content
 java.util.List getContentVersionsByCategory(java.lang.Integer categoryId, java.lang.String attributeName)
          This method gets the content related to a category
 java.lang.String getCookie(java.lang.String cookieName)
          This method gets a cookie.
 java.lang.String getCurrentPagePath()
          This method constructs a string representing the path to the page with respect to where in the structure the page is.
 java.lang.String getCurrentPageUrl()
          This method deliveres a new url pointing to the same address as now but in the language corresponding to the code sent in.
 org.exolab.castor.jdo.Database getDatabase()
          Gets the transaction the controller should work within.
 DatabaseWrapper getDatabaseWrapper()
           
 DeliveryContext getDeliveryContext()
           
 DesEncryptionHelper getDesEncryptionHelper()
          This method gets the DesEncryptionHelper.
 java.lang.String getDigitalAssetBaseUrl()
          This method returns the base url for the digital assets.
 java.lang.Integer getDigitalAssetId(java.lang.Integer contentId, java.lang.Integer languageId, java.lang.String assetKey)
          This method returns the Id the digital assets.
 java.lang.Integer getDigitalAssetId(java.lang.Integer contentId, java.lang.String assetKey)
          This method returns the Id the digital assets.
 java.lang.String getEditOnSightTag(java.lang.Integer contentId, java.lang.Integer languageId, java.lang.String attributeName, java.lang.String html, boolean showInPublishedMode)
          This method adds the neccessairy html to a output for it to be editable.
 java.lang.String getEditOnSightTag(java.lang.Integer contentId, java.lang.String attributeName, java.lang.String html, boolean showInPublishedMode)
          This method adds the neccessairy html to a output for it to be editable.
 java.lang.String getEncodedUrl(java.lang.String s, java.lang.String enc)
           
 FontHelper getFontHelper()
          This method gets the color utility.
 java.util.List getFormAttributes(java.lang.Integer contentId, java.lang.String attributeName)
          This method returns a list of form elements/attributes based on the schema sent in.
 java.util.List getFormAttributes(java.lang.String contentBindningName, java.lang.String attributeName)
          This method returns a list of form elements/attributes based on the schema sent in.
 FormHelper getFormHelper()
          This method gets the form utility.
 java.lang.Object getFromContext(java.lang.String name)
          Gets objects from the context
 boolean getHasLocalizedVersion(java.lang.Integer contentId)
          This method return true if a localized version with the current language exist
 boolean getHasPrincipalGroup(InfoGluePrincipal infoGluePrincipal, java.lang.String groupName)
           
 boolean getHasPrincipalRole(InfoGluePrincipal infoGluePrincipal, java.lang.String roleName)
           
 boolean getHasUserContentAccess(java.lang.Integer contentId)
          This method return true if the user logged in has access to the content sent in.
 boolean getHasUserContentAccess(java.lang.Integer contentId, java.lang.String action)
          This method return true if the user logged in has access to do the action on the content sent in.
 boolean getHasUserPageAccess(java.lang.Integer siteNodeId)
          This method return true if the user logged in has access to the siteNode sent in.
 boolean getHasUserPageAccess(java.lang.Integer siteNodeId, java.lang.String interceptionPointName)
          This method return true if the user logged in has access to the siteNode sent in.
 boolean getHasUserPageWriteAccess(java.lang.Integer siteNodeId)
          This method return true if the user logged in has access to the siteNode sent in.
 HttpHelper getHTTPHelper()
          This method gets the math utility.
 javax.servlet.http.HttpServletRequest getHttpServletRequest()
          Getter for request-object
 InfoGlueWebServices getInfoGlueWebServiceHelper()
          This method gets the webservice utility which has special api:s to call the infoglue system.
 java.lang.String getInlineAssetUrl(java.lang.Integer contentId, java.lang.String assetKey)
          This method deliveres a String with the URL to the digital asset asked for.
 java.lang.String getInlineAssetUrl(java.lang.String assetKey)
          This method deliveres a String with the URL to the digital asset asked for.
 boolean getIsCurrentSiteNode(java.lang.Integer siteNodeId)
          This method helps us find out if the current site node is the same as the one sent in.
 boolean getIsDecorated()
          A method to check if the current pagenode is decorated with EditOnSight or not.
 boolean getIsEditOnSightDisabled()
          This method returns true if the page in question (ie sitenode) has page-caching disabled.
 boolean getIsInPageComponentMode()
          This method returns true if the user is in component editor mode.
 boolean getIsPageCacheDisabled()
          This method returns true if the if the page in question (ie sitenode) has page-caching disabled.
 boolean getIsPageProtected()
          This method returns true if the page in question (ie sitenode) has it's protected property enabled.
 boolean getIsParentToCurrent(java.lang.Integer siteNodeId)
          This method helps us find out if the current site node is the same or a child to the sent in one.
 LanguageVO getLanguage(java.lang.Integer languageId)
          This method supplies a method to get the locale of the language currently in use.
 LanguageVO getLanguage(java.lang.String languageCode)
          This method supplies a method to get the locale of the language currently in use.
 java.util.Locale getLanguageCode(java.lang.Integer languageId)
          This method supplies a method to get the locale of the language sent in.
 java.lang.Integer getLanguageId()
          Getter for the languageId
 java.util.Locale getLocale()
          This method supplies a method to get the locale of the language currently in use.
 java.util.List getLocalizedBoundPages(java.lang.String structureBindningName)
          The method returns a list of WebPage-objects that is the bound sitenodes of named binding.
 java.lang.String getLogoutURL()
          This method returns the logout url.
 java.util.List getMatchingContents(java.lang.String contentTypeDefinitionNamesString, java.lang.String categoryConditionString, boolean useLanguageFallback)
          This method searches for all contents matching
 java.util.List getMatchingContents(java.lang.String contentTypeDefinitionNamesString, java.lang.String categoryConditionString, java.lang.String freeText, java.util.List freeTextAttributeNames, java.util.Date fromDate, java.util.Date toDate, boolean useLanguageFallback)
          This method searches for all contents matching
 MathHelper getMathHelper()
          This method gets the math utility.
 java.lang.String getMetaInfoContentAttribute(java.lang.Integer contentId, java.lang.Integer languageId, java.lang.String attributeName)
          This method deliveres a String with the content-attribute asked for in the language asked for.
 java.lang.String getMetaInfoContentAttribute(java.lang.Integer contentId, java.lang.Integer languageId, java.lang.String attributeName, boolean clean)
          This method is just a dummy method used to ensure that we can ensure to not get a decorated attribute value if OnSiteEdit is on.
 java.lang.Integer getMetaInformationContentId()
          This method gets the meta information of the current sitenode.
 java.lang.Integer getMetaInformationContentId(java.lang.Integer siteNodeId)
          This method gets the meta information of a particular sitenode.
 java.util.List getNodeAvailableLanguages()
          Deprecated. - Use the new getPageLanguages instead
 java.util.List getNodeAvailableLanguages(java.lang.Integer siteNodeId)
          Deprecated. - Use the new getPageLanguages instead
 java.text.NumberFormat getNumberFormatHelper()
          This method gets the NumberFormat instance with the proper locale.
 ObjectConverter getObjectConverter()
          This method gets the object converter utility.
 java.lang.Object getObjectWithName(java.lang.String classname)
           
 java.lang.Integer getOperatingMode()
          This method returns which mode the delivery-engine is running in.
 java.lang.String getOriginalFullURL()
          This method returns the exact full url from the original request - not modified
 java.lang.String getOriginalQueryString()
          This method returns the exact querystring from the original request - not modified
 java.lang.String getOriginalURL()
          This method returns the exact full url excluding query string from the original request - not modified
 java.lang.String getPageAsDigitalAssetUrl(java.lang.Integer siteNodeId, java.lang.Integer languageId, java.lang.Integer contentId, java.lang.String fileSuffix, boolean cacheUrl)
          This method calls an page and stores it as an digitalAsset - that way one can avoid having to serve javascript-files and css-files through InfoGlue.
 java.lang.String getPageBaseUrl()
          This method deliveres a String with the URL to the page asked for.
 java.lang.String getPageBaseUrl(java.lang.String structureBindningName)
          This method deliveres a String with the URL to the page asked for.
 java.lang.String getPageContentType()
          This method returns the contenttype this page should return.
 java.util.List getPageLanguages()
          This method returns a list of all languages available on the current sitenode.
 java.util.List getPageLanguages(java.lang.Integer siteNodeId)
          This method returns a list of all languages available on the current sitenode.
 java.lang.String getPageNavTitle(java.lang.Integer siteNodeId)
          This method deliveres a String with the Navigation title the page asked for has.
 java.lang.String getPageNavTitle(java.lang.Integer siteNodeId, boolean escapeHTML)
          This method deliveres a String with the Navigation title the page asked for has.
 java.lang.String getPageNavTitle(java.lang.String structureBindningName)
          This method deliveres a String with the Navigation title the page asked for has.
 java.lang.String getPageNavTitle(java.lang.String structureBindningName, boolean escapeHTML)
          This method deliveres a String with the Navigation title the page asked for has.
 java.lang.String getPageNavTitle(java.lang.String structureBindningName, int index)
          This method deliveres a String with the Navigation title the page asked for has.
 java.lang.String getPageNavTitle(java.lang.String structureBindningName, int index, boolean escapeHTML)
          This method deliveres a String with the Navigation title the page asked for has.
 java.lang.String getPageTitle()
          This method deliveres a String with the Navigation title the page the user are on has.
 java.lang.String getPageUrl(java.lang.Integer siteNodeId, java.lang.Integer languageId, java.lang.Integer contentId)
          This method deliveres a new url pointing to the same address as now but with new parameters.
 java.lang.String getPageUrl(java.lang.String structureBindningName)
          This method deliveres a String with the URL to the page asked for.
 java.lang.String getPageUrl(java.lang.String structureBindningName, java.lang.Integer contentId)
          This method deliveres a String with the URL to the page asked for.
 java.lang.String