Liferay 6.2-ce-ga5

com.liferay.portlet.dynamicdatamapping.util
Class BaseDDMDisplay

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.util.BaseDDMDisplay
All Implemented Interfaces:
DDMDisplay

public abstract class BaseDDMDisplay
extends Object
implements DDMDisplay


Constructor Summary
BaseDDMDisplay()
           
 
Method Summary
 String getAddStructureActionId()
           
 String getAddTemplateActionId()
           
 String getAvailableFields()
           
protected  long getControlPanelPlid(LiferayPortletRequest liferayPortletRequest)
           
protected  String getDefaultEditTemplateTitle(Locale locale)
           
protected  String getDefaultViewTemplateTitle(Locale locale)
           
 String getEditStructureDefaultValuesURL(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, DDMStructure structure, String redirectURL, String backURL)
           
 String getEditTemplateBackURL(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, long classNameId, long classPK, String portletResource)
           
 String getEditTemplateTitle(DDMStructure structure, DDMTemplate template, Locale locale)
           
 String getEditTemplateTitle(long classNameId, Locale locale)
           
 String getResourceName(long classNameId)
           
 String getStorageType()
           
 String getStructureName(Locale locale)
           
 String getStructureType()
           
 long[] getTemplateClassNameIds(long classNameId)
           
 long[] getTemplateClassPKs(long companyId, long classNameId, long classPK)
           
 long[] getTemplateGroupIds(ThemeDisplay themeDisplay, boolean showGlobalScope)
           
 long getTemplateHandlerClassNameId(DDMTemplate template, long classNameId)
           
 Set<String> getTemplateLanguageTypes()
           
 String getTemplateMode()
           
 String getTemplateType()
           
 String getTemplateType(DDMTemplate template, Locale locale)
           
 String getViewTemplatesBackURL(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, long classPK)
           
 Set<String> getViewTemplatesExcludedColumnNames()
           
 String getViewTemplatesTitle(DDMStructure structure, boolean controlPanel, Locale locale)
           
 String getViewTemplatesTitle(DDMStructure structure, Locale locale)
           
protected  String getViewTemplatesURL(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, long classNameId, long classPK)
           
 boolean isShowAddStructureButton()
           
 boolean isShowStructureSelector()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.dynamicdatamapping.util.DDMDisplay
getPortletId, getResourceName
 

Constructor Detail

BaseDDMDisplay

public BaseDDMDisplay()
Method Detail

getAddStructureActionId

public String getAddStructureActionId()
Specified by:
getAddStructureActionId in interface DDMDisplay

getAddTemplateActionId

public String getAddTemplateActionId()
Specified by:
getAddTemplateActionId in interface DDMDisplay

getAvailableFields

public String getAvailableFields()
Specified by:
getAvailableFields in interface DDMDisplay

getEditStructureDefaultValuesURL

public String getEditStructureDefaultValuesURL(LiferayPortletRequest liferayPortletRequest,
                                               LiferayPortletResponse liferayPortletResponse,
                                               DDMStructure structure,
                                               String redirectURL,
                                               String backURL)
                                        throws Exception
Specified by:
getEditStructureDefaultValuesURL in interface DDMDisplay
Throws:
Exception

getEditTemplateBackURL

public String getEditTemplateBackURL(LiferayPortletRequest liferayPortletRequest,
                                     LiferayPortletResponse liferayPortletResponse,
                                     long classNameId,
                                     long classPK,
                                     String portletResource)
                              throws Exception
Specified by:
getEditTemplateBackURL in interface DDMDisplay
Throws:
Exception

getEditTemplateTitle

public String getEditTemplateTitle(DDMStructure structure,
                                   DDMTemplate template,
                                   Locale locale)
Specified by:
getEditTemplateTitle in interface DDMDisplay

getEditTemplateTitle

public String getEditTemplateTitle(long classNameId,
                                   Locale locale)
Specified by:
getEditTemplateTitle in interface DDMDisplay

getResourceName

public String getResourceName(long classNameId)
Specified by:
getResourceName in interface DDMDisplay

getStorageType

public String getStorageType()
Specified by:
getStorageType in interface DDMDisplay

getStructureName

public String getStructureName(Locale locale)
Specified by:
getStructureName in interface DDMDisplay

getStructureType

public String getStructureType()
Specified by:
getStructureType in interface DDMDisplay

getTemplateClassNameIds

public long[] getTemplateClassNameIds(long classNameId)
Specified by:
getTemplateClassNameIds in interface DDMDisplay

getTemplateClassPKs

public long[] getTemplateClassPKs(long companyId,
                                  long classNameId,
                                  long classPK)
                           throws Exception
Specified by:
getTemplateClassPKs in interface DDMDisplay
Throws:
Exception

getTemplateGroupIds

public long[] getTemplateGroupIds(ThemeDisplay themeDisplay,
                                  boolean showGlobalScope)
                           throws Exception
Specified by:
getTemplateGroupIds in interface DDMDisplay
Throws:
Exception

getTemplateHandlerClassNameId

public long getTemplateHandlerClassNameId(DDMTemplate template,
                                          long classNameId)
Specified by:
getTemplateHandlerClassNameId in interface DDMDisplay

getTemplateLanguageTypes

public Set<String> getTemplateLanguageTypes()
Specified by:
getTemplateLanguageTypes in interface DDMDisplay

getTemplateMode

public String getTemplateMode()
Specified by:
getTemplateMode in interface DDMDisplay

getTemplateType

public String getTemplateType()
Specified by:
getTemplateType in interface DDMDisplay

getTemplateType

public String getTemplateType(DDMTemplate template,
                              Locale locale)
Specified by:
getTemplateType in interface DDMDisplay

getViewTemplatesBackURL

public String getViewTemplatesBackURL(LiferayPortletRequest liferayPortletRequest,
                                      LiferayPortletResponse liferayPortletResponse,
                                      long classPK)
                               throws Exception
Specified by:
getViewTemplatesBackURL in interface DDMDisplay
Throws:
Exception

getViewTemplatesExcludedColumnNames

public Set<String> getViewTemplatesExcludedColumnNames()
Specified by:
getViewTemplatesExcludedColumnNames in interface DDMDisplay

getViewTemplatesTitle

public String getViewTemplatesTitle(DDMStructure structure,
                                    boolean controlPanel,
                                    Locale locale)
Specified by:
getViewTemplatesTitle in interface DDMDisplay

getViewTemplatesTitle

public String getViewTemplatesTitle(DDMStructure structure,
                                    Locale locale)
Specified by:
getViewTemplatesTitle in interface DDMDisplay

isShowAddStructureButton

public boolean isShowAddStructureButton()
Specified by:
isShowAddStructureButton in interface DDMDisplay

isShowStructureSelector

public boolean isShowStructureSelector()
Specified by:
isShowStructureSelector in interface DDMDisplay

getControlPanelPlid

protected long getControlPanelPlid(LiferayPortletRequest liferayPortletRequest)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getDefaultEditTemplateTitle

protected String getDefaultEditTemplateTitle(Locale locale)

getDefaultViewTemplateTitle

protected String getDefaultViewTemplateTitle(Locale locale)

getViewTemplatesURL

protected String getViewTemplatesURL(LiferayPortletRequest liferayPortletRequest,
                                     LiferayPortletResponse liferayPortletResponse,
                                     long classNameId,
                                     long classPK)
                              throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5