com.liferay.portlet.dynamicdatalists.util
Interface DDL
@ProviderType
public interface DDL
Method Summary |
JSONObject |
getRecordJSONObject(DDLRecord record)
|
JSONObject |
getRecordJSONObject(DDLRecord record,
boolean latestRecordVersion)
|
List<DDLRecord> |
getRecords(Hits hits)
|
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)
Deprecated. As of 7.0.0, with no direct replacement |
boolean |
isEditable(PortletPreferences preferences,
String portletId,
long groupId)
Deprecated. As of 7.0.0, with no direct replacement |
DDLRecord |
updateRecord(long recordId,
long recordSetId,
boolean mergeFields,
boolean checkPermission,
ServiceContext serviceContext)
|
DDLRecord |
updateRecord(long recordId,
long recordSetId,
boolean mergeFields,
ServiceContext serviceContext)
|
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
@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