Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.expando.service.base.ExpandoRowLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, ExpandoRowLocalService
Direct Known Subclasses:
ExpandoRowLocalServiceImpl

public abstract class ExpandoRowLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements ExpandoRowLocalService, IdentifiableBean

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.

See Also:
ExpandoRowLocalServiceImpl, ExpandoRowLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it 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  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
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.
 void afterPropertiesSet()
           
 ExpandoRow createExpandoRow(long rowId)
          Creates a new expando row with the primary key.
 ExpandoRow deleteExpandoRow(ExpandoRow expandoRow)
          Deletes the expando row from the database.
 ExpandoRow deleteExpandoRow(long rowId)
          Deletes the expando row with the primary key from the database.
 void destroy()
           
 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.
 ExpandoRow fetchExpandoRow(long rowId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 ExpandoColumnLocalService getExpandoColumnLocalService()
          Returns the expando column local service.
 ExpandoColumnPersistence getExpandoColumnPersistence()
          Returns the expando column persistence.
 ExpandoColumnService getExpandoColumnService()
          Returns the expando column remote service.
 ExpandoRow getExpandoRow(long rowId)
          Returns the expando row with the primary key.
 ExpandoRowLocalService getExpandoRowLocalService()
          Returns the expando row local service.
 ExpandoRowPersistence getExpandoRowPersistence()
          Returns the expando row persistence.
 List<ExpandoRow> getExpandoRows(int start, int end)
          Returns a range of all the expando rows.
 int getExpandoRowsCount()
          Returns the number of expando rows.
 ExpandoTableLocalService getExpandoTableLocalService()
          Returns the expando table local service.
 ExpandoTablePersistence getExpandoTablePersistence()
          Returns the expando table persistence.
 ExpandoValueLocalService getExpandoValueLocalService()
          Returns the expando value local service.
 ExpandoValuePersistence getExpandoValuePersistence()
          Returns the expando value persistence.
 ExpandoValueService getExpandoValueService()
          Returns the expando value remote service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceFinder getResourceFinder()
          Returns the resource finder.
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 ResourceService getResourceService()
          Returns the resource remote service.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 UserService getUserService()
          Returns the user remote service.
protected  void runSQL(String sql)
          Performs an SQL query.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 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 or adds it if it does not yet exist.
 ExpandoRow updateExpandoRow(ExpandoRow expandoRow, boolean merge)
          Updates the expando row in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
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, 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

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

ExpandoRowLocalServiceBaseImpl

public ExpandoRowLocalServiceBaseImpl()
Method Detail

addExpandoRow

@Indexable(type=REINDEX)
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
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

@Indexable(type=DELETE)
public ExpandoRow 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
Returns:
the expando row that was removed
Throws:
PortalException - if a expando row with the primary key could not be found
SystemException - if a system exception occurred

deleteExpandoRow

@Indexable(type=DELETE)
public ExpandoRow 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
Returns:
the expando row that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

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
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
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 ExpandoRowLocalService
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 ExpandoRowLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchExpandoRow

public ExpandoRow fetchExpandoRow(long rowId)
                           throws SystemException
Specified by:
fetchExpandoRow in interface ExpandoRowLocalService
Throws:
SystemException

getExpandoRow

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

Specified by:
getExpandoRow in interface ExpandoRowLocalService
Parameters:
rowId - the primary key of the expando row
Returns:
the expando row
Throws:
PortalException - if a expando row 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 ExpandoRowLocalService
Throws:
PortalException
SystemException

getExpandoRows

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

getExpandoRowsCount

public int getExpandoRowsCount()
                        throws SystemException
Returns 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

@Indexable(type=REINDEX)
public ExpandoRow updateExpandoRow(ExpandoRow expandoRow)
                            throws SystemException
Updates the expando row in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

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

updateExpandoRow

@Indexable(type=REINDEX)
public ExpandoRow updateExpandoRow(ExpandoRow expandoRow,
                                                        boolean merge)
                            throws SystemException
Updates the expando row in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateExpandoRow in interface ExpandoRowLocalService
Parameters:
expandoRow - the expando row
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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns 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()
Returns the user finder.

Returns:
the user finder

setUserFinder

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

Parameters:
userFinder - the user finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface ExpandoRowLocalService
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 IdentifiableBean
Specified by:
setBeanIdentifier in interface ExpandoRowLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

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

Parameters:
sql - the sql query
Throws:
SystemException

Liferay 6.1.2-ce-ga3