Liferay 6.0.5

com.liferay.portlet.expando.service.base
Class ExpandoRowLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portlet.expando.service.base.ExpandoRowLocalServiceBaseImpl
All Implemented Interfaces:
ExpandoRowLocalService
Direct Known Subclasses:
ExpandoRowLocalServiceImpl

public abstract class ExpandoRowLocalServiceBaseImpl
extends Object
implements ExpandoRowLocalService

The base implementation of the expando row local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in ExpandoRowLocalServiceImpl.

Never modify or reference this class directly. Always use ExpandoRowLocalServiceUtil to access the expando row local service.

See Also:
ExpandoRowLocalServiceImpl, ExpandoRowLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
protected  CounterLocalService counterLocalService
           
protected  ExpandoColumnLocalService expandoColumnLocalService
           
protected  ExpandoColumnPersistence expandoColumnPersistence
           
protected  ExpandoColumnService expandoColumnService
           
protected  ExpandoRowLocalService expandoRowLocalService
           
protected  ExpandoRowPersistence expandoRowPersistence
           
protected  ExpandoTableLocalService expandoTableLocalService
           
protected  ExpandoTablePersistence expandoTablePersistence
           
protected  ExpandoValueLocalService expandoValueLocalService
           
protected  ExpandoValuePersistence expandoValuePersistence
           
protected  ExpandoValueService expandoValueService
           
protected  ResourceFinder resourceFinder
           
protected  ResourceLocalService resourceLocalService
           
protected  ResourcePersistence resourcePersistence
           
protected  ResourceService resourceService
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
ExpandoRowLocalServiceBaseImpl()
           
 
Method Summary
 ExpandoRow addExpandoRow(ExpandoRow expandoRow)
          Adds the expando row to the database.
 ExpandoRow createExpandoRow(long rowId)
          Creates a new expando row with the primary key.
 void deleteExpandoRow(ExpandoRow expandoRow)
          Deletes the expando row from the database.
 void deleteExpandoRow(long rowId)
          Deletes the expando row with the primary key from the database.
 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)
          Counts the number of rows that match the dynamic query.
 CounterLocalService getCounterLocalService()
          Gets the counter local service.
 ExpandoColumnLocalService getExpandoColumnLocalService()
          Gets the expando column local service.
 ExpandoColumnPersistence getExpandoColumnPersistence()
          Gets the expando column persistence.
 ExpandoColumnService getExpandoColumnService()
          Gets the expando column remote service.
 ExpandoRow getExpandoRow(long rowId)
          Gets the expando row with the primary key.
 ExpandoRowLocalService getExpandoRowLocalService()
          Gets the expando row local service.
 ExpandoRowPersistence getExpandoRowPersistence()
          Gets the expando row persistence.
 List<ExpandoRow> getExpandoRows(int start, int end)
          Gets a range of all the expando rows.
 int getExpandoRowsCount()
          Gets the number of expando rows.
 ExpandoTableLocalService getExpandoTableLocalService()
          Gets the expando table local service.
 ExpandoTablePersistence getExpandoTablePersistence()
          Gets the expando table persistence.
 ExpandoValueLocalService getExpandoValueLocalService()
          Gets the expando value local service.
 ExpandoValuePersistence getExpandoValuePersistence()
          Gets the expando value persistence.
 ExpandoValueService getExpandoValueService()
          Gets the expando value remote service.
 ResourceFinder getResourceFinder()
          Gets the resource finder.
 ResourceLocalService getResourceLocalService()
          Gets the resource local service.
 ResourcePersistence getResourcePersistence()
          Gets the resource persistence.
 ResourceService getResourceService()
          Gets the resource remote service.
 UserFinder getUserFinder()
          Gets the user finder.
 UserLocalService getUserLocalService()
          Gets the user local service.
 UserPersistence getUserPersistence()
          Gets the user persistence.
 UserService getUserService()
          Gets the user remote service.
