|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infoglue.deliver.controllers.kernel.impl.simple.ComponentLogic
public class ComponentLogic
| Constructor Summary | |
|---|---|
ComponentLogic(TemplateController templateController,
InfoGlueComponent infoGlueComponent)
|
|
| Method Summary | |
|---|---|
java.util.Map |
AgetInheritedComponentProperty(InfoGlueComponent component,
java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
This method gets a property from the component and if not found there checks in parent components. |
java.lang.String |
getAssetKey(java.util.Map property)
|
java.util.Collection |
getAssets(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.util.Collection |
getAssets(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getAssetThumbnailUrl(java.lang.Integer contentId,
int width,
int height)
|
java.lang.String |
getAssetThumbnailUrl(java.lang.Integer contentId,
java.lang.String assetKey,
int width,
int height)
|
java.lang.String |
getAssetThumbnailUrl(java.lang.String propertyName,
int width,
int height)
|
java.lang.String |
getAssetThumbnailUrl(java.lang.String propertyName,
int width,
int height,
boolean useInheritance)
|
java.lang.String |
getAssetThumbnailUrl(java.lang.String propertyName,
int width,
int height,
boolean useInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getAssetThumbnailUrl(java.lang.String propertyName,
int width,
int height,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getAssetThumbnailUrl(java.lang.String propertyName,
java.lang.String assetKey,
int width,
int height)
|
java.lang.String |
getAssetThumbnailUrl(java.lang.String propertyName,
java.lang.String assetKey,
int width,
int height,
boolean useInheritance)
|
java.lang.String |
getAssetThumbnailUrl(java.lang.String propertyName,
java.lang.String assetKey,
int width,
int height,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.lang.String |
getAssetThumbnailUrl(java.lang.String propertyName,
java.lang.String assetKey,
int width,
int height,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getAssetUrl(java.lang.Integer contentId,
java.lang.String assetKey)
|
java.lang.String |
getAssetUrl(java.lang.String propertyName)
|
java.lang.String |
getAssetUrl(java.lang.String propertyName,
boolean useInheritance)
|
java.lang.String |
getAssetUrl(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.lang.String |
getAssetUrl(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getAssetUrl(java.lang.String propertyName,
java.lang.String assetKey)
|
java.lang.String |
getAssetUrl(java.lang.String propertyName,
java.lang.String assetKey,
boolean useInheritance)
|
java.lang.String |
getAssetUrl(java.lang.String propertyName,
java.lang.String assetKey,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.lang.String |
getAssetUrl(java.lang.String propertyName,
java.lang.String assetKey,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.util.List |
getAssignedCategories(java.lang.String propertyName,
java.lang.String categoryKey,
java.lang.Integer languageId,
boolean useInheritance,
boolean useLanguageFallback)
|
java.util.List |
getAssignedCategories(java.lang.String propertyName,
java.lang.String categoryKey,
java.lang.Integer languageId,
boolean useInheritance,
boolean useLanguageFallback,
boolean useRepositoryInheritance)
|
java.util.List |
getAssignedCategories(java.lang.String propertyName,
java.lang.String categoryKey,
java.lang.Integer languageId,
boolean useInheritance,
boolean useLanguageFallback,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.util.List |
getBoundCategoryContents(java.lang.String categoryAttribute,
java.lang.String typeAttribute)
The method returns a list of ContentVO-objects that are related to the category of named binding on the siteNode sent in. |
ContentVO |
getBoundContent(java.lang.Integer siteNodeId,
java.lang.String propertyName,
boolean useInheritance)
|
ContentVO |
getBoundContent(java.lang.String propertyName)
|
ContentVO |
getBoundContent(java.lang.String propertyName,
boolean useInheritance)
|
ContentVO |
getBoundContent(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
|
ContentVO |
getBoundContent(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.Integer |
getBoundContentId(java.lang.String propertyName)
|
java.lang.Integer |
getBoundContentId(java.lang.String propertyName,
boolean useInheritance)
|
java.lang.Integer |
getBoundContentId(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.lang.Integer |
getBoundContentId(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.util.List<ContentVO> |
getBoundContents(java.lang.Integer siteNodeId,
java.lang.String propertyName,
boolean useInheritance)
|
java.util.List<ContentVO> |
getBoundContents(java.util.Map property)
|
java.util.List |
getBoundContents(java.lang.String propertyName)
|
java.util.List |
getBoundContents(java.lang.String propertyName,
boolean useInheritance)
|
java.util.List |
getBoundContents(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.util.List |
getBoundContents(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.util.List |
getBoundFolderContents(java.lang.String propertyName,
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 propertyName,
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 of named binding on the siteNode sent in. |
java.util.List |
getBoundFolderContents(java.lang.String propertyName,
boolean searchRecursive,
java.lang.String sortAttribute,
java.lang.String sortOrder,
boolean includeFolders,
boolean useRepositoryInheritance)
|
java.util.List |
getBoundFolderContents(java.lang.String propertyName,
boolean searchRecursive,
java.lang.String sortAttribute,
java.lang.String sortOrder,
boolean includeFolders,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
WebPage |
getBoundPage(java.util.Map property)
|
WebPage |
getBoundPage(java.lang.String propertyName)
|
WebPage |
getBoundPage(java.lang.String propertyName,
boolean useInheritance)
This method returns a page bound to the component. |
WebPage |
getBoundPage(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
This method returns a page bound to the component. |
WebPage |
getBoundPage(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.util.List |
getBoundPages(java.util.Map property)
|
java.util.List |
getBoundPages(java.lang.String propertyName)
|
java.util.List |
getBoundPages(java.lang.String propertyName,
boolean useInheritance)
This method returns a list of pages bound to the component. |
java.util.List |
getBoundPages(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
This method returns a list of pages bound to the component. |
java.util.List |
getBoundPages(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
SiteNodeVO |
getBoundSiteNode(java.lang.Integer targetSiteNodeId,
java.lang.String propertyName,
boolean useInheritance)
This method returns a single page bound to the component on the given siteNode. |
SiteNodeVO |
getBoundSiteNode(java.lang.String propertyName,
boolean useInheritance)
This method returns a list of pages bound to the component. |
SiteNodeVO |
getBoundSiteNode(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
This method returns a list of pages bound to the component. |
SiteNodeVO |
getBoundSiteNode(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.util.List<SiteNodeVO> |
getBoundSiteNodes(java.lang.Integer targetSiteNodeId,
java.lang.String propertyName,
boolean useInheritance)
This method returns a single page bound to the component on the given siteNode. |
java.util.List<SiteNodeVO> |
getBoundSiteNodes(java.util.Map property)
|
java.util.List |
getChildComponents()
This method returns all components which are on slots under the current component. |
java.util.List |
getChildComponents(InfoGlueComponent component,
java.lang.String slotId)
This method returns all components which are on slots under the current component. |
java.util.List |
getChildComponents(java.lang.String slotId)
This method returns all components which are on a given slots under the current component. |
java.util.List |
getChildContents(java.lang.String propertyName)
This method returns a list of childContents using inheritence as default. |
java.util.List |
getChildContents(java.lang.String propertyName,
boolean useInheritance,
boolean searchRecursive,
java.lang.String sortAttribute,
java.lang.String sortOrder,
boolean includeFolders)
This method returns a list of childcontents. |
java.util.List |
getChildContents(java.lang.String propertyName,
boolean useInheritance,
boolean searchRecursive,
java.lang.String sortAttribute,
java.lang.String sortOrder,
boolean includeFolders,
boolean useRepositoryInheritance)
This method returns a list of childcontents. |
java.util.List |
getChildContents(java.lang.String propertyName,
boolean useInheritance,
boolean searchRecursive,
java.lang.String sortAttribute,
java.lang.String sortOrder,
boolean includeFolders,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.util.List |
getChildPages(java.lang.Integer siteNodeId)
This method returns a list of childpages. |
java.util.List |
getChildPages(java.lang.String propertyName)
This method returns a list of childpages using inheritence as default. |
java.util.List |
getChildPages(java.lang.String propertyName,
boolean useInheritance)
|
java.util.List |
getChildPages(java.lang.String propertyName,
boolean useInheritance,
boolean escapeHTML)
|
java.util.List |
getChildPages(java.lang.String propertyName,
boolean useInheritance,
boolean escapeHTML,
boolean hideUnauthorizedPages)
This method returns a list of childpages. |
java.util.List |
getChildPages(java.lang.String propertyName,
boolean useInheritance,
boolean escapeHTML,
boolean hideUnauthorizedPages,
boolean useRepositoryInheritance)
|
java.util.List |
getChildPages(java.lang.String propertyName,
boolean useInheritance,
boolean escapeHTML,
boolean hideUnauthorizedPages,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
ComponentDeliveryContext |
getComponentDeliveryContext()
Returns ComponentDeliveryContext |
java.util.Map |
getComponentProperty(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.String propertyName)
This method gets a property from the sitenode given . |
java.util.Map |
getComponentProperty(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.String propertyName,
boolean useInheritance)
This method gets a property from the sitenode given and also looks recursively upwards. |
java.lang.String |
getContentAttribute(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance)
|
java.lang.String |
getContentAttribute(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.lang.String |
getContentAttribute(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getContentAttribute(java.lang.String propertyName,
java.lang.String attributeName)
|
java.lang.String |
getContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight)
|
java.lang.String |
getContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance)
|
java.lang.String |
getContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.lang.String |
getContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getContentAttributeMapValue(java.lang.String propertyName,
java.lang.String attributeName,
java.lang.String keyName)
Returns a map value from a content attribute bound by a propertie. |
java.lang.Integer |
getContentId(java.util.Map property)
|
java.util.List |
getFormAttributes(java.lang.String propertyName,
java.lang.String attributeName)
|
java.util.List |
getFormAttributes(java.lang.String propertyName,
java.lang.String attributeName,
boolean useRepositoryInheritance)
|
java.util.List |
getFormAttributes(java.lang.String propertyName,
java.lang.String attributeName,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
boolean |
getHasDefinedProperty(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.String propertyName,
boolean useInheritance)
This method gets if a property is defined and available in the given page. |
InfoGlueComponent |
getInfoGlueComponent()
|
java.util.List |
getInheritedComponentProperties(java.lang.Integer siteNodeId,
java.lang.String propertyName,
boolean useInheritance)
This method gets a property from the component and if not found there checks in parent components. |
java.util.List |
getInheritedComponentProperties(java.lang.Integer siteNodeId,
java.lang.String propertyName,
boolean useInheritance,
boolean skipRepositoryInheritance)
This method gets a property from the component and if not found there checks in parent components. |
java.util.List |
getInheritedComponentProperties(java.lang.String propertyName,
boolean useInheritance)
This method gets a property from the component and if not found there checks in parent components. |
java.util.List |
getInheritedComponentProperties(java.lang.String propertyName,
boolean useInheritance,
boolean skipRepositoryInheritance)
This method gets a property from the component and if not found there checks in parent components. |
java.util.Map |
getInheritedComponentProperty(InfoGlueComponent component,
java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
This method gets a property from the component and if not found there checks in parent components. |
java.util.Map |
getInheritedComponentProperty(java.lang.Integer siteNodeId,
InfoGlueComponent component,
java.lang.String propertyName,
boolean useInheritance)
This method gets a property from the component and if not found there checks in parent components. |
java.lang.String |
getPageAsDigitalAssetUrl(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId,
java.lang.String fileSuffix)
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 |
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 |
getPageAsDigitalAssetUrl(java.lang.String propertyName)
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 |
getPageAsDigitalAssetUrl(java.lang.String propertyName,
boolean useInheritance,
java.lang.String fileSuffix)
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 |
getPageAsDigitalAssetUrl(java.lang.String propertyName,
boolean useInheritance,
java.lang.String fileSuffix,
boolean useRepositoryInheritance)
|
java.lang.String |
getPageAsDigitalAssetUrl(java.lang.String propertyName,
boolean useInheritance,
java.lang.String fileSuffix,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getPageAsDigitalAssetUrl(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.Integer contentId,
boolean useInheritance,
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 |
getPageAsDigitalAssetUrl(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.Integer contentId,
boolean useInheritance,
java.lang.String fileSuffix,
boolean cacheUrl,
boolean useRepositoryInheritance)
|
java.lang.String |
getPageAsDigitalAssetUrl(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.Integer contentId,
boolean useInheritance,
java.lang.String fileSuffix,
boolean cacheUrl,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
protected java.lang.String |
getPageComponentsString(TemplateController templateController,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId,
java.util.Set usedContentVersionId)
This method fetches the pageComponent structure from the metainfo content. |
java.lang.String |
getPageNavTitle(java.lang.Integer siteNodeId)
|
java.lang.String |
getPageNavTitle(java.lang.String propertyName)
|
java.lang.String |
getPageNavTitle(java.lang.String propertyName,
boolean useRepositoryInheritance)
|
java.lang.String |
getPageNavTitle(java.lang.String propertyName,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getPageUrl(java.lang.Integer siteNodeId)
|
java.lang.String |
getPageUrl(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
This method returns a url to the given page. |
java.lang.String |
getPageUrl(java.lang.String propertyName)
|
java.lang.String |
getPageUrl(java.lang.String propertyName,
boolean useInheritance)
|
java.lang.String |
getPageUrl(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.lang.String |
getPageUrl(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId)
|
java.lang.String |
getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId,
boolean useInheritance)
|
java.lang.String |
getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.lang.String |
getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId,
java.lang.Integer languageId,
boolean useInheritance)
|
java.lang.String |
getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId,
java.lang.Integer languageId,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.lang.String |
getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId,
java.lang.Integer languageId,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getParsedContentAttribute(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance)
|
java.lang.String |
getParsedContentAttribute(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.lang.String |
getParsedContentAttribute(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getParsedContentAttribute(java.lang.String propertyName,
java.lang.String attributeName)
|
java.lang.String |
getParsedContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance)
|
java.lang.String |
getParsedContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.lang.String |
getParsedContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getPropertyValue(java.lang.Integer siteNodeId,
java.lang.String propertyName,
boolean useLangaugeFallback,
boolean useInheritance)
|
java.lang.String |
getPropertyValue(java.lang.String propertyName)
|
java.lang.String |
getPropertyValue(java.lang.String propertyName,
boolean useLangaugeFallback)
|
java.lang.String |
getPropertyValue(java.lang.String propertyName,
boolean useLangaugeFallback,
boolean useInheritance)
|
java.lang.String |
getPropertyValue(java.lang.String propertyName,
boolean useLangaugeFallback,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.lang.String |
getPropertyValue(java.lang.String propertyName,
boolean useLangaugeFallback,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.util.List |
getRelatedPages(java.lang.String propertyName,
java.lang.String attributeName)
|
java.util.List |
getRelatedPages(java.lang.String propertyName,
java.lang.String attributeName,
boolean useInheritance)
|
java.util.List |
getRelatedPages(java.lang.String propertyName,
java.lang.String attributeName,
boolean useInheritance,
boolean useRepositoryInheritance)
|
java.util.List |
getRelatedPages(java.lang.String propertyName,
java.lang.String attributeName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
|
java.lang.String |
getRenderedTextUrl(java.lang.String text)
Renders a text to a PNG file, the preferences of the text rendering is taken from the deliver.properties. ie. fontrender.fontName=Arial |
java.lang.String |
getRenderedTextUrl(java.lang.String fontConfigPropertyName,
java.lang.String text)
Renders a text to a PNG file, the preferences of the text rendering is taken from the bound component content of the property. |
java.lang.String |
getRenderedTextUrl(java.lang.String fontConfigPropertyName,
java.lang.String text,
java.util.Map renderAttributes)
Renders a text to a PNG file, the preferences of the text rendering is taken from the bound component content of the property. |
java.lang.String |
getRenderedTextUrl(java.lang.String fontConfigPropertyName,
java.lang.String text,
java.lang.String renderAttributes)
Renders a text to a PNG file, the preferences of the text rendering is taken from the bound component content of the property. |
java.lang.Integer |
getSiteNodeId(java.util.Map property)
|
boolean |
getThreatFoldersAsContents()
|
boolean |
getUseEditOnSight()
|
boolean |
getUseInheritance()
|
void |
setThreatFoldersAsContents(boolean threatFoldersAsContents)
|
void |
setUseEditOnSight(boolean useEditOnSight)
|
void |
setUseInheritance(boolean useInheritance)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentLogic(TemplateController templateController,
InfoGlueComponent infoGlueComponent)
| Method Detail |
|---|
public java.util.List getBoundFolderContents(java.lang.String propertyName,
boolean searchRecursive,
java.lang.String sortAttribute,
java.lang.String sortOrder)
throws java.lang.Exception
propertyName - the name of the content binding propertysearchRecursive - if true the search is made recursivesortAttribute - the attribute to sort the resulting ListsortOrder - if desc sorting is descendend otherwise ascending.
java.lang.Exception - if an error occures
public java.util.List getBoundFolderContents(java.lang.String propertyName,
boolean searchRecursive,
java.lang.String sortAttribute,
java.lang.String sortOrder,
boolean includeFolders)
throws java.lang.Exception
propertyName - the name of the content binding propertysearchRecursive - if true the search is made recursivesortAttribute - the attribute to sort the rsulting ListsortOrder - if desc sorting is descendend otherwise ascending.includeFolders - true if the folders should be added to the List
java.lang.Exception - if an error occures
public java.util.List getBoundFolderContents(java.lang.String propertyName,
boolean searchRecursive,
java.lang.String sortAttribute,
java.lang.String sortOrder,
boolean includeFolders,
boolean useRepositoryInheritance)
throws java.lang.Exception
java.lang.Exception
public java.util.List getBoundFolderContents(java.lang.String propertyName,
boolean searchRecursive,
java.lang.String sortAttribute,
java.lang.String sortOrder,
boolean includeFolders,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
throws java.lang.Exception
java.lang.Exception
public java.util.List getBoundCategoryContents(java.lang.String categoryAttribute,
java.lang.String typeAttribute)
throws java.lang.Exception
java.lang.Exception
public java.util.Collection getAssets(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
throws java.lang.Exception
java.lang.Exception
public java.util.Collection getAssets(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetUrl(java.lang.String propertyName)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetUrl(java.lang.String propertyName,
boolean useInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetUrl(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetUrl(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetUrl(java.lang.String propertyName,
java.lang.String assetKey)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetUrl(java.lang.String propertyName,
java.lang.String assetKey,
boolean useInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetUrl(java.lang.String propertyName,
java.lang.String assetKey,
boolean useInheritance,
boolean useRepositoryInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetUrl(java.lang.String propertyName,
java.lang.String assetKey,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetThumbnailUrl(java.lang.String propertyName,
int width,
int height)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetThumbnailUrl(java.lang.String propertyName,
int width,
int height,
boolean useInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetThumbnailUrl(java.lang.String propertyName,
int width,
int height,
boolean useInheritance,
boolean useStructureInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetThumbnailUrl(java.lang.String propertyName,
int width,
int height,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetThumbnailUrl(java.lang.String propertyName,
java.lang.String assetKey,
int width,
int height)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetThumbnailUrl(java.lang.String propertyName,
java.lang.String assetKey,
int width,
int height,
boolean useInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetThumbnailUrl(java.lang.String propertyName,
java.lang.String assetKey,
int width,
int height,
boolean useInheritance,
boolean useRepositoryInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetThumbnailUrl(java.lang.String propertyName,
java.lang.String assetKey,
int width,
int height,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetThumbnailUrl(java.lang.Integer contentId,
int width,
int height)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetThumbnailUrl(java.lang.Integer contentId,
java.lang.String assetKey,
int width,
int height)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetUrl(java.lang.Integer contentId,
java.lang.String assetKey)
public java.lang.String getContentAttribute(java.lang.String propertyName,
java.lang.String attributeName)
public java.lang.String getContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight)
public java.util.List getAssignedCategories(java.lang.String propertyName,
java.lang.String categoryKey,
java.lang.Integer languageId,
boolean useInheritance,
boolean useLanguageFallback)
public java.util.List getAssignedCategories(java.lang.String propertyName,
java.lang.String categoryKey,
java.lang.Integer languageId,
boolean useInheritance,
boolean useLanguageFallback,
boolean useRepositoryInheritance)
public java.util.List getAssignedCategories(java.lang.String propertyName,
java.lang.String categoryKey,
java.lang.Integer languageId,
boolean useInheritance,
boolean useLanguageFallback,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.lang.String getContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance)
public java.lang.String getContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance)
public java.lang.String getContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.lang.String getContentAttribute(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance)
public java.lang.String getContentAttribute(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance)
public java.lang.String getContentAttribute(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.lang.String getParsedContentAttribute(java.lang.String propertyName,
java.lang.String attributeName)
public java.lang.String getParsedContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance)
public java.lang.String getParsedContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance)
public java.lang.String getParsedContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.lang.String getParsedContentAttribute(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance)
public java.lang.String getParsedContentAttribute(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance)
public java.lang.String getParsedContentAttribute(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.util.List getFormAttributes(java.lang.String propertyName,
java.lang.String attributeName)
public java.util.List getFormAttributes(java.lang.String propertyName,
java.lang.String attributeName,
boolean useRepositoryInheritance)
public java.util.List getFormAttributes(java.lang.String propertyName,
java.lang.String attributeName,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.lang.String getPropertyValue(java.lang.String propertyName)
throws SystemException
SystemException
public java.lang.String getPropertyValue(java.lang.String propertyName,
boolean useLangaugeFallback)
throws SystemException
SystemException
public java.lang.String getPropertyValue(java.lang.String propertyName,
boolean useLangaugeFallback,
boolean useInheritance)
throws SystemException
SystemException
public java.lang.String getPropertyValue(java.lang.String propertyName,
boolean useLangaugeFallback,
boolean useInheritance,
boolean useRepositoryInheritance)
throws SystemException
SystemException
public java.lang.String getPropertyValue(java.lang.String propertyName,
boolean useLangaugeFallback,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
throws SystemException
SystemException
public java.lang.String getPropertyValue(java.lang.Integer siteNodeId,
java.lang.String propertyName,
boolean useLangaugeFallback,
boolean useInheritance)
throws SystemException
SystemExceptionpublic ContentVO getBoundContent(java.lang.String propertyName)
public ContentVO getBoundContent(java.lang.String propertyName,
boolean useInheritance)
public ContentVO getBoundContent(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
public ContentVO getBoundContent(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public ContentVO getBoundContent(java.lang.Integer siteNodeId,
java.lang.String propertyName,
boolean useInheritance)
public java.util.List<ContentVO> getBoundContents(java.lang.Integer siteNodeId,
java.lang.String propertyName,
boolean useInheritance)
public java.lang.Integer getBoundContentId(java.lang.String propertyName)
public java.lang.Integer getBoundContentId(java.lang.String propertyName,
boolean useInheritance)
public java.lang.Integer getBoundContentId(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
public java.lang.Integer getBoundContentId(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.util.List getBoundContents(java.lang.String propertyName)
public java.util.List getBoundContents(java.lang.String propertyName,
boolean useInheritance)
public java.util.List getBoundContents(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
public java.util.List getBoundContents(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.util.List getChildContents(java.lang.String propertyName)
public java.util.List getChildContents(java.lang.String propertyName,
boolean useInheritance,
boolean searchRecursive,
java.lang.String sortAttribute,
java.lang.String sortOrder,
boolean includeFolders)
public java.util.List getChildContents(java.lang.String propertyName,
boolean useInheritance,
boolean searchRecursive,
java.lang.String sortAttribute,
java.lang.String sortOrder,
boolean includeFolders,
boolean useRepositoryInheritance)
public java.util.List getChildContents(java.lang.String propertyName,
boolean useInheritance,
boolean searchRecursive,
java.lang.String sortAttribute,
java.lang.String sortOrder,
boolean includeFolders,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public WebPage getBoundPage(java.lang.String propertyName)
public WebPage getBoundPage(java.lang.String propertyName,
boolean useInheritance)
public WebPage getBoundPage(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
public WebPage getBoundPage(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.util.List getBoundPages(java.lang.String propertyName)
public java.util.List getBoundPages(java.lang.String propertyName,
boolean useInheritance)
public java.util.List getBoundPages(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
public java.util.List getBoundPages(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public SiteNodeVO getBoundSiteNode(java.lang.String propertyName,
boolean useInheritance)
public SiteNodeVO getBoundSiteNode(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
public SiteNodeVO getBoundSiteNode(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public SiteNodeVO getBoundSiteNode(java.lang.Integer targetSiteNodeId,
java.lang.String propertyName,
boolean useInheritance)
public java.util.List<SiteNodeVO> getBoundSiteNodes(java.lang.Integer targetSiteNodeId,
java.lang.String propertyName,
boolean useInheritance)
public java.util.List getChildPages(java.lang.String propertyName)
public java.util.List getChildPages(java.lang.String propertyName,
boolean useInheritance)
public java.util.List getChildPages(java.lang.String propertyName,
boolean useInheritance,
boolean escapeHTML)
public java.util.List getChildPages(java.lang.String propertyName,
boolean useInheritance,
boolean escapeHTML,
boolean hideUnauthorizedPages)
public java.util.List getChildPages(java.lang.String propertyName,
boolean useInheritance,
boolean escapeHTML,
boolean hideUnauthorizedPages,
boolean useRepositoryInheritance)
public java.util.List getChildPages(java.lang.String propertyName,
boolean useInheritance,
boolean escapeHTML,
boolean hideUnauthorizedPages,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.util.List getChildPages(java.lang.Integer siteNodeId)
public java.lang.String getPageUrl(java.lang.String propertyName)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getPageUrl(java.lang.String propertyName,
boolean useInheritance)
public java.lang.String getPageUrl(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
public java.lang.String getPageUrl(java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.lang.String getPageUrl(java.lang.Integer siteNodeId)
public java.lang.String getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId)
public java.lang.String getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId,
boolean useInheritance)
public java.lang.String getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId,
boolean useInheritance,
boolean useRepositoryInheritance)
public java.lang.String getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.lang.String getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId,
java.lang.Integer languageId,
boolean useInheritance)
public java.lang.String getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId,
java.lang.Integer languageId,
boolean useInheritance,
boolean useRepositoryInheritance)
public java.lang.String getPageUrl(java.lang.String propertyName,
java.lang.Integer contentId,
java.lang.Integer languageId,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.lang.String getPageAsDigitalAssetUrl(java.lang.String propertyName)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getPageAsDigitalAssetUrl(java.lang.String propertyName,
boolean useInheritance,
java.lang.String fileSuffix)
public java.lang.String getPageAsDigitalAssetUrl(java.lang.String propertyName,
boolean useInheritance,
java.lang.String fileSuffix,
boolean useRepositoryInheritance)
public java.lang.String getPageAsDigitalAssetUrl(java.lang.String propertyName,
boolean useInheritance,
java.lang.String fileSuffix,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.lang.String getPageAsDigitalAssetUrl(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.Integer contentId,
boolean useInheritance,
java.lang.String fileSuffix,
boolean cacheUrl)
public java.lang.String getPageAsDigitalAssetUrl(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.Integer contentId,
boolean useInheritance,
java.lang.String fileSuffix,
boolean cacheUrl,
boolean useRepositoryInheritance)
public java.lang.String getPageAsDigitalAssetUrl(java.lang.String propertyName,
java.lang.Integer languageId,
java.lang.Integer contentId,
boolean useInheritance,
java.lang.String fileSuffix,
boolean cacheUrl,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.lang.String getPageAsDigitalAssetUrl(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId,
java.lang.String fileSuffix)
public java.lang.String getPageAsDigitalAssetUrl(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId,
java.lang.String fileSuffix,
boolean cacheUrl)
public java.lang.String getPageNavTitle(java.lang.String propertyName)
public java.lang.String getPageNavTitle(java.lang.String propertyName,
boolean useRepositoryInheritance)
public java.lang.String getPageNavTitle(java.lang.String propertyName,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.util.List getRelatedPages(java.lang.String propertyName,
java.lang.String attributeName)
public java.util.List getRelatedPages(java.lang.String propertyName,
java.lang.String attributeName,
boolean useInheritance)
public java.util.List getRelatedPages(java.lang.String propertyName,
java.lang.String attributeName,
boolean useInheritance,
boolean useRepositoryInheritance)
public java.util.List getRelatedPages(java.lang.String propertyName,
java.lang.String attributeName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.util.Map AgetInheritedComponentProperty(InfoGlueComponent component,
java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance)
public java.util.Map getInheritedComponentProperty(InfoGlueComponent component,
java.lang.String propertyName,
boolean useInheritance,
boolean useRepositoryInheritance,
boolean useStructureInheritance)
public java.util.Map getInheritedComponentProperty(java.lang.Integer siteNodeId,
InfoGlueComponent component,
java.lang.String propertyName,
boolean useInheritance)
public java.util.List getInheritedComponentProperties(java.lang.String propertyName,
boolean useInheritance)
public java.util.List getInheritedComponentProperties(java.lang.String propertyName,
boolean useInheritance,
boolean skipRepositoryInheritance)
public java.util.List getInheritedComponentProperties(java.lang.Integer siteNodeId,
java.lang.String propertyName,
boolean useInheritance)
public java.util.List getInheritedComponentProperties(java.lang.Integer siteNodeId,
java.lang.String propertyName,
boolean useInheritance,
boolean skipRepositoryInheritance)
public boolean getHasDefinedProperty(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.String propertyName,
boolean useInheritance)
public java.util.Map getComponentProperty(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.String propertyName,
boolean useInheritance)
public java.util.Map getComponentProperty(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.String propertyName)
public java.lang.String getPageUrl(java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
public java.lang.String getPageNavTitle(java.lang.Integer siteNodeId)
public java.util.List getChildComponents()
public java.util.List getChildComponents(java.lang.String slotId)
public java.util.List getChildComponents(InfoGlueComponent component,
java.lang.String slotId)
protected java.lang.String getPageComponentsString(TemplateController templateController,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId,
java.util.Set usedContentVersionId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exceptionpublic InfoGlueComponent getInfoGlueComponent()
public boolean getUseInheritance()
public void setUseInheritance(boolean useInheritance)
public boolean getUseEditOnSight()
public void setUseEditOnSight(boolean useEditOnSight)
public boolean getThreatFoldersAsContents()
public void setThreatFoldersAsContents(boolean threatFoldersAsContents)
public ComponentDeliveryContext getComponentDeliveryContext()
public java.lang.String getContentAttributeMapValue(java.lang.String propertyName,
java.lang.String attributeName,
java.lang.String keyName)
propertyName - a bound contentattributeName - a attribute in the contentkeyName - keyname in the propertyu, the text should be formed as a
standard java property file (key=val)
public java.lang.String getRenderedTextUrl(java.lang.String text)
text - The text to render
public java.lang.String getRenderedTextUrl(java.lang.String fontConfigPropertyName,
java.lang.String text)
fontConfigPropertyName - name of the bound component with font render
properties. If null property is ignored.text - the text to render.
public java.lang.String getRenderedTextUrl(java.lang.String fontConfigPropertyName,
java.lang.String text,
java.lang.String renderAttributes)
propertyName - name of the bound component with font render
properties. If null property is ignored.text - the text to renderrenderAttributes - render attributes in a commaseparated string ie.
"fontname=Arial,fontsize=12" to override the bound content
preferences
public java.lang.String getRenderedTextUrl(java.lang.String fontConfigPropertyName,
java.lang.String text,
java.util.Map renderAttributes)
propertyName - name of the bound component with font render
properties. If null property is ignored.text - the text to renderrenderAttributes - render attributes in a commaseparated string ie.
"fontname=Arial,fontsize=12" to override the bound content
preferences
public java.lang.Integer getContentId(java.util.Map property)
public java.lang.String getAssetKey(java.util.Map property)
public java.util.List<ContentVO> getBoundContents(java.util.Map property)
public java.lang.Integer getSiteNodeId(java.util.Map property)
public java.util.List<SiteNodeVO> getBoundSiteNodes(java.util.Map property)
public java.util.List getBoundPages(java.util.Map property)
public WebPage getBoundPage(java.util.Map property)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||