Class ExpandoColumnLocalServiceWrapper
- All Implemented Interfaces:
ExpandoColumnLocalService,BaseLocalService,CTService<ExpandoColumn>,PersistedModelLocalService,ServiceWrapper<ExpandoColumnLocalService>
ExpandoColumnLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionExpandoColumnLocalServiceWrapper(ExpandoColumnLocalService expandoColumnLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddExpandoColumn(ExpandoColumn expandoColumn) Adds the expando column to the database.createExpandoColumn(long columnId) Creates a new expando column with the primary key.createPersistedModel(Serializable primaryKeyObj) voiddeleteColumn(long columnId) voiddeleteColumn(long companyId, long classNameId, String tableName, String name) voiddeleteColumn(long tableId, String name) voiddeleteColumn(long companyId, String className, String tableName, String name) voiddeleteColumn(ExpandoColumn column) voiddeleteColumns(long tableId) voiddeleteColumns(long companyId, long classNameId, String tableName) voiddeleteColumns(long companyId, String className, String tableName) deleteExpandoColumn(long columnId) Deletes the expando column with the primary key from the database.deleteExpandoColumn(ExpandoColumn expandoColumn) Deletes the expando column from the database.deletePersistedModel(PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <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.longdynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.fetchColumn(long companyId, long classNameId, String tableName, String name) fetchColumn(long tableId, String name) fetchExpandoColumn(long columnId) getColumn(long columnId) getColumns(long tableId) getColumns(long companyId, long classNameId, String tableName) getColumns(long companyId, long classNameId, String tableName, Collection<String> names) getColumns(long companyId, String className, String tableName) getColumns(long companyId, String className, String tableName, Collection<String> columnNames) getColumns(long tableId, Collection<String> names) intgetColumnsCount(long tableId) intgetColumnsCount(long companyId, long classNameId, String tableName) intgetColumnsCount(long companyId, String className, String tableName) getDefaultTableColumn(long companyId, long classNameId, String name) getDefaultTableColumn(long companyId, String className, String name) getDefaultTableColumns(long companyId, long classNameId) getDefaultTableColumns(long companyId, String className) intgetDefaultTableColumnsCount(long companyId, long classNameId) intgetDefaultTableColumnsCount(long companyId, String className) getExpandoColumn(long columnId) Returns the expando column with the primary key.getExpandoColumns(int start, int end) Returns a range of all the expando columns.intReturns the number of expando columns.Returns the OSGi service identifier.getPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(ExpandoColumnLocalService expandoColumnLocalService) updateColumn(long columnId, String name, int type) updateColumn(long columnId, String name, int type, Object defaultData) updateExpandoColumn(ExpandoColumn expandoColumn) Updates the expando column in the database or adds it if it does not yet exist.updateTypeSettings(long columnId, String typeSettings) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<ExpandoColumn>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
ExpandoColumnLocalServiceWrapper
public ExpandoColumnLocalServiceWrapper() -
ExpandoColumnLocalServiceWrapper
-
-
Method Details
-
addColumn
- Specified by:
addColumnin interfaceExpandoColumnLocalService- Throws:
PortalException
-
addColumn
public ExpandoColumn addColumn(long tableId, String name, int type, Object defaultData) throws PortalException - Specified by:
addColumnin interfaceExpandoColumnLocalService- Throws:
PortalException
-
addExpandoColumn
Adds the expando column to the database. Also notifies the appropriate model listeners.Important: Inspect ExpandoColumnLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addExpandoColumnin interfaceExpandoColumnLocalService- Parameters:
expandoColumn- the expando column- Returns:
- the expando column that was added
-
createExpandoColumn
Creates a new expando column with the primary key. Does not add the expando column to the database.- Specified by:
createExpandoColumnin interfaceExpandoColumnLocalService- Parameters:
columnId- the primary key for the new expando column- Returns:
- the new expando column
-
createPersistedModel
- Specified by:
createPersistedModelin interfaceExpandoColumnLocalService- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
deleteColumn
- Specified by:
deleteColumnin interfaceExpandoColumnLocalService- Throws:
PortalException
-
deleteColumn
- Specified by:
deleteColumnin interfaceExpandoColumnLocalService- Throws:
PortalException
-
deleteColumn
public void deleteColumn(long companyId, long classNameId, String tableName, String name) throws PortalException - Specified by:
deleteColumnin interfaceExpandoColumnLocalService- Throws:
PortalException
-
deleteColumn
- Specified by:
deleteColumnin interfaceExpandoColumnLocalService- Throws:
PortalException
-
deleteColumn
public void deleteColumn(long companyId, String className, String tableName, String name) throws PortalException - Specified by:
deleteColumnin interfaceExpandoColumnLocalService- Throws:
PortalException
-
deleteColumns
- Specified by:
deleteColumnsin interfaceExpandoColumnLocalService- Throws:
PortalException
-
deleteColumns
public void deleteColumns(long companyId, long classNameId, String tableName) throws PortalException - Specified by:
deleteColumnsin interfaceExpandoColumnLocalService- Throws:
PortalException
-
deleteColumns
public void deleteColumns(long companyId, String className, String tableName) throws PortalException - Specified by:
deleteColumnsin interfaceExpandoColumnLocalService- Throws:
PortalException
-
deleteExpandoColumn
Deletes the expando column from the database. Also notifies the appropriate model listeners.Important: Inspect ExpandoColumnLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteExpandoColumnin interfaceExpandoColumnLocalService- Parameters:
expandoColumn- the expando column- Returns:
- the expando column that was removed
-
deleteExpandoColumn
Deletes the expando column with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect ExpandoColumnLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteExpandoColumnin interfaceExpandoColumnLocalService- 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 foundPortalException
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfaceExpandoColumnLocalService- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceExpandoColumnLocalService- Specified by:
dslQueryin interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceExpandoColumnLocalService- Specified by:
dslQueryCountin interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceExpandoColumnLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceExpandoColumnLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.expando.model.impl.ExpandoColumnModelImpl.- Specified by:
dynamicQueryin interfaceExpandoColumnLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.expando.model.impl.ExpandoColumnModelImpl.- Specified by:
dynamicQueryin interfaceExpandoColumnLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceExpandoColumnLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceExpandoColumnLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchColumn
- Specified by:
fetchColumnin interfaceExpandoColumnLocalService
-
fetchColumn
- Specified by:
fetchColumnin interfaceExpandoColumnLocalService
-
fetchExpandoColumn
- Specified by:
fetchExpandoColumnin interfaceExpandoColumnLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceExpandoColumnLocalService
-
getColumn
- Specified by:
getColumnin interfaceExpandoColumnLocalService- Throws:
PortalException
-
getColumn
public ExpandoColumn getColumn(long companyId, long classNameId, String tableName, String name) throws PortalException - Specified by:
getColumnin interfaceExpandoColumnLocalService- Throws:
PortalException
-
getColumn
- Specified by:
getColumnin interfaceExpandoColumnLocalService- Throws:
PortalException
-
getColumn
- Specified by:
getColumnin interfaceExpandoColumnLocalService
-
getColumns
- Specified by:
getColumnsin interfaceExpandoColumnLocalService
-
getColumns
- Specified by:
getColumnsin interfaceExpandoColumnLocalService
-
getColumns
- Specified by:
getColumnsin interfaceExpandoColumnLocalService
-
getColumns
public List<ExpandoColumn> getColumns(long companyId, long classNameId, String tableName, Collection<String> names) - Specified by:
getColumnsin interfaceExpandoColumnLocalService
-
getColumns
- Specified by:
getColumnsin interfaceExpandoColumnLocalService
-
getColumns
public List<ExpandoColumn> getColumns(long companyId, String className, String tableName, Collection<String> columnNames) - Specified by:
getColumnsin interfaceExpandoColumnLocalService
-
getColumnsCount
public int getColumnsCount(long tableId) - Specified by:
getColumnsCountin interfaceExpandoColumnLocalService
-
getColumnsCount
- Specified by:
getColumnsCountin interfaceExpandoColumnLocalService
-
getColumnsCount
- Specified by:
getColumnsCountin interfaceExpandoColumnLocalService
-
getDefaultTableColumn
- Specified by:
getDefaultTableColumnin interfaceExpandoColumnLocalService
-
getDefaultTableColumn
- Specified by:
getDefaultTableColumnin interfaceExpandoColumnLocalService
-
getDefaultTableColumns
- Specified by:
getDefaultTableColumnsin interfaceExpandoColumnLocalService
-
getDefaultTableColumns
- Specified by:
getDefaultTableColumnsin interfaceExpandoColumnLocalService
-
getDefaultTableColumnsCount
public int getDefaultTableColumnsCount(long companyId, long classNameId) - Specified by:
getDefaultTableColumnsCountin interfaceExpandoColumnLocalService
-
getDefaultTableColumnsCount
- Specified by:
getDefaultTableColumnsCountin interfaceExpandoColumnLocalService
-
getExpandoColumn
Returns the expando column with the primary key.- Specified by:
getExpandoColumnin interfaceExpandoColumnLocalService- 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 foundPortalException
-
getExpandoColumns
Returns a range of all the expando columns.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.expando.model.impl.ExpandoColumnModelImpl.- Specified by:
getExpandoColumnsin interfaceExpandoColumnLocalService- Parameters:
start- the lower bound of the range of expando columnsend- 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:
getExpandoColumnsCountin interfaceExpandoColumnLocalService- Returns:
- the number of expando columns
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceExpandoColumnLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceExpandoColumnLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfaceExpandoColumnLocalService- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
updateColumn
- Specified by:
updateColumnin interfaceExpandoColumnLocalService- Throws:
PortalException
-
updateColumn
public ExpandoColumn updateColumn(long columnId, String name, int type, Object defaultData) throws PortalException - Specified by:
updateColumnin interfaceExpandoColumnLocalService- Throws:
PortalException
-
updateExpandoColumn
Updates the expando column in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect ExpandoColumnLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateExpandoColumnin interfaceExpandoColumnLocalService- Parameters:
expandoColumn- the expando column- Returns:
- the expando column that was updated
-
updateTypeSettings
- Specified by:
updateTypeSettingsin interfaceExpandoColumnLocalService- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistencein interfaceCTService<ExpandoColumn>- Specified by:
getCTPersistencein interfaceExpandoColumnLocalService
-
getModelClass
- Specified by:
getModelClassin interfaceCTService<ExpandoColumn>- Specified by:
getModelClassin interfaceExpandoColumnLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<ExpandoColumn>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceCTService<ExpandoColumn>- Specified by:
updateWithUnsafeFunctionin interfaceExpandoColumnLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<ExpandoColumnLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<ExpandoColumnLocalService>
-