Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatalists.service
Class DDLRecordLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<DDLRecordLocalService>, DDLRecordLocalService

public class DDLRecordLocalServiceWrapper
extends Object
implements DDLRecordLocalService, ServiceWrapper<DDLRecordLocalService>

This class is a wrapper for DDLRecordLocalService.

See Also:
DDLRecordLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
DDLRecordLocalServiceWrapper(DDLRecordLocalService ddlRecordLocalService)
           
 
Method Summary
 DDLRecord addDDLRecord(DDLRecord ddlRecord)
          Adds the d d l record to the database.
 DDLRecord addRecord(long userId, long groupId, long recordSetId, int displayIndex, Fields fields, ServiceContext serviceContext)
           
 DDLRecord addRecord(long userId, long groupId, long recordSetId, int displayIndex, Map<String,Serializable> fieldsMap, ServiceContext serviceContext)
           
 DDLRecord createDDLRecord(long recordId)
          Creates a new d d l record with the primary key.
 DDLRecord deleteDDLRecord(DDLRecord ddlRecord)
          Deletes the d d l record from the database.
 DDLRecord deleteDDLRecord(long recordId)
          Deletes the d d l record with the primary key from the database.
 void deleteRecord(DDLRecord record)
           
 void deleteRecord(long recordId)
           
 void deleteRecords(long recordSetId)
           
 DynamicQuery dynamicQuery()
           
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 DDLRecord fetchDDLRecord(long recordId)
           
 DDLRecord fetchRecord(long recordId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DDLRecord getDDLRecord(long recordId)
          Returns the d d l record with the primary key.
 DDLRecord getDDLRecordByUuidAndGroupId(String uuid, long groupId)
          Returns the d d l record with the UUID in the group.
 List<DDLRecord> getDDLRecords(int start, int end)
          Returns a range of all the d d l records.
 int getDDLRecordsCount()
          Returns the number of d d l records.
 DDLRecordVersion getLatestRecordVersion(long recordId)
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 DDLRecord getRecord(long recordId)
           
 List<DDLRecord> getRecords(long recordSetId)
           
 List<DDLRecord> getRecords(long recordSetId, int status, int start, int end, OrderByComparator orderByComparator)
           
 List<DDLRecord> getRecords(long recordSetId, long userId)
           
 int getRecordsCount(long recordSetId, int status)
           
 DDLRecordVersion getRecordVersion(long recordVersionId)
           
 DDLRecordVersion getRecordVersion(long recordId, String version)
           
 List<DDLRecordVersion> getRecordVersions(long recordId, int start, int end, OrderByComparator orderByComparator)
           
 int getRecordVersionsCount(long recordId)
           
 DDLRecordLocalService getWrappedDDLRecordLocalService()
          Deprecated. Renamed to getWrappedService()
 DDLRecordLocalService getWrappedService()
           
 void revertRecordVersion(long userId, long recordId, String version, ServiceContext serviceContext)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedDDLRecordLocalService(DDLRecordLocalService ddlRecordLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService)
 void setWrappedService(DDLRecordLocalService ddlRecordLocalService)
           
 void updateAsset(long userId, DDLRecord record, DDLRecordVersion recordVersion, long[] assetCategoryIds, String[] assetTagNames, Locale locale)
           
 DDLRecord updateDDLRecord(DDLRecord ddlRecord)
          Updates the d d l record in the database or adds it if it does not yet exist.
 DDLRecord updateDDLRecord(DDLRecord ddlRecord, boolean merge)
          Updates the d d l record in the database or adds it if it does not yet exist.
 DDLRecord updateRecord(long userId, long recordId, boolean majorVersion, int displayIndex, Fields fields, boolean mergeFields, ServiceContext serviceContext)
           
 DDLRecord updateRecord(long userId, long recordId, int displayIndex, Map<String,Serializable> fieldsMap, boolean mergeFields, ServiceContext serviceContext)
           
 DDLRecord updateStatus(long userId, long recordVersionId, int status, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLRecordLocalServiceWrapper

public DDLRecordLocalServiceWrapper(DDLRecordLocalService ddlRecordLocalService)
Method Detail

addDDLRecord

public DDLRecord addDDLRecord(DDLRecord ddlRecord)
                       throws SystemException
Adds the d d l record to the database. Also notifies the appropriate model listeners.

Specified by:
addDDLRecord in interface DDLRecordLocalService
Parameters:
ddlRecord - the d d l record
Returns:
the d d l record that was added
Throws:
SystemException - if a system exception occurred

createDDLRecord

public DDLRecord createDDLRecord(long recordId)
Creates a new d d l record with the primary key. Does not add the d d l record to the database.

Specified by:
createDDLRecord in interface DDLRecordLocalService
Parameters:
recordId - the primary key for the new d d l record
Returns:
the new d d l record

deleteDDLRecord

public DDLRecord deleteDDLRecord(long recordId)
                          throws PortalException,
                                 SystemException
Deletes the d d l record with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDDLRecord in interface DDLRecordLocalService
Parameters:
recordId - the primary key of the d d l record
Returns:
the d d l record that was removed
Throws:
PortalException - if a d d l record with the primary key could not be found
SystemException - if a system exception occurred

deleteDDLRecord

public DDLRecord deleteDDLRecord(DDLRecord ddlRecord)
                          throws SystemException
Deletes the d d l record from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDDLRecord in interface DDLRecordLocalService
Parameters:
ddlRecord - the d d l record
Returns:
the d d l record that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface DDLRecordLocalService

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface DDLRecordLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface DDLRecordLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface DDLRecordLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface DDLRecordLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchDDLRecord

public DDLRecord fetchDDLRecord(long recordId)
                         throws SystemException
Specified by:
fetchDDLRecord in interface DDLRecordLocalService
Throws:
SystemException

getDDLRecord

public DDLRecord getDDLRecord(long recordId)
                       throws PortalException,
                              SystemException
Returns the d d l record with the primary key.

Specified by:
getDDLRecord in interface DDLRecordLocalService
Parameters:
recordId - the primary key of the d d l record
Returns:
the d d l record
Throws:
PortalException - if a d d l record with the primary key could not be found
SystemException - if a system exception occurred

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface DDLRecordLocalService
Throws:
PortalException
SystemException

getDDLRecordByUuidAndGroupId

public DDLRecord getDDLRecordByUuidAndGroupId(String uuid,
                                              long groupId)
                                       throws PortalException,
                                              SystemException
Returns the d d l record with the UUID in the group.

Specified by:
getDDLRecordByUuidAndGroupId in interface DDLRecordLocalService
Parameters:
uuid - the UUID of d d l record
groupId - the group id of the d d l record
Returns:
the d d l record
Throws:
PortalException - if a d d l record with the UUID in the group could not be found
SystemException - if a system exception occurred

getDDLRecords

public List<DDLRecord> getDDLRecords(int start,
                                     int end)
                              throws SystemException
Returns a range of all the d d l records.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getDDLRecords in interface DDLRecordLocalService
Parameters:
start - the lower bound of the range of d d l records
end - the upper bound of the range of d d l records (not inclusive)
Returns:
the range of d d l records
Throws:
SystemException - if a system exception occurred

getDDLRecordsCount

public int getDDLRecordsCount()
                       throws SystemException
Returns the number of d d l records.

Specified by:
getDDLRecordsCount in interface DDLRecordLocalService
Returns:
the number of d d l records
Throws:
SystemException - if a system exception occurred

updateDDLRecord

public DDLRecord updateDDLRecord(DDLRecord ddlRecord)
                          throws SystemException
Updates the d d l record in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDDLRecord in interface DDLRecordLocalService
Parameters:
ddlRecord - the d d l record
Returns:
the d d l record that was updated
Throws:
SystemException - if a system exception occurred

updateDDLRecord

public DDLRecord updateDDLRecord(DDLRecord ddlRecord,
                                 boolean merge)
                          throws SystemException
Updates the d d l record in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDDLRecord in interface DDLRecordLocalService
Parameters:
ddlRecord - the d d l record
merge - whether to merge the d d l record with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the d d l record that was updated
Throws:
SystemException - if a system exception occurred

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface DDLRecordLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Specified by:
setBeanIdentifier in interface DDLRecordLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addRecord

public DDLRecord addRecord(long userId,
                           long groupId,
                           long recordSetId,
                           int displayIndex,
                           Fields fields,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Specified by:
addRecord in interface DDLRecordLocalService
Throws:
PortalException
SystemException

addRecord

public DDLRecord addRecord(long userId,
                           long groupId,
                           long recordSetId,
                           int displayIndex,
                           Map<String,Serializable> fieldsMap,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Specified by:
addRecord in interface DDLRecordLocalService
Throws:
PortalException
SystemException

deleteRecord

public void deleteRecord(DDLRecord record)
                  throws PortalException,
                         SystemException
Specified by:
deleteRecord in interface DDLRecordLocalService
Throws:
PortalException
SystemException

deleteRecord

public void deleteRecord(long recordId)
                  throws PortalException,
                         SystemException
Specified by:
deleteRecord in interface DDLRecordLocalService
Throws:
PortalException
SystemException

deleteRecords

public void deleteRecords(long recordSetId)
                   throws PortalException,
                          SystemException
Specified by:
deleteRecords in interface DDLRecordLocalService
Throws:
PortalException
SystemException

fetchRecord

public DDLRecord fetchRecord(long recordId)
                      throws SystemException
Specified by:
fetchRecord in interface DDLRecordLocalService
Throws:
SystemException

getLatestRecordVersion

public DDLRecordVersion getLatestRecordVersion(long recordId)
                                        throws PortalException,
                                               SystemException
Specified by:
getLatestRecordVersion in interface DDLRecordLocalService
Throws:
PortalException
SystemException

getRecord

public DDLRecord getRecord(long recordId)
                    throws PortalException,
                           SystemException
Specified by:
getRecord in interface DDLRecordLocalService
Throws:
PortalException
SystemException

getRecords

public List<DDLRecord> getRecords(long recordSetId)
                           throws SystemException
Specified by:
getRecords in interface DDLRecordLocalService
Throws:
SystemException

getRecords

public List<DDLRecord> getRecords(long recordSetId,
                                  int status,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Specified by:
getRecords in interface DDLRecordLocalService
Throws:
SystemException

getRecords

public List<DDLRecord> getRecords(long recordSetId,
                                  long userId)
                           throws SystemException
Specified by:
getRecords in interface DDLRecordLocalService
Throws:
SystemException

getRecordsCount

public int getRecordsCount(long recordSetId,
                           int status)
                    throws SystemException
Specified by:
getRecordsCount in interface DDLRecordLocalService
Throws:
SystemException

getRecordVersion

public DDLRecordVersion getRecordVersion(long recordVersionId)
                                  throws PortalException,
                                         SystemException
Specified by:
getRecordVersion in interface DDLRecordLocalService
Throws:
PortalException
SystemException

getRecordVersion

public DDLRecordVersion getRecordVersion(long recordId,
                                         String version)
                                  throws PortalException,
                                         SystemException
Specified by:
getRecordVersion in interface DDLRecordLocalService
Throws:
PortalException
SystemException

getRecordVersions

public List<DDLRecordVersion> getRecordVersions(long recordId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Specified by:
getRecordVersions in interface DDLRecordLocalService
Throws:
SystemException

getRecordVersionsCount

public int getRecordVersionsCount(long recordId)
                           throws SystemException
Specified by:
getRecordVersionsCount in interface DDLRecordLocalService
Throws:
SystemException

revertRecordVersion

public void revertRecordVersion(long userId,
                                long recordId,
                                String version,
                                ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Specified by:
revertRecordVersion in interface DDLRecordLocalService
Throws:
PortalException
SystemException

updateAsset

public void updateAsset(long userId,
                        DDLRecord record,
                        DDLRecordVersion recordVersion,
                        long[] assetCategoryIds,
                        String[] assetTagNames,
                        Locale locale)
                 throws PortalException,
                        SystemException
Specified by:
updateAsset in interface DDLRecordLocalService
Throws:
PortalException
SystemException

updateRecord

public DDLRecord updateRecord(long userId,
                              long recordId,
                              boolean majorVersion,
                              int displayIndex,
                              Fields fields,
                              boolean mergeFields,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Specified by:
updateRecord in interface DDLRecordLocalService
Throws:
PortalException
SystemException

updateRecord

public DDLRecord updateRecord(long userId,
                              long recordId,
                              int displayIndex,
                              Map<String,Serializable> fieldsMap,
                              boolean mergeFields,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Specified by:
updateRecord in interface DDLRecordLocalService
Throws:
PortalException
SystemException

updateStatus

public DDLRecord updateStatus(long userId,
                              long recordVersionId,
                              int status,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Specified by:
updateStatus in interface DDLRecordLocalService
Throws:
PortalException
SystemException

getWrappedDDLRecordLocalService

public DDLRecordLocalService getWrappedDDLRecordLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedDDLRecordLocalService

public void setWrappedDDLRecordLocalService(DDLRecordLocalService ddlRecordLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService)


getWrappedService

public DDLRecordLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<DDLRecordLocalService>

setWrappedService

public void setWrappedService(DDLRecordLocalService ddlRecordLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<DDLRecordLocalService>

Liferay 6.1.2-ce-ga3