Liferay 7.0-ce-m3

com.liferay.portlet.dynamicdatalists.service
Class DDLRecordServiceUtil

java.lang.Object
  extended by com.liferay.portlet.dynamicdatalists.service.DDLRecordServiceUtil

@ProviderType
public class DDLRecordServiceUtil
extends Object

Provides the remote service utility for DDLRecord. This utility wraps DDLRecordServiceImpl and is the primary access point for service operations in application layer code running on a remote server. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
DDLRecordService, DDLRecordServiceBaseImpl, DDLRecordServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
DDLRecordServiceUtil()
           
 
Method Summary
static DDLRecord addRecord(long groupId, long recordSetId, int displayIndex, DDMFormValues ddmFormValues, ServiceContext serviceContext)
           
static DDLRecord addRecord(long groupId, long recordSetId, int displayIndex, Fields fields, ServiceContext serviceContext)
           
static DDLRecord addRecord(long groupId, long recordSetId, int displayIndex, Map<String,Serializable> fieldsMap, ServiceContext serviceContext)
           
static void deleteRecord(long recordId)
           
static DDLRecord deleteRecordLocale(long recordId, Locale locale, ServiceContext serviceContext)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static DDLRecord getRecord(long recordId)
           
static DDLRecordService getService()
           
static void revertRecord(long recordId, String version, ServiceContext serviceContext)
           
static void revertRecordVersion(long recordId, String version, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by #revertRecord(long, long, String, ServiceContext)
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(DDLRecordService service)
          Deprecated. As of 6.2.0
static DDLRecord updateRecord(long recordId, boolean majorVersion, int displayIndex, DDMFormValues ddmFormValues, ServiceContext serviceContext)
           
static DDLRecord updateRecord(long recordId, boolean majorVersion, int displayIndex, Fields fields, boolean mergeFields, ServiceContext serviceContext)
           
static DDLRecord updateRecord(long recordId, int displayIndex, Map<String,Serializable> fieldsMap, boolean mergeFields, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLRecordServiceUtil

public DDLRecordServiceUtil()
Method Detail

addRecord

public static DDLRecord addRecord(long groupId,
                                  long recordSetId,
                                  int displayIndex,
                                  DDMFormValues ddmFormValues,
                                  ServiceContext serviceContext)
                           throws PortalException
Throws:
PortalException

addRecord

public static DDLRecord addRecord(long groupId,
                                  long recordSetId,
                                  int displayIndex,
                                  Fields fields,
                                  ServiceContext serviceContext)
                           throws PortalException
Throws:
PortalException

addRecord

public static DDLRecord addRecord(long groupId,
                                  long recordSetId,
                                  int displayIndex,
                                  Map<String,Serializable> fieldsMap,
                                  ServiceContext serviceContext)
                           throws PortalException
Throws:
PortalException

deleteRecord

public static void deleteRecord(long recordId)
                         throws PortalException
Throws:
PortalException

deleteRecordLocale

public static DDLRecord deleteRecordLocale(long recordId,
                                           Locale locale,
                                           ServiceContext serviceContext)
                                    throws PortalException
Throws:
PortalException

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

getRecord

public static DDLRecord getRecord(long recordId)
                           throws PortalException
Throws:
PortalException

revertRecord

public static void revertRecord(long recordId,
                                String version,
                                ServiceContext serviceContext)
                         throws PortalException
Throws:
PortalException

revertRecordVersion

@Deprecated
public static void revertRecordVersion(long recordId,
                                                  String version,
                                                  ServiceContext serviceContext)
                                throws PortalException
Deprecated. As of 7.0.0, replaced by #revertRecord(long, long, String, ServiceContext)

Throws:
PortalException

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateRecord

public static DDLRecord updateRecord(long recordId,
                                     int displayIndex,
                                     Map<String,Serializable> fieldsMap,
                                     boolean mergeFields,
                                     ServiceContext serviceContext)
                              throws PortalException
Throws:
PortalException

updateRecord

public static DDLRecord updateRecord(long recordId,
                                     boolean majorVersion,
                                     int displayIndex,
                                     DDMFormValues ddmFormValues,
                                     ServiceContext serviceContext)
                              throws PortalException
Throws:
PortalException

updateRecord

public static DDLRecord updateRecord(long recordId,
                                     boolean majorVersion,
                                     int displayIndex,
                                     Fields fields,
                                     boolean mergeFields,
                                     ServiceContext serviceContext)
                              throws PortalException
Throws:
PortalException

getService

public static DDLRecordService getService()

setService

@Deprecated
public void setService(DDLRecordService service)
Deprecated. As of 6.2.0


Liferay 7.0-ce-m3