Liferay 6.2.0

com.liferay.portlet.dynamicdatalists.util
Interface DDL

All Known Implementing Classes:
DDLImpl

@ProviderType
public interface DDL


Method Summary
abstract  JSONObject getRecordJSONObject(DDLRecord record)
           
abstract  JSONObject getRecordJSONObject(DDLRecord record, boolean latestRecordVersion)
           
abstract  List<DDLRecord> getRecords(Hits hits)
           
abstract  JSONArray getRecordSetJSONArray(DDLRecordSet recordSet)
           
abstract  JSONArray getRecordsJSONArray(DDLRecordSet recordSet)
           
abstract  JSONArray getRecordsJSONArray(List<DDLRecord> records)
           
abstract  JSONArray getRecordsJSONArray(List<DDLRecord> records, boolean latestRecordVersion)
           
abstract  String getTemplateContent(long ddmTemplateId, DDLRecordSet recordSet, ThemeDisplay themeDisplay, RenderRequest renderRequest, RenderResponse renderResponse)
           
abstract  String getTemplateContent(javax.servlet.jsp.PageContext pageContext, long ddmTemplateId, DDLRecordSet recordSet, ThemeDisplay themeDisplay, RenderRequest renderRequest, RenderResponse renderResponse)
          Taglib (JSTL) support in templates requires a PageContext instance; if it's null, objects for taglib support are not available in the template context.
abstract  boolean isEditable(javax.servlet.http.HttpServletRequest request, String portletId, long groupId)
          Deprecated. As of 7.0.0, with no direct replacement
abstract  boolean isEditable(PortletPreferences preferences, String portletId, long groupId)
          Deprecated. As of 7.0.0, with no direct replacement
abstract  DDLRecord updateRecord(long recordId, long recordSetId, boolean mergeFields, boolean checkPermission, ServiceContext serviceContext)
           
abstract  DDLRecord updateRecord(long recordId, long recordSetId, boolean mergeFields, ServiceContext serviceContext)
           
 

Method Detail

getRecordJSONObject

JSONObject getRecordJSONObject(DDLRecord record)
                               throws Exception
Throws:
Exception

getRecordJSONObject

JSONObject getRecordJSONObject(DDLRecord record,
                               boolean latestRecordVersion)
                               throws Exception
Throws:
Exception

getRecords

List<DDLRecord> getRecords(Hits hits)
                           throws Exception
Throws:
Exception

getRecordSetJSONArray

JSONArray getRecordSetJSONArray(DDLRecordSet recordSet)
                                throws Exception
Throws:
Exception

getRecordsJSONArray

JSONArray getRecordsJSONArray(DDLRecordSet recordSet)
                              throws Exception
Throws:
Exception

getRecordsJSONArray

JSONArray getRecordsJSONArray(List<DDLRecord> records)
                              throws Exception
Throws:
Exception

getRecordsJSONArray

JSONArray getRecordsJSONArray(List<DDLRecord> records,
                              boolean latestRecordVersion)
                              throws Exception
Throws:
Exception

getTemplateContent

String getTemplateContent(long ddmTemplateId,
                          DDLRecordSet recordSet,
                          ThemeDisplay themeDisplay,
                          RenderRequest renderRequest,
                          RenderResponse renderResponse)
                          throws Exception
Throws:
Exception

getTemplateContent

String getTemplateContent(javax.servlet.jsp.PageContext pageContext,
                          long ddmTemplateId,
                          DDLRecordSet recordSet,
                          ThemeDisplay themeDisplay,
                          RenderRequest renderRequest,
                          RenderResponse renderResponse)
                          throws Exception
Taglib (JSTL) support in templates requires a PageContext instance; if it's null, objects for taglib support are not available in the template context.

Throws:
Exception

isEditable

@Deprecated
boolean isEditable(javax.servlet.http.HttpServletRequest request,
                              String portletId,
                              long groupId)
                   throws Exception
Deprecated. As of 7.0.0, with no direct replacement

Throws:
Exception

isEditable

@Deprecated
boolean isEditable(PortletPreferences preferences,
                              String portletId,
                              long groupId)
                   throws Exception
Deprecated. As of 7.0.0, with no direct replacement

Throws:
Exception

updateRecord

DDLRecord updateRecord(long recordId,
                       long recordSetId,
                       boolean mergeFields,
                       boolean checkPermission,
                       ServiceContext serviceContext)
                       throws Exception
Throws:
Exception

updateRecord

DDLRecord updateRecord(long recordId,
                       long recordSetId,
                       boolean mergeFields,
                       ServiceContext serviceContext)
                       throws Exception
Throws:
Exception

Liferay 6.2.0