Class BaseDDMDisplay
java.lang.Object
com.liferay.dynamic.data.mapping.util.BaseDDMDisplay
- All Implemented Interfaces:
DDMDisplay
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getDefaultEditTemplateTitle
(Locale locale) protected String
getDefaultViewTemplateTitle
(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 String
protected ResourceBundle
getResourceBundle
(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) long
getTemplateHandlerClassNameId
(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 String
getViewTemplatesURL
(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, long classNameId, long classPK, long resourceClassNameId) boolean
isEnableSelectStructureLink
(DDMStructure structure, long classPK) boolean
isShowAddButton
(com.liferay.portal.kernel.model.Group scopeGroup) boolean
boolean
boolean
boolean
boolean
-
Constructor Details
-
BaseDDMDisplay
public BaseDDMDisplay()
-
-
Method Details
-
getAvailableFields
- Specified by:
getAvailableFields
in interfaceDDMDisplay
-
getConfirmSelectStructureMessage
- Specified by:
getConfirmSelectStructureMessage
in interfaceDDMDisplay
-
getConfirmSelectTemplateMessage
- Specified by:
getConfirmSelectTemplateMessage
in interfaceDDMDisplay
-
getDefaultTabItem
- Specified by:
getDefaultTabItem
in interfaceDDMDisplay
-
getDefaultTemplateLanguage
- Specified by:
getDefaultTemplateLanguage
in interfaceDDMDisplay
-
getDescription
- Specified by:
getDescription
in 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:
getEditStructureDefaultValuesURL
in 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:
getEditTemplateBackURL
in interfaceDDMDisplay
- Throws:
Exception
-
getEditTemplateTitle
- Specified by:
getEditTemplateTitle
in interfaceDDMDisplay
-
getEditTemplateTitle
- Specified by:
getEditTemplateTitle
in interfaceDDMDisplay
-
getPortletId
-
getStorageType
- Specified by:
getStorageType
in interfaceDDMDisplay
-
getStructureName
- Specified by:
getStructureName
in interfaceDDMDisplay
-
getStructureType
- Specified by:
getStructureType
in interfaceDDMDisplay
-
getTabItems
- Specified by:
getTabItems
in interfaceDDMDisplay
-
getTemplateClassNameIds
public long[] getTemplateClassNameIds(long classNameId) - Specified by:
getTemplateClassNameIds
in interfaceDDMDisplay
-
getTemplateClassPKs
- Specified by:
getTemplateClassPKs
in interfaceDDMDisplay
- Throws:
Exception
-
getTemplateGroupIds
public long[] getTemplateGroupIds(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean includeAncestorTemplates) throws Exception - Specified by:
getTemplateGroupIds
in interfaceDDMDisplay
- Throws:
Exception
-
getTemplateHandlerClassNameId
- Specified by:
getTemplateHandlerClassNameId
in interfaceDDMDisplay
-
getTemplateLanguageTypes
- Specified by:
getTemplateLanguageTypes
in interfaceDDMDisplay
-
getTemplateMode
- Specified by:
getTemplateMode
in interfaceDDMDisplay
-
getTemplateType
- Specified by:
getTemplateType
in interfaceDDMDisplay
-
getTemplateType
- Specified by:
getTemplateType
in interfaceDDMDisplay
-
getTitle
- Specified by:
getTitle
in interfaceDDMDisplay
-
getViewStructuresBackURL
public String getViewStructuresBackURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) throws Exception - Specified by:
getViewStructuresBackURL
in 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:
getViewTemplatesBackURL
in interfaceDDMDisplay
- Throws:
Exception
-
getViewTemplatesExcludedColumnNames
- Specified by:
getViewTemplatesExcludedColumnNames
in interfaceDDMDisplay
-
getViewTemplatesTitle
public String getViewTemplatesTitle(DDMStructure structure, boolean controlPanel, boolean search, Locale locale) - Specified by:
getViewTemplatesTitle
in interfaceDDMDisplay
-
getViewTemplatesTitle
- Specified by:
getViewTemplatesTitle
in interfaceDDMDisplay
-
isEnableSelectStructureLink
- Specified by:
isEnableSelectStructureLink
in interfaceDDMDisplay
-
isShowAddButton
public boolean isShowAddButton(com.liferay.portal.kernel.model.Group scopeGroup) - Specified by:
isShowAddButton
in interfaceDDMDisplay
-
isShowBackURLInTitleBar
public boolean isShowBackURLInTitleBar()- Specified by:
isShowBackURLInTitleBar
in interfaceDDMDisplay
-
isShowConfirmSelectStructure
public boolean isShowConfirmSelectStructure()- Specified by:
isShowConfirmSelectStructure
in interfaceDDMDisplay
-
isShowConfirmSelectTemplate
public boolean isShowConfirmSelectTemplate()- Specified by:
isShowConfirmSelectTemplate
in interfaceDDMDisplay
-
isShowStructureSelector
public boolean isShowStructureSelector()- Specified by:
isShowStructureSelector
in interfaceDDMDisplay
-
isVersioningEnabled
public boolean isVersioningEnabled()- Specified by:
isVersioningEnabled
in 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
-