|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.infoglue.deliver.controllers.kernel.impl.simple.ComponentLogic
| Constructor Summary | |
ComponentLogic(TemplateController templateController,
InfoGlueComponent infoGlueComponent)
|
|
| Method Summary | |
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,
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 |
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,
java.lang.String assetKey)
|
java.lang.String |
getAssetUrl(java.lang.String propertyName,
java.lang.String assetKey,
boolean useInheritance)
|
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.String propertyName)
|
ContentVO |
getBoundContent(java.lang.String propertyName,
boolean useInheritance)
|
java.lang.Integer |
getBoundContentId(java.lang.String propertyName)
|
java.lang.Integer |
getBoundContentId(java.lang.String propertyName,
boolean useInheritance)
|
java.util.List |
getBoundContents(java.lang.String propertyName)
|
java.util.List |
getBoundContents(java.lang.String propertyName,
boolean useInheritance)
|
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. |
WebPage |
getBoundPage(java.lang.String propertyName)
|
WebPage |
getBoundPage(java.lang.String propertyName,
boolean useInheritance)
This method returns a page bound to the component. |
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 |
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 |
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)
This method returns a list of childpages. |
ComponentDeliveryContext |
getComponentDeliveryContext()
|
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.util.List |
getFormAttributes(java.lang.String propertyName,
java.lang.String attributeName)
|
InfoGlueComponent |
getInfoGlueComponent()
|
java.util.Map |
getInheritedComponentProperty(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 |
getPageNavTitle(java.lang.Integer siteNodeId)
|
java.lang.String |
getPageNavTitle(java.lang.String propertyName)
|
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,
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,
java.lang.Integer languageId,
boolean useInheritance)
|
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 |
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.util.List |
getRelatedPages(java.lang.String propertyName,
java.lang.String attributeName)
|
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 |
equals, 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
java.lang.Exception
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
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.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,
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 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,
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.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.lang.String getContentAttribute(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)
public java.lang.String getParsedContentAttribute(java.lang.String propertyName,
java.lang.String attributeName,
boolean disableEditOnSight,
boolean useInheritance)
public java.util.List getFormAttributes(java.lang.String propertyName,
java.lang.String attributeName)
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
SystemExceptionpublic ContentVO getBoundContent(java.lang.String propertyName)
public ContentVO getBoundContent(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.util.List getBoundContents(java.lang.String propertyName)
public java.util.List getBoundContents(java.lang.String propertyName,
boolean useInheritance)
public WebPage getBoundPage(java.lang.String propertyName)
public WebPage getBoundPage(java.lang.String propertyName,
boolean useInheritance)
public java.util.List getBoundPages(java.lang.String propertyName)
public java.util.List getBoundPages(java.lang.String propertyName,
boolean useInheritance)
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 getChildPages(java.lang.String propertyName)
public java.util.List getChildPages(java.lang.String propertyName,
boolean useInheritance)
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.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,
java.lang.Integer languageId,
boolean useInheritance)
public java.lang.String getPageNavTitle(java.lang.String propertyName)
public java.util.List getRelatedPages(java.lang.String propertyName,
java.lang.String attributeName)
public java.util.Map getInheritedComponentProperty(InfoGlueComponent component,
java.lang.String propertyName,
boolean useInheritance)
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 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()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||