Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portlet.expando.service.base.ExpandoTableLocalServiceBaseImpl
All Implemented Interfaces:
ExpandoTableLocalService
Direct Known Subclasses:
ExpandoTableLocalServiceImpl

public abstract class ExpandoTableLocalServiceBaseImpl
extends Object
implements ExpandoTableLocalService

The base implementation of the expando table 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 ExpandoTableLocalServiceImpl.

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

See Also:
ExpandoTableLocalServiceImpl, ExpandoTableLocalServiceUtil
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
ExpandoTableLocalServiceBaseImpl()
           
 
Method Summary
 ExpandoTable addExpandoTable(ExpandoTable expandoTable)
          Adds the expando table to the database.
 ExpandoTable createExpandoTable(long tableId)
          Creates a new expando table with the primary key.
 void deleteExpandoTable(ExpandoTable expandoTable)
          Deletes the expando table from the database.
 void deleteExpandoTable(long tableId)
          Deletes the expando table 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.
 ExpandoRowLocalService getExpandoRowLocalService()
          Gets the expando row local service.
 ExpandoRowPersistence getExpandoRowPersistence()
          Gets the expando row persistence.
 ExpandoTable getExpandoTable(long tableId)
          Gets the expando table with the primary key.
 ExpandoTableLocalService getExpandoTableLocalService()
          Gets the expando table local service.
 ExpandoTablePersistence getExpandoTablePersistence()
          Gets the expando table persistence.
 List<ExpandoTable> getExpandoTables(int start, int end)
          Gets a range of all the expando tables.
 int getExpandoTablesCount()
          Gets the number of expando tables.
 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.
 ExpandoTable updateExpandoTable(ExpandoTable expandoTable)
          Updates the expando table in the database.
 ExpandoTable updateExpandoTable(ExpandoTable expandoTable, boolean merge)
          Updates the expando table 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.ExpandoTableLocalService
addDefaultTable, addDefaultTable, addTable, addTable, addTable, addTable, deleteTable, deleteTable, deleteTable, deleteTable, deleteTables, deleteTables, getDefaultTable, getDefaultTable, getTable, getTable, getTable, getTable, getTable, getTables, getTables, updateTable
 

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

ExpandoTableLocalServiceBaseImpl

public ExpandoTableLocalServiceBaseImpl()
Method Detail

addExpandoTable

public ExpandoTable addExpandoTable(ExpandoTable expandoTable)
                             throws SystemException
Adds the expando table to the database. Also notifies the appropriate model listeners.

Specified by:
addExpandoTable in interface ExpandoTableLocalService
Parameters:
expandoTable - the expando table to add
Returns:
the expando table that was added
Throws:
SystemException - if a system exception occurred

createExpandoTable

public ExpandoTable createExpandoTable(long tableId)
Creates a new expando table with the primary key. Does not add the expando table to the database.

Specified by:
createExpandoTable in interface ExpandoTableLocalService
Parameters:
tableId - the primary key for the new expando table
Returns:
the new expando table

deleteExpandoTable

public void deleteExpandoTable(long tableId)
                        throws PortalException,
                               SystemException
Deletes the expando table with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteExpandoTable in interface ExpandoTableLocalService
Parameters:
tableId - the primary key of the expando table to delete
Throws:
PortalException - if a expando table with the primary key could not be found
SystemException - if a system exception occurred

deleteExpandoTable

public void deleteExpandoTable(ExpandoTable expandoTable)
                        throws SystemException
Deletes the expando table from the database. Also notifies the appropriate model listeners.

Specified by:
deleteExpandoTable in interface ExpandoTableLocalService
Parameters:
expandoTable - the expando table 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 ExpandoTableLocalService
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 ExpandoTableLocalService
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 ExpandoTableLocalService
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 ExpandoTableLocalService
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

getExpandoTable

public ExpandoTable getExpandoTable(long tableId)
                             throws PortalException,
                                    SystemException
Gets the expando table with the primary key.

Specified by:
getExpandoTable in interface ExpandoTableLocalService
Parameters:
tableId - the primary key of the expando table to get
Returns:
the expando table
Throws:
PortalException - if a expando table with the primary key could not be found
SystemException - if a system exception occurred

getExpandoTables

public List<ExpandoTable> getExpandoTables(int start,
                                           int end)
                                    throws SystemException
Gets a range of all the expando tables.

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:
getExpandoTables in interface ExpandoTableLocalService
Parameters:
start - the lower bound of the range of expando tables to return
end - the upper bound of the range of expando tables to return (not inclusive)
Returns:
the range of expando tables
Throws:
SystemException - if a system exception occurred

getExpandoTablesCount

public int getExpandoTablesCount()
                          throws SystemException
Gets the number of expando tables.

Specified by:
getExpandoTablesCount in interface ExpandoTableLocalService
Returns:
the number of expando tables
Throws:
SystemException - if a system exception occurred

updateExpandoTable

public ExpandoTable updateExpandoTable(ExpandoTable expandoTable)
                                throws SystemException
Updates the expando table in the database. Also notifies the appropriate model listeners.

Specified by:
updateExpandoTable in interface ExpandoTableLocalService
Parameters:
expandoTable - the expando table to update
Returns:
the expando table that was updated
Throws:
SystemException - if a system exception occurred

updateExpandoTable

public ExpandoTable updateExpandoTable(ExpandoTable expandoTable,
                                       boolean merge)
                                throws SystemException
Updates the expando table in the database. Also notifies the appropriate model listeners.

Specified by:
updateExpandoTable in interface ExpandoTableLocalService
Parameters:
expandoTable - the expando table to update
merge - whether to merge the expando table 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 table 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