com.liferay.portlet.dynamicdatalists.util
Interface DDL
public interface DDL
- Author:
- Eduardo Lundgren
|
Method Summary |
void |
addAllReservedEls(Element rootElement,
java.util.Map<java.lang.String,java.lang.String> tokens,
DDLRecordSet recordSet)
|
JSONObject |
getRecordJSONObject(DDLRecord record)
|
JSONObject |
getRecordJSONObject(DDLRecord record,
boolean latestRecordVersion)
|
JSONArray |
getRecordSetJSONArray(DDLRecordSet recordSet)
|
JSONArray |
getRecordsJSONArray(DDLRecordSet recordSet)
|
JSONArray |
getRecordsJSONArray(java.util.List<DDLRecord> records)
|
JSONArray |
getRecordsJSONArray(java.util.List<DDLRecord> records,
boolean latestRecordVersion)
|
java.lang.String |
getTemplateContent(long ddmTemplateId,
DDLRecordSet recordSet,
ThemeDisplay themeDisplay,
javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
|
void |
sendRecordFileUpload(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DDLRecord record,
java.lang.String fieldName)
|
void |
sendRecordFileUpload(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long recordId,
java.lang.String fieldName)
|
DDLRecord |
updateRecord(long recordId,
long recordSetId,
boolean mergeFields,
boolean checkPermission,
ServiceContext serviceContext)
|
DDLRecord |
updateRecord(long recordId,
long recordSetId,
boolean mergeFields,
ServiceContext serviceContext)
|
java.lang.String |
uploadRecordFieldFile(DDLRecord record,
java.lang.String fieldName,
ServiceContext serviceContext)
|
addAllReservedEls
void addAllReservedEls(Element rootElement,
java.util.Map<java.lang.String,java.lang.String> tokens,
DDLRecordSet recordSet)
getRecordJSONObject
JSONObject getRecordJSONObject(DDLRecord record)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRecordJSONObject
JSONObject getRecordJSONObject(DDLRecord record,
boolean latestRecordVersion)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRecordSetJSONArray
JSONArray getRecordSetJSONArray(DDLRecordSet recordSet)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRecordsJSONArray
JSONArray getRecordsJSONArray(DDLRecordSet recordSet)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRecordsJSONArray
JSONArray getRecordsJSONArray(java.util.List<DDLRecord> records)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRecordsJSONArray
JSONArray getRecordsJSONArray(java.util.List<DDLRecord> records,
boolean latestRecordVersion)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTemplateContent
java.lang.String getTemplateContent(long ddmTemplateId,
DDLRecordSet recordSet,
ThemeDisplay themeDisplay,
javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
throws java.lang.Exception
- Throws:
java.lang.Exception
sendRecordFileUpload
void sendRecordFileUpload(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DDLRecord record,
java.lang.String fieldName)
throws java.lang.Exception
- Throws:
java.lang.Exception
sendRecordFileUpload
void sendRecordFileUpload(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long recordId,
java.lang.String fieldName)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateRecord
DDLRecord updateRecord(long recordId,
long recordSetId,
boolean mergeFields,
boolean checkPermission,
ServiceContext serviceContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateRecord
DDLRecord updateRecord(long recordId,
long recordSetId,
boolean mergeFields,
ServiceContext serviceContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
uploadRecordFieldFile
java.lang.String uploadRecordFieldFile(DDLRecord record,
java.lang.String fieldName,
ServiceContext serviceContext)
throws java.lang.Exception
- Throws:
java.lang.Exception