Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatalists.util
Interface DDL

All Known Implementing Classes:
DDLImpl

public interface DDL


Method Summary
 void addAllReservedEls(Element rootElement, Map<String,String> tokens, DDLRecordSet recordSet)
           
 JSONObject getRecordJSONObject(DDLRecord record)
           
 JSONObject getRecordJSONObject(DDLRecord record, boolean latestRecordVersion)
           
 JSONArray getRecordSetJSONArray(DDLRecordSet recordSet)
           
 JSONArray getRecordsJSONArray(DDLRecordSet recordSet)
           
 JSONArray getRecordsJSONArray(List<DDLRecord> records)
           
 JSONArray getRecordsJSONArray(List<DDLRecord> records, boolean latestRecordVersion)
           
 String getTemplateContent(long ddmTemplateId, DDLRecordSet recordSet, ThemeDisplay themeDisplay, RenderRequest renderRequest, RenderResponse renderResponse)
           
 boolean isEditable(javax.servlet.http.HttpServletRequest request, String portletId, long groupId)
           
 boolean isEditable(PortletPreferences preferences, String portletId, long groupId)
           
 void sendRecordFileUpload(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DDLRecord record, String fieldName)
           
 void sendRecordFileUpload(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long recordId, String fieldName)
           
 DDLRecord updateRecord(long recordId, long recordSetId, boolean mergeFields, boolean checkPermission, ServiceContext serviceContext)
           
 DDLRecord updateRecord(long recordId, long recordSetId, boolean mergeFields, ServiceContext serviceContext)
           
 String uploadRecordFieldFile(DDLRecord record, String fieldName, ServiceContext serviceContext)
           
 

Method Detail

addAllReservedEls

void addAllReservedEls(Element rootElement,
                       Map<String,String> tokens,
                       DDLRecordSet recordSet)

getRecordJSONObject

JSONObject getRecordJSONObject(DDLRecord record)
                               throws Exception
Throws:
Exception

getRecordJSONObject

JSONObject getRecordJSONObject(DDLRecord record,
                               boolean latestRecordVersion)
                               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

sendRecordFileUpload

void sendRecordFileUpload(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response,
                          DDLRecord record,
                          String fieldName)
                          throws Exception
Throws:
Exception

sendRecordFileUpload

void sendRecordFileUpload(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response,
                          long recordId,
                          String fieldName)
                          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

uploadRecordFieldFile

String uploadRecordFieldFile(DDLRecord record,
                             String fieldName,
                             ServiceContext serviceContext)
                             throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3