Liferay 6.1.0-ce-ga1

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)
           
 Fields getFields(UploadPortletRequest uploadPortletRequest, long ddmStructureId)
           
 Fields getFields(UploadPortletRequest uploadPortletRequest, long ddmStructureId, long ddmTemplateId)
           
 String getRecordFileUploadPath(DDLRecord record)
           
 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)
           
 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)
           
 String storeRecordFieldFile(DDLRecord record, String fieldName, InputStream inputStream)
           
 DDLRecord updateRecord(UploadPortletRequest uploadPortletRequest, long recordId, long recordSetId, boolean mergeFields)
           
 DDLRecord updateRecord(UploadPortletRequest uploadPortletRequest, long recordId, long recordSetId, boolean mergeFields, boolean checkPermission)
           
 void uploadRecordFieldFile(DDLRecord record, String fieldName, UploadPortletRequest uploadPortletRequest, ServiceContext serviceContext)
           
 void uploadRecordFieldFiles(DDLRecord record, UploadPortletRequest uploadPortletRequest, ServiceContext serviceContext)
           
 

Method Detail

addAllReservedEls

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

getFields

Fields getFields(UploadPortletRequest uploadPortletRequest,
                 long ddmStructureId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getFields

Fields getFields(UploadPortletRequest uploadPortletRequest,
                 long ddmStructureId,
                 long ddmTemplateId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getRecordFileUploadPath

String getRecordFileUploadPath(DDLRecord record)

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

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

storeRecordFieldFile

String storeRecordFieldFile(DDLRecord record,
                            String fieldName,
                            InputStream inputStream)
                            throws Exception
Throws:
Exception

updateRecord

DDLRecord updateRecord(UploadPortletRequest uploadPortletRequest,
                       long recordId,
                       long recordSetId,
                       boolean mergeFields)
                       throws Exception
Throws:
Exception

updateRecord

DDLRecord updateRecord(UploadPortletRequest uploadPortletRequest,
                       long recordId,
                       long recordSetId,
                       boolean mergeFields,
                       boolean checkPermission)
                       throws Exception
Throws:
Exception

uploadRecordFieldFile

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

uploadRecordFieldFiles

void uploadRecordFieldFiles(DDLRecord record,
                            UploadPortletRequest uploadPortletRequest,
                            ServiceContext serviceContext)
                            throws Exception
Throws:
Exception

Liferay 6.1.0-ce-ga1