Liferay 7.0-ce-b4

com.liferay.portlet.expando.service
Class ExpandoColumnLocalServiceWrapper

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

@ProviderType
public class ExpandoColumnLocalServiceWrapper
extends Object
implements ExpandoColumnLocalService, ServiceWrapper<ExpandoColumnLocalService>

Provides a wrapper for ExpandoColumnLocalService.

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

Constructor Summary
ExpandoColumnLocalServiceWrapper(ExpandoColumnLocalService expandoColumnLocalService)
           
 
Method Summary
 ExpandoColumn addColumn(long tableId, String name, int type)
           
 ExpandoColumn addColumn(long tableId, String name, int type, Object defaultData)
           
 ExpandoColumn addExpandoColumn(ExpandoColumn expandoColumn)
          Adds the expando column to the database.
 ExpandoColumn createExpandoColumn(long columnId)
          Creates a new expando column with the primary key.
 void deleteColumn(ExpandoColumn column)
           
 void deleteColumn(long columnId)
           
 void deleteColumn(long companyId, long classNameId, String tableName, String name)
           
 void deleteColumn(long tableId, String name)
           
 void deleteColumn(long companyId, String className, String tableName, String name)
           
 void deleteColumns(long tableId)
           
 void deleteColumns(long companyId, long classNameId, String tableName)
           
 void deleteColumns(long companyId, String className, String tableName)
           
 ExpandoColumn deleteExpandoColumn(ExpandoColumn expandoColumn)
          Deletes the expando column from the database.
 ExpandoColumn deleteExpandoColumn(long columnId)
          Deletes the expando column with the primary key from the database.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 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.
 ExpandoColumn fetchExpandoColumn(long columnId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 ExpandoColumn getColumn(long columnId)
           
 ExpandoColumn getColumn(long companyId, long classNameId, String tableName, String name)
           
 ExpandoColumn getColumn(long tableId, String name)
           
 ExpandoColumn getColumn(long companyId, String className, String tableName, String name)
           
 List<ExpandoColumn> getColumns(long tableId)
           
 List<ExpandoColumn> getColumns(long tableId, Collection<String> names)
           
 List<ExpandoColumn> getColumns(long companyId, long classNameId, String tableName)
           
 List<ExpandoColumn> getColumns(long companyId, long classNameId, String tableName, Collection<String> names)
           
 List<ExpandoColumn> getColumns(long companyId, String className, String tableName)
           
 List<ExpandoColumn> getColumns(long companyId, String className, String tableName, Collection<String> columnNames)
           
 int getColumnsCount(long tableId)
           
 int getColumnsCount(long companyId, long classNameId, String tableName)
           
 int getColumnsCount(long companyId, String className, String tableName)
           
 ExpandoColumn getDefaultTableColumn(long companyId, long classNameId, String name)
           
 ExpandoColumn getDefaultTableColumn(long companyId, String className, String name)
           
 List<ExpandoColumn> getDefaultTableColumns(long companyId, long classNameId)
           
 List<ExpandoColumn> getDefaultTableColumns(long companyId, String className)
           
 int getDefaultTableColumnsCount(long companyId, long classNameId)
           
 int getDefaultTableColumnsCount(long companyId, String className)
           
 ExpandoColumn getExpandoColumn(long columnId)
          Returns the expando column with the primary key.
 List<ExpandoColumn> getExpandoColumns(int start, int end)
          Returns a range of all the expando columns.
 int getExpandoColumnsCount()
          Returns the number of expando columns.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ExpandoColumnLocalService getWrappedService()
           
 void setWrappedService(ExpandoColumnLocalService expandoColumnLocalService)
           
 ExpandoColumn updateColumn(long columnId, String name, int type)
           
 ExpandoColumn updateColumn(long columnId, String name, int type, Object defaultData)
           
 ExpandoColumn updateExpandoColumn(ExpandoColumn expandoColumn)
          Updates the expando column in the database or adds it if it does not yet exist.
 ExpandoColumn updateTypeSettings(long columnId, String typeSettings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoColumnLocalServiceWrapper

public ExpandoColumnLocalServiceWrapper(ExpandoColumnLocalService expandoColumnLocalService)
Method Detail

addColumn

public ExpandoColumn addColumn(long tableId,
                               String name,
                               int type)
                        throws PortalException
Specified by:
addColumn in interface ExpandoColumnLocalService
Throws:
PortalException

addColumn

public ExpandoColumn addColumn(long tableId,
                               String name,
                               int type,
                               Object defaultData)
                        throws PortalException
Specified by:
addColumn in interface ExpandoColumnLocalService
Throws:
PortalException

addExpandoColumn

public ExpandoColumn addExpandoColumn(ExpandoColumn expandoColumn)
Adds the expando column to the database. Also notifies the appropriate model listeners.

Specified by:
addExpandoColumn in interface ExpandoColumnLocalService
Parameters:
expandoColumn - the expando column
Returns:
the expando column that was added

createExpandoColumn

public ExpandoColumn createExpandoColumn(long columnId)
Creates a new expando column with the primary key. Does not add the expando column to the database.

Specified by:
createExpandoColumn in interface ExpandoColumnLocalService
Parameters:
columnId - the primary key for the new expando column
Returns:
the new expando column

deleteColumn

public void deleteColumn(ExpandoColumn column)
Specified by:
deleteColumn in interface ExpandoColumnLocalService

deleteColumn

public void deleteColumn(long columnId)
                  throws PortalException
Specified by:
deleteColumn in interface ExpandoColumnLocalService
Throws:
PortalException

deleteColumn

public void deleteColumn(long companyId,
                         String className,
                         String tableName,
                         String name)
                  throws PortalException
Specified by:
deleteColumn in interface ExpandoColumnLocalService
Throws:
PortalException

deleteColumn

public void deleteColumn(long companyId,
                         long classNameId,
                         String tableName,
                         String name)
                  throws PortalException
Specified by:
deleteColumn in interface ExpandoColumnLocalService
Throws:
PortalException

deleteColumn

public void deleteColumn(long tableId,
                         String name)
Specified by:
deleteColumn in interface ExpandoColumnLocalService

deleteColumns

public void deleteColumns(long companyId,
                          String className,
                          String tableName)
                   throws PortalException
Specified by:
deleteColumns in interface ExpandoColumnLocalService
Throws:
PortalException

deleteColumns

public void deleteColumns(long companyId,
                          long classNameId,
                          String tableName)
                   throws PortalException
Specified by:
deleteColumns in interface ExpandoColumnLocalService
Throws:
PortalException

deleteColumns

public void deleteColumns(long tableId)
Specified by:
deleteColumns in interface ExpandoColumnLocalService

deleteExpandoColumn

public ExpandoColumn deleteExpandoColumn(long columnId)
                                  throws PortalException
Deletes the expando column with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteExpandoColumn in interface ExpandoColumnLocalService
Parameters:
columnId - the primary key of the expando column
Returns:
the expando column that was removed
Throws:
PortalException - if a expando column with the primary key could not be found

deleteExpandoColumn

public ExpandoColumn deleteExpandoColumn(ExpandoColumn expandoColumn)
Deletes the expando column from the database. Also notifies the appropriate model listeners.

Specified by:
deleteExpandoColumn in interface ExpandoColumnLocalService
Parameters:
expandoColumn - the expando column
Returns:
the expando column that was removed

deletePersistedModel

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

dynamicQuery

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

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 ExpandoColumnLocalService
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 ExpandoColumnModelImpl. 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 ExpandoColumnLocalService
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 ExpandoColumnModelImpl. 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 ExpandoColumnLocalService
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 ExpandoColumnLocalService
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 ExpandoColumnLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchExpandoColumn

public ExpandoColumn fetchExpandoColumn(long columnId)
Specified by:
fetchExpandoColumn in interface ExpandoColumnLocalService

getActionableDynamicQuery

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

getColumn

public ExpandoColumn getColumn(long columnId)
                        throws PortalException
Specified by:
getColumn in interface ExpandoColumnLocalService
Throws:
PortalException

getColumn

public ExpandoColumn getColumn(long companyId,
                               String className,
                               String tableName,
                               String name)
Specified by:
getColumn in interface ExpandoColumnLocalService

getColumn

public ExpandoColumn getColumn(long companyId,
                               long classNameId,
                               String tableName,
                               String name)
Specified by:
getColumn in interface ExpandoColumnLocalService

getColumn

public ExpandoColumn getColumn(long tableId,
                               String name)
Specified by:
getColumn in interface ExpandoColumnLocalService

getColumns

public List<ExpandoColumn> getColumns(long companyId,
                                      String className,
                                      String tableName)
Specified by:
getColumns in interface ExpandoColumnLocalService

getColumns

public List<ExpandoColumn> getColumns(long companyId,
                                      String className,
                                      String tableName,
                                      Collection<String> columnNames)
Specified by:
getColumns in interface ExpandoColumnLocalService

getColumns

public List<ExpandoColumn> getColumns(long companyId,
                                      long classNameId,
                                      String tableName)
Specified by:
getColumns in interface ExpandoColumnLocalService

getColumns

public List<ExpandoColumn> getColumns(long companyId,
                                      long classNameId,
                                      String tableName,
                                      Collection<String> names)
Specified by:
getColumns in interface ExpandoColumnLocalService

getColumns

public List<ExpandoColumn> getColumns(long tableId)
Specified by:
getColumns in interface ExpandoColumnLocalService

getColumns

public List<ExpandoColumn> getColumns(long tableId,
                                      Collection<String> names)
Specified by:
getColumns in interface ExpandoColumnLocalService

getColumnsCount

public int getColumnsCount(long companyId,
                           String className,
                           String tableName)
Specified by:
getColumnsCount in interface ExpandoColumnLocalService

getColumnsCount

public int getColumnsCount(long companyId,
                           long classNameId,
                           String tableName)
Specified by:
getColumnsCount in interface ExpandoColumnLocalService

getColumnsCount

public int getColumnsCount(long tableId)
Specified by:
getColumnsCount in interface ExpandoColumnLocalService

getDefaultTableColumn

public ExpandoColumn getDefaultTableColumn(long companyId,
                                           String className,
                                           String name)
Specified by:
getDefaultTableColumn in interface ExpandoColumnLocalService

getDefaultTableColumn

public ExpandoColumn getDefaultTableColumn(long companyId,
                                           long classNameId,
                                           String name)
Specified by:
getDefaultTableColumn in interface ExpandoColumnLocalService

getDefaultTableColumns

public List<ExpandoColumn> getDefaultTableColumns(long companyId,
                                                  String className)
Specified by:
getDefaultTableColumns in interface ExpandoColumnLocalService

getDefaultTableColumns

public List<ExpandoColumn> getDefaultTableColumns(long companyId,
                                                  long classNameId)
Specified by:
getDefaultTableColumns in interface ExpandoColumnLocalService

getDefaultTableColumnsCount

public int getDefaultTableColumnsCount(long companyId,
                                       String className)
Specified by:
getDefaultTableColumnsCount in interface ExpandoColumnLocalService

getDefaultTableColumnsCount

public int getDefaultTableColumnsCount(long companyId,
                                       long classNameId)
Specified by:
getDefaultTableColumnsCount in interface ExpandoColumnLocalService

getExpandoColumn

public ExpandoColumn getExpandoColumn(long columnId)
                               throws PortalException
Returns the expando column with the primary key.

Specified by:
getExpandoColumn in interface ExpandoColumnLocalService
Parameters:
columnId - the primary key of the expando column
Returns:
the expando column
Throws:
PortalException - if a expando column with the primary key could not be found

getExpandoColumns

public List<ExpandoColumn> getExpandoColumns(int start,
                                             int end)
Returns a range of all the expando columns.

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 ExpandoColumnModelImpl. 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:
getExpandoColumns in interface ExpandoColumnLocalService
Parameters:
start - the lower bound of the range of expando columns
end - the upper bound of the range of expando columns (not inclusive)
Returns:
the range of expando columns

getExpandoColumnsCount

public int getExpandoColumnsCount()
Returns the number of expando columns.

Specified by:
getExpandoColumnsCount in interface ExpandoColumnLocalService
Returns:
the number of expando columns

getIndexableActionableDynamicQuery

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

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

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

getPersistedModel

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

updateColumn

public ExpandoColumn updateColumn(long columnId,
                                  String name,
                                  int type)
                           throws PortalException
Specified by:
updateColumn in interface ExpandoColumnLocalService
Throws:
PortalException

updateColumn

public ExpandoColumn updateColumn(long columnId,
                                  String name,
                                  int type,
                                  Object defaultData)
                           throws PortalException
Specified by:
updateColumn in interface ExpandoColumnLocalService
Throws:
PortalException

updateExpandoColumn

public ExpandoColumn updateExpandoColumn(ExpandoColumn expandoColumn)
Updates the expando column in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateExpandoColumn in interface ExpandoColumnLocalService
Parameters:
expandoColumn - the expando column
Returns:
the expando column that was updated

updateTypeSettings

public ExpandoColumn updateTypeSettings(long columnId,
                                        String typeSettings)
                                 throws PortalException
Specified by:
updateTypeSettings in interface ExpandoColumnLocalService
Throws:
PortalException

getWrappedService

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

setWrappedService

public void setWrappedService(ExpandoColumnLocalService expandoColumnLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<ExpandoColumnLocalService>

Liferay 7.0-ce-b4