Liferay 6.2.0

com.liferay.portlet.dynamicdatalists.util
Interface DDL

All Known Implementing Classes:
DDLImpl

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  boolean isEditable(javax.servlet.http.HttpServletRequest request, String portletId, long groupId)
           
abstract  boolean isEditable(PortletPreferences preferences, String portletId, long groupId)
           
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

isEditable

boolean isEditable(javax.servlet.http.HttpServletRequest request,
                   String portletId,
                   long groupId)
                   throws Exception
Throws:
Exception

isEditable

boolean isEditable(PortletPreferences preferences,
                   String portletId,
                   long groupId)
                   throws Exception
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