protected  void runSQL(String sql)
          Performs an SQL query.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setExpandoColumnLocalService(ExpandoColumnLocalService expandoColumnLocalService)
          Sets the expando column local service.
 void setExpandoColumnPersistence(ExpandoColumnPersistence expandoColumnPersistence)
          Sets the expando column persistence.
 void setExpandoColumnService(ExpandoColumnService expandoColumnService)
          Sets the expando column remote service.
 void setExpandoRowLocalService(ExpandoRowLocalService expandoRowLocalService)
          Sets the expando row local service.
 void setExpandoRowPersistence(ExpandoRowPersistence expandoRowPersistence)
          Sets the expando row persistence.
 void setExpandoTableLocalService(ExpandoTableLocalService expandoTableLocalService)
          Sets the expando table local service.
 void setExpandoTablePersistence(ExpandoTablePersistence expandoTablePersistence)
          Sets the expando table persistence.
 void setExpandoValueLocalService(ExpandoValueLocalService expandoValueLocalService)
          Sets the expando value local service.
 void setExpandoValuePersistence(ExpandoValuePersistence expandoValuePersistence)
          Sets the expando value persistence.
 void setExpandoValueService(ExpandoValueService expandoValueService)
          Sets the expando value remote service.
 void setResourceFinder(ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(ResourceService resourceService)
          Sets the resource remote service.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(UserService userService)
          Sets the user remote service.
 ExpandoRow updateExpandoRow(ExpandoRow expandoRow)
          Updates the expando row in the database.
 ExpandoRow updateExpandoRow(ExpandoRow expandoRow, boolean merge)
          Updates the expando row in the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.expando.service.ExpandoRowLocalService
addRow, deleteRow, deleteRow, deleteRow, deleteRow, getDefaultTableRows, getDefaultTableRows, getDefaultTableRowsCount, getDefaultTableRowsCount, getRow, getRow, getRow, getRow, getRows, getRows, getRows, getRows, getRowsCount, getRowsCount, getRowsCount, getRowsCount
 

Field Detail

expandoColumnLocalService

@BeanReference(type=ExpandoColumnLocalService.class)
protected ExpandoColumnLocalService expandoColumnLocalService

expandoColumnService

@BeanReference(type=ExpandoColumnService.class)
protected ExpandoColumnService expandoColumnService

expandoColumnPersistence

@BeanReference(type=ExpandoColumnPersistence.class)
protected ExpandoColumnPersistence expandoColumnPersistence

expandoRowLocalService

@BeanReference(type=ExpandoRowLocalService.class)
protected ExpandoRowLocalService expandoRowLocalService

expandoRowPersistence

@BeanReference(type=ExpandoRowPersistence.class)
protected ExpandoRowPersistence expandoRowPersistence

expandoTableLocalService

@BeanReference(type=ExpandoTableLocalService.class)
protected ExpandoTableLocalService expandoTableLocalService

expandoTablePersistence

@BeanReference(type=ExpandoTablePersistence.class)
protected ExpandoTablePersistence expandoTablePersistence

expandoValueLocalService

@BeanReference(type=ExpandoValueLocalService.class)
protected ExpandoValueLocalService expandoValueLocalService

expandoValueService

@BeanReference(type=ExpandoValueService.class)
protected ExpandoValueService expandoValueService

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

resourceLocalService

@BeanReference(type=ResourceLocalService.class)
protected ResourceLocalService resourceLocalService

resourceService

@BeanReference(type=ResourceService.class)
protected ResourceService resourceService

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=ResourceFinder.class)
protected ResourceFinder resourceFinder

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userService

@BeanReference(type=UserService.class)
protected UserService userService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder
Constructor Detail

ExpandoRowLocalServiceBaseImpl

public ExpandoRowLocalServiceBaseImpl()
Method Detail

addExpandoRow

public ExpandoRow addExpandoRow(ExpandoRow expandoRow)
                         throws SystemException
Adds the expando row to the database. Also notifies the appropriate model listeners.

Specified by:
addExpandoRow in interface ExpandoRowLocalService
Parameters:
expandoRow - the expando row to add
Returns:
the expando row that was added
Throws:
SystemException - if a system exception occurred

createExpandoRow

public ExpandoRow createExpandoRow(long rowId)
Creates a new expando row with the primary key. Does not add the expando row to the database.

Specified by:
createExpandoRow in interface ExpandoRowLocalService
Parameters:
rowId - the primary key for the new expando row
Returns:
the new expando row

deleteExpandoRow

public void deleteExpandoRow(long rowId)
                      throws PortalException,
                             SystemException
Deletes the expando row with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteExpandoRow in interface ExpandoRowLocalService
Parameters:
rowId - the primary key of the expando row to delete
Throws:
PortalException - if a expando row with the primary key could not be found
SystemException - if a system exception occurred

deleteExpandoRow

public void deleteExpandoRow(ExpandoRow expandoRow)
                      throws SystemException
Deletes the expando row from the database. Also notifies the appropriate model listeners.

Specified by:
deleteExpandoRow in interface ExpandoRowLocalService
Parameters:
expandoRow - the expando row to delete
Throws:
SystemException - if a system exception occurred

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 ExpandoRowLocalService
Parameters:
dynamicQuery - the dynamic query to search with
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 ExpandoRowLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (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 ExpandoRowLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

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

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

getExpandoRow

public ExpandoRow getExpandoRow(long rowId)
                         throws PortalException,
                                SystemException
Gets the expando row with the primary key.

Specified by:
getExpandoRow in interface ExpandoRowLocalService
Parameters:
rowId - the primary key of the expando row to get
Returns:
the expando row
Throws:
PortalException - if a expando row with the primary key could not be found
SystemException - if a system exception occurred

getExpandoRows

public List<ExpandoRow> getExpandoRows(int start,
                                       int end)
                                throws SystemException
Gets a range of all the expando 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:
getExpandoRows in interface ExpandoRowLocalService
Parameters:
start - the lower bound of the range of expando rows to return
end - the upper bound of the range of expando rows to return (not inclusive)
Returns:
the range of expando rows
Throws:
SystemException - if a system exception occurred

getExpandoRowsCount

public int getExpandoRowsCount()
                        throws SystemException
Gets the number of expando rows.

Specified by:
getExpandoRowsCount in interface ExpandoRowLocalService
Returns:
the number of expando rows
Throws:
SystemException - if a system exception occurred

updateExpandoRow

public ExpandoRow updateExpandoRow(ExpandoRow expandoRow)
                            throws SystemException
Updates the expando row in the database. Also notifies the appropriate model listeners.

Specified by:
updateExpandoRow in interface ExpandoRowLocalService
Parameters:
expandoRow - the expando row to update
Returns:
the expando row that was updated
Throws:
SystemException - if a system exception occurred

updateExpandoRow

public ExpandoRow updateExpandoRow(ExpandoRow expandoRow,
                                   boolean merge)
                            throws SystemException
Updates the expando row in the database. Also notifies the appropriate model listeners.

Specified by:
updateExpandoRow in interface ExpandoRowLocalService
Parameters:
expandoRow - the expando row to update
merge - whether to merge the expando row 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 expando row that was updated
Throws:
SystemException - if a system exception occurred

getExpandoColumnLocalService

public ExpandoColumnLocalService getExpandoColumnLocalService()
Gets the expando column local service.

Returns:
the expando column local service

setExpandoColumnLocalService

public void setExpandoColumnLocalService(ExpandoColumnLocalService expandoColumnLocalService)
Sets the expando column local service.

Parameters:
expandoColumnLocalService - the expando column local service

getExpandoColumnService

public ExpandoColumnService getExpandoColumnService()
Gets the expando column remote service.

Returns:
the expando column remote service

setExpandoColumnService

public void setExpandoColumnService(ExpandoColumnService expandoColumnService)
Sets the expando column remote service.

Parameters:
expandoColumnService - the expando column remote service

getExpandoColumnPersistence

public ExpandoColumnPersistence getExpandoColumnPersistence()
Gets the expando column persistence.

Returns:
the expando column persistence

setExpandoColumnPersistence

public void setExpandoColumnPersistence(ExpandoColumnPersistence expandoColumnPersistence)
Sets the expando column persistence.

Parameters:
expandoColumnPersistence - the expando column persistence

getExpandoRowLocalService

public ExpandoRowLocalService getExpandoRowLocalService()
Gets the expando row local service.

Returns:
the expando row local service

setExpandoRowLocalService

public void setExpandoRowLocalService(ExpandoRowLocalService expandoRowLocalService)
Sets the expando row local service.

Parameters:
expandoRowLocalService - the expando row local service

getExpandoRowPersistence

public ExpandoRowPersistence getExpandoRowPersistence()
Gets the expando row persistence.

Returns:
the expando row persistence

setExpandoRowPersistence

public void setExpandoRowPersistence(ExpandoRowPersistence expandoRowPersistence)
Sets the expando row persistence.

Parameters:
expandoRowPersistence - the expando row persistence

getExpandoTableLocalService

public ExpandoTableLocalService getExpandoTableLocalService()
Gets the expando table local service.

Returns:
the expando table local service

setExpandoTableLocalService

public void setExpandoTableLocalService(ExpandoTableLocalService expandoTableLocalService)
Sets the expando table local service.

Parameters:
expandoTableLocalService - the expando table local service

getExpandoTablePersistence

public ExpandoTablePersistence getExpandoTablePersistence()
Gets the expando table persistence.

Returns:
the expando table persistence

setExpandoTablePersistence

public void setExpandoTablePersistence(ExpandoTablePersistence expandoTablePersistence)
Sets the expando table persistence.

Parameters:
expandoTablePersistence - the expando table persistence

getExpandoValueLocalService

public ExpandoValueLocalService getExpandoValueLocalService()
Gets the expando value local service.

Returns:
the expando value local service

setExpandoValueLocalService

public void setExpandoValueLocalService(ExpandoValueLocalService expandoValueLocalService)
Sets the expando value local service.

Parameters:
expandoValueLocalService - the expando value local service

getExpandoValueService

public ExpandoValueService getExpandoValueService()
Gets the expando value remote service.

Returns:
the expando value remote service

setExpandoValueService

public void setExpandoValueService(ExpandoValueService expandoValueService)
Sets the expando value remote service.

Parameters:
expandoValueService - the expando value remote service

getExpandoValuePersistence

public ExpandoValuePersistence getExpandoValuePersistence()
Gets the expando value persistence.

Returns:
the expando value persistence

setExpandoValuePersistence

public void setExpandoValuePersistence(ExpandoValuePersistence expandoValuePersistence)
Sets the expando value persistence.

Parameters:
expandoValuePersistence - the expando value persistence

getCounterLocalService

public CounterLocalService getCounterLocalService()
Gets the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Gets the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getResourceService

public ResourceService getResourceService()
Gets the resource remote service.

Returns:
the resource remote service

setResourceService

public void setResourceService(ResourceService resourceService)
Sets the resource remote service.

Parameters:
resourceService - the resource remote service

getResourcePersistence

public ResourcePersistence getResourcePersistence()
Gets the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public ResourceFinder getResourceFinder()
Gets the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getUserLocalService

public UserLocalService getUserLocalService()
Gets the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserService

public UserService getUserService()
Gets the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote service

getUserPersistence

public UserPersistence getUserPersistence()
Gets the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Gets the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

runSQL

protected void runSQL(String sql)
               throws SystemException
Performs an SQL query.

Parameters:
sql - the sql query to perform
Throws:
SystemException

Liferay 6.0.5