Liferay 6.2-ce-ga5

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, 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 revertRecordVersion(long recordId, String version, ServiceContext 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, 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

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

addRecord

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

addRecord

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

deleteRecord

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

deleteRecordLocale

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

getRecord

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

revertRecordVersion

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

updateRecord

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

updateRecord

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

getService

public static DDLRecordService getService()

setService

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


Liferay 6.2-ce-ga5