Liferay 7.0-ce-b4

com.liferay.portlet.expando.service
Class ExpandoTableLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.expando.service.ExpandoTableLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<ExpandoTableLocalService>, ExpandoTableLocalService

@ProviderType
public class ExpandoTableLocalServiceWrapper
extends Object
implements ExpandoTableLocalService, ServiceWrapper<ExpandoTableLocalService>

Provides a wrapper for ExpandoTableLocalService.

See Also:
ExpandoTableLocalService

Constructor Summary
ExpandoTableLocalServiceWrapper(ExpandoTableLocalService expandoTableLocalService)
           
 
Method Summary
 ExpandoTable addDefaultTable(long companyId, long classNameId)
           
 ExpandoTable addDefaultTable(long companyId, String className)
           
 ExpandoTable addExpandoTable(ExpandoTable expandoTable)
          Adds the expando table to the database.
 ExpandoTable addTable(long companyId, long classNameId, String name)
           
 ExpandoTable addTable(long companyId, String className, String name)
           
 ExpandoTable createExpandoTable(long tableId)
          Creates a new expando table with the primary key.
 ExpandoTable deleteExpandoTable(ExpandoTable expandoTable)
          Deletes the expando table from the database.
 ExpandoTable deleteExpandoTable(long tableId)
          Deletes the expando table with the primary key from the database.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 void deleteTable(ExpandoTable table)
           
 void deleteTable(long tableId)
           
 void deleteTable(long companyId, long classNameId, String name)
           
 void deleteTable(long companyId, String className, String name)
           
 void deleteTables(long companyId, long classNameId)
           
 void deleteTables(long companyId, String className)
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> 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 matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 ExpandoTable fetchDefaultTable(long companyId, long classNameId)
           
 ExpandoTable fetchDefaultTable(long companyId, String className)
           
 ExpandoTable fetchExpandoTable(long tableId)
           
 ExpandoTable fetchTable(long companyId, long classNameId, String name)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 ExpandoTable getDefaultTable(long companyId, long classNameId)
           
 ExpandoTable getDefaultTable(long companyId, String className)
           
 ExpandoTable getExpandoTable(long tableId)
          Returns the expando table with the primary key.
 List<ExpandoTable> getExpandoTables(int start, int end)
          Returns a range of all the expando tables.
 int getExpandoTablesCount()
          Returns the number of expando tables.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ExpandoTable getTable(long tableId)
           
 ExpandoTable getTable(long companyId, long classNameId, String name)
           
 ExpandoTable getTable(long companyId, String className, String name)
           
 List<ExpandoTable> getTables(long companyId, long classNameId)
           
 List<ExpandoTable> getTables(long companyId, String className)
           
 ExpandoTableLocalService getWrappedService()
           
 void setWrappedService(ExpandoTableLocalService expandoTableLocalService)
           
 ExpandoTable updateExpandoTable(ExpandoTable expandoTable)
          Updates the expando table in the database or adds it if it does not yet exist.
 ExpandoTable updateTable(long tableId, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoTableLocalServiceWrapper

public ExpandoTableLocalServiceWrapper(ExpandoTableLocalService expandoTableLocalService)
Method Detail

addDefaultTable

public ExpandoTable addDefaultTable(long companyId,
                                    String className)
                             throws PortalException
Specified by:
addDefaultTable in interface ExpandoTableLocalService
Throws:
PortalException

addDefaultTable

public ExpandoTable addDefaultTable(long companyId,
                                    long classNameId)
                             throws PortalException
Specified by:
addDefaultTable in interface ExpandoTableLocalService
Throws:
PortalException

addExpandoTable

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

Specified by:
addExpandoTable in interface ExpandoTableLocalService
Parameters:
expandoTable - the expando table
Returns:
the expando table that was added

addTable

public ExpandoTable addTable(long companyId,
                             String className,
                             String name)
                      throws PortalException
Specified by:
addTable in interface ExpandoTableLocalService
Throws:
PortalException

addTable

public ExpandoTable addTable(long companyId,
                             long classNameId,
                             String name)
                      throws PortalException
Specified by:
addTable in interface ExpandoTableLocalService
Throws:
PortalException

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 ExpandoTable deleteExpandoTable(ExpandoTable expandoTable)
Deletes the expando table from the database. Also notifies the appropriate model listeners.

Specified by:
deleteExpandoTable in interface ExpandoTableLocalService
Parameters:
expandoTable - the expando table
Returns:
the expando table that was removed

deleteExpandoTable

public ExpandoTable deleteExpandoTable(long tableId)
                                throws PortalException
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
Returns:
the expando table that was removed
Throws:
PortalException - if a expando table with the primary key could not be found

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface ExpandoTableLocalService
Throws:
PortalException

deleteTable

public void deleteTable(long companyId,
                        String className,
                        String name)
                 throws PortalException
Specified by:
deleteTable in interface ExpandoTableLocalService
Throws:
PortalException

deleteTable

public void deleteTable(long companyId,
                        long classNameId,
                        String name)
                 throws PortalException
Specified by:
deleteTable in interface ExpandoTableLocalService
Throws:
PortalException

deleteTable

public void deleteTable(ExpandoTable table)
Specified by:
deleteTable in interface ExpandoTableLocalService

deleteTable

public void deleteTable(long tableId)
                 throws PortalException
Specified by:
deleteTable in interface ExpandoTableLocalService
Throws:
PortalException

deleteTables

public void deleteTables(long companyId,
                         String className)
Specified by:
deleteTables in interface ExpandoTableLocalService

deleteTables

public void deleteTables(long companyId,
                         long classNameId)
Specified by:
deleteTables in interface ExpandoTableLocalService

dynamicQuery

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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface ExpandoTableLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.expando.model.impl.ExpandoTableModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface ExpandoTableLocalService
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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator<T> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.expando.model.impl.ExpandoTableModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface ExpandoTableLocalService
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

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface ExpandoTableLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface ExpandoTableLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchDefaultTable

public ExpandoTable fetchDefaultTable(long companyId,
                                      String className)
Specified by:
fetchDefaultTable in interface ExpandoTableLocalService

fetchDefaultTable

public ExpandoTable fetchDefaultTable(long companyId,
                                      long classNameId)
Specified by:
fetchDefaultTable in interface ExpandoTableLocalService

fetchExpandoTable

public ExpandoTable fetchExpandoTable(long tableId)
Specified by:
fetchExpandoTable in interface ExpandoTableLocalService

fetchTable

public ExpandoTable fetchTable(long companyId,
                               long classNameId,
                               String name)
Specified by:
fetchTable in interface ExpandoTableLocalService

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface ExpandoTableLocalService

getDefaultTable

public ExpandoTable getDefaultTable(long companyId,
                                    String className)
                             throws PortalException
Specified by:
getDefaultTable in interface ExpandoTableLocalService
Throws:
PortalException

getDefaultTable

public ExpandoTable getDefaultTable(long companyId,
                                    long classNameId)
                             throws PortalException
Specified by:
getDefaultTable in interface ExpandoTableLocalService
Throws:
PortalException

getExpandoTable

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

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

getExpandoTables

public List<ExpandoTable> getExpandoTables(int start,
                                           int end)
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.expando.model.impl.ExpandoTableModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
getExpandoTables in interface ExpandoTableLocalService
Parameters:
start - the lower bound of the range of expando tables
end - the upper bound of the range of expando tables (not inclusive)
Returns:
the range of expando tables

getExpandoTablesCount

public int getExpandoTablesCount()
Returns the number of expando tables.

Specified by:
getExpandoTablesCount in interface ExpandoTableLocalService
Returns:
the number of expando tables

getIndexableActionableDynamicQuery

public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Specified by:
getIndexableActionableDynamicQuery in interface ExpandoTableLocalService

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface ExpandoTableLocalService
Returns:
the OSGi service identifier

getPersistedModel

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

getTable

public ExpandoTable getTable(long companyId,
                             String className,
                             String name)
                      throws PortalException
Specified by:
getTable in interface ExpandoTableLocalService
Throws:
PortalException

getTable

public ExpandoTable getTable(long companyId,
                             long classNameId,
                             String name)
                      throws PortalException
Specified by:
getTable in interface ExpandoTableLocalService
Throws:
PortalException

getTable

public ExpandoTable getTable(long tableId)
                      throws PortalException
Specified by:
getTable in interface ExpandoTableLocalService
Throws:
PortalException

getTables

public List<ExpandoTable> getTables(long companyId,
                                    String className)
Specified by:
getTables in interface ExpandoTableLocalService

getTables

public List<ExpandoTable> getTables(long companyId,
                                    long classNameId)
Specified by:
getTables in interface ExpandoTableLocalService

updateExpandoTable

public ExpandoTable updateExpandoTable(ExpandoTable expandoTable)
Updates the expando table in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateExpandoTable in interface ExpandoTableLocalService
Parameters:
expandoTable - the expando table
Returns:
the expando table that was updated

updateTable

public ExpandoTable updateTable(long tableId,
                                String name)
                         throws PortalException
Specified by:
updateTable in interface ExpandoTableLocalService
Throws:
PortalException

getWrappedService

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

setWrappedService

public void setWrappedService(ExpandoTableLocalService expandoTableLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<ExpandoTableLocalService>

Liferay 7.0-ce-b4