Class BaseDDMDisplay
java.lang.Object
com.liferay.dynamic.data.mapping.util.BaseDDMDisplay
- All Implemented Interfaces:
DDMDisplay
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetDefaultEditTemplateTitle(Locale locale) protected StringgetDefaultViewTemplateTitle(Locale locale) getDescription(Locale locale) getEditStructureDefaultValuesURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, DDMStructure structure, String redirectURL) getEditTemplateBackURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, long classNameId, long classPK, long resourceClassNameId, String portletResource) getEditTemplateTitle(long classNameId, Locale locale) getEditTemplateTitle(DDMStructure structure, DDMTemplate template, Locale locale) abstract Stringprotected ResourceBundlegetResourceBundle(Locale locale) getStructureName(Locale locale) long[]getTemplateClassNameIds(long classNameId) long[]getTemplateClassPKs(long companyId, long classNameId, long classPK) long[]getTemplateGroupIds(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean includeAncestorTemplates) longgetTemplateHandlerClassNameId(DDMTemplate template, long classNameId) getTemplateType(DDMTemplate template, Locale locale) getViewStructuresBackURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) getViewTemplatesBackURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, long classPK) getViewTemplatesTitle(DDMStructure structure, boolean controlPanel, boolean search, Locale locale) getViewTemplatesTitle(DDMStructure structure, Locale locale) protected StringgetViewTemplatesURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, long classNameId, long classPK, long resourceClassNameId) booleanisEnableSelectStructureLink(DDMStructure structure, long classPK) booleanisShowAddButton(com.liferay.portal.kernel.model.Group scopeGroup) booleanbooleanbooleanbooleanboolean
-
Constructor Details
-
BaseDDMDisplay
public BaseDDMDisplay()
-
-
Method Details
-
getAvailableFields
- Specified by:
getAvailableFieldsin interfaceDDMDisplay
-
getConfirmSelectStructureMessage
- Specified by:
getConfirmSelectStructureMessagein interfaceDDMDisplay
-
getConfirmSelectTemplateMessage
- Specified by:
getConfirmSelectTemplateMessagein interfaceDDMDisplay
-
getDefaultTabItem
- Specified by:
getDefaultTabItemin interfaceDDMDisplay
-
getDefaultTemplateLanguage
- Specified by:
getDefaultTemplateLanguagein interfaceDDMDisplay
-
getDescription
- Specified by:
getDescriptionin interfaceDDMDisplay
-
getEditStructureDefaultValuesURL
public String getEditStructureDefaultValuesURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, DDMStructure structure, String redirectURL) throws Exception - Specified by:
getEditStructureDefaultValuesURLin interfaceDDMDisplay- Throws:
Exception
-
getEditTemplateBackURL
public String getEditTemplateBackURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, long classNameId, long classPK, long resourceClassNameId, String portletResource) throws Exception - Specified by:
getEditTemplateBackURLin interfaceDDMDisplay- Throws:
Exception
-
getEditTemplateTitle
- Specified by:
getEditTemplateTitlein interfaceDDMDisplay
-
getEditTemplateTitle
- Specified by:
getEditTemplateTitlein interfaceDDMDisplay
-
getPortletId
-
getStorageType
- Specified by:
getStorageTypein interfaceDDMDisplay
-
getStructureName
- Specified by:
getStructureNamein interfaceDDMDisplay
-
getStructureType
- Specified by:
getStructureTypein interfaceDDMDisplay
-
getTabItems
- Specified by:
getTabItemsin interfaceDDMDisplay
-
getTemplateClassNameIds
public long[] getTemplateClassNameIds(long classNameId) - Specified by:
getTemplateClassNameIdsin interfaceDDMDisplay
-
getTemplateClassPKs
- Specified by:
getTemplateClassPKsin interfaceDDMDisplay- Throws:
Exception
-
getTemplateGroupIds
public long[] getTemplateGroupIds(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean includeAncestorTemplates) throws Exception - Specified by:
getTemplateGroupIdsin interfaceDDMDisplay- Throws:
Exception
-
getTemplateHandlerClassNameId
- Specified by:
getTemplateHandlerClassNameIdin interfaceDDMDisplay
-
getTemplateLanguageTypes
- Specified by:
getTemplateLanguageTypesin interfaceDDMDisplay
-
getTemplateMode
- Specified by:
getTemplateModein interfaceDDMDisplay
-
getTemplateType
- Specified by:
getTemplateTypein interfaceDDMDisplay
-
getTemplateType
- Specified by:
getTemplateTypein interfaceDDMDisplay
-
getTitle
- Specified by:
getTitlein interfaceDDMDisplay
-
getViewStructuresBackURL
public String getViewStructuresBackURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) throws Exception - Specified by:
getViewStructuresBackURLin interfaceDDMDisplay- Throws:
Exception
-
getViewTemplatesBackURL
public String getViewTemplatesBackURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, long classPK) throws Exception - Specified by:
getViewTemplatesBackURLin interfaceDDMDisplay- Throws:
Exception
-
getViewTemplatesExcludedColumnNames
- Specified by:
getViewTemplatesExcludedColumnNamesin interfaceDDMDisplay
-
getViewTemplatesTitle
public String getViewTemplatesTitle(DDMStructure structure, boolean controlPanel, boolean search, Locale locale) - Specified by:
getViewTemplatesTitlein interfaceDDMDisplay
-
getViewTemplatesTitle
- Specified by:
getViewTemplatesTitlein interfaceDDMDisplay
-
isEnableSelectStructureLink
- Specified by:
isEnableSelectStructureLinkin interfaceDDMDisplay
-
isShowAddButton
public boolean isShowAddButton(com.liferay.portal.kernel.model.Group scopeGroup) - Specified by:
isShowAddButtonin interfaceDDMDisplay
-
isShowBackURLInTitleBar
public boolean isShowBackURLInTitleBar()- Specified by:
isShowBackURLInTitleBarin interfaceDDMDisplay
-
isShowConfirmSelectStructure
public boolean isShowConfirmSelectStructure()- Specified by:
isShowConfirmSelectStructurein interfaceDDMDisplay
-
isShowConfirmSelectTemplate
public boolean isShowConfirmSelectTemplate()- Specified by:
isShowConfirmSelectTemplatein interfaceDDMDisplay
-
isShowStructureSelector
public boolean isShowStructureSelector()- Specified by:
isShowStructureSelectorin interfaceDDMDisplay
-
isVersioningEnabled
public boolean isVersioningEnabled()- Specified by:
isVersioningEnabledin interfaceDDMDisplay
-
getDefaultEditTemplateTitle
-
getDefaultViewTemplateTitle
-
getResourceBundle
-
getViewTemplatesURL
protected String getViewTemplatesURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, long classNameId, long classPK, long resourceClassNameId) throws Exception - Throws:
Exception
-