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) 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
deleteColumn
(ExpandoColumn column) void
deleteColumns
(long tableId) void
deleteColumns
(long companyId, long classNameId, String tableName) void
deleteColumns
(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> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.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.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) int
getColumnsCount
(long tableId) int
getColumnsCount
(long companyId, long classNameId, String tableName) int
getColumnsCount
(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) int
getDefaultTableColumnsCount
(long companyId, long classNameId) int
getDefaultTableColumnsCount
(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.int
Returns the number of expando columns.Returns the OSGi service identifier.getPersistedModel
(Serializable primaryKeyObj) void
setWrappedService
(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, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
ExpandoColumnLocalServiceWrapper
public ExpandoColumnLocalServiceWrapper() -
ExpandoColumnLocalServiceWrapper
-
-
Method Details
-
addColumn
- Specified by:
addColumn
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
addColumn
public ExpandoColumn addColumn(long tableId, String name, int type, Object defaultData) throws PortalException - Specified by:
addColumn
in 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:
addExpandoColumn
in 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:
createExpandoColumn
in interfaceExpandoColumnLocalService
- Parameters:
columnId
- the primary key for the new expando column- Returns:
- the new expando column
-
createPersistedModel
- Specified by:
createPersistedModel
in interfaceExpandoColumnLocalService
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
deleteColumn
- Specified by:
deleteColumn
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
deleteColumn
- Specified by:
deleteColumn
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
deleteColumn
public void deleteColumn(long companyId, long classNameId, String tableName, String name) throws PortalException - Specified by:
deleteColumn
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
deleteColumn
- Specified by:
deleteColumn
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
deleteColumn
public void deleteColumn(long companyId, String className, String tableName, String name) throws PortalException - Specified by:
deleteColumn
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
deleteColumns
- Specified by:
deleteColumns
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
deleteColumns
public void deleteColumns(long companyId, long classNameId, String tableName) throws PortalException - Specified by:
deleteColumns
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
deleteColumns
public void deleteColumns(long companyId, String className, String tableName) throws PortalException - Specified by:
deleteColumns
in 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:
deleteExpandoColumn
in 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:
deleteExpandoColumn
in 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:
deletePersistedModel
in interfaceExpandoColumnLocalService
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceExpandoColumnLocalService
- Specified by:
dslQuery
in interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceExpandoColumnLocalService
- Specified by:
dslQueryCount
in interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceExpandoColumnLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.expando.model.impl.ExpandoColumnModelImpl
.- Specified by:
dynamicQuery
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.expando.model.impl.ExpandoColumnModelImpl
.- Specified by:
dynamicQuery
in 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchColumn
in interfaceExpandoColumnLocalService
-
fetchColumn
- Specified by:
fetchColumn
in interfaceExpandoColumnLocalService
-
fetchExpandoColumn
- Specified by:
fetchExpandoColumn
in interfaceExpandoColumnLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceExpandoColumnLocalService
-
getColumn
- Specified by:
getColumn
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
getColumn
public ExpandoColumn getColumn(long companyId, long classNameId, String tableName, String name) throws PortalException - Specified by:
getColumn
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
getColumn
- Specified by:
getColumn
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
getColumn
- Specified by:
getColumn
in interfaceExpandoColumnLocalService
-
getColumns
- Specified by:
getColumns
in interfaceExpandoColumnLocalService
-
getColumns
- Specified by:
getColumns
in interfaceExpandoColumnLocalService
-
getColumns
- Specified by:
getColumns
in interfaceExpandoColumnLocalService
-
getColumns
public List<ExpandoColumn> getColumns(long companyId, long classNameId, String tableName, Collection<String> names) - Specified by:
getColumns
in interfaceExpandoColumnLocalService
-
getColumns
- Specified by:
getColumns
in interfaceExpandoColumnLocalService
-
getColumns
public List<ExpandoColumn> getColumns(long companyId, String className, String tableName, Collection<String> columnNames) - Specified by:
getColumns
in interfaceExpandoColumnLocalService
-
getColumnsCount
public int getColumnsCount(long tableId) - Specified by:
getColumnsCount
in interfaceExpandoColumnLocalService
-
getColumnsCount
- Specified by:
getColumnsCount
in interfaceExpandoColumnLocalService
-
getColumnsCount
- Specified by:
getColumnsCount
in interfaceExpandoColumnLocalService
-
getDefaultTableColumn
- Specified by:
getDefaultTableColumn
in interfaceExpandoColumnLocalService
-
getDefaultTableColumn
- Specified by:
getDefaultTableColumn
in interfaceExpandoColumnLocalService
-
getDefaultTableColumns
- Specified by:
getDefaultTableColumns
in interfaceExpandoColumnLocalService
-
getDefaultTableColumns
- Specified by:
getDefaultTableColumns
in interfaceExpandoColumnLocalService
-
getDefaultTableColumnsCount
public int getDefaultTableColumnsCount(long companyId, long classNameId) - Specified by:
getDefaultTableColumnsCount
in interfaceExpandoColumnLocalService
-
getDefaultTableColumnsCount
- Specified by:
getDefaultTableColumnsCount
in interfaceExpandoColumnLocalService
-
getExpandoColumn
Returns the expando column with the primary key.- Specified by:
getExpandoColumn
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.expando.model.impl.ExpandoColumnModelImpl
.- Specified by:
getExpandoColumns
in 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:
getExpandoColumnsCount
in interfaceExpandoColumnLocalService
- Returns:
- the number of expando columns
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceExpandoColumnLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceExpandoColumnLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfaceExpandoColumnLocalService
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
updateColumn
- Specified by:
updateColumn
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
updateColumn
public ExpandoColumn updateColumn(long columnId, String name, int type, Object defaultData) throws PortalException - Specified by:
updateColumn
in 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:
updateExpandoColumn
in interfaceExpandoColumnLocalService
- Parameters:
expandoColumn
- the expando column- Returns:
- the expando column that was updated
-
updateTypeSettings
- Specified by:
updateTypeSettings
in interfaceExpandoColumnLocalService
- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistence
in interfaceCTService<ExpandoColumn>
- Specified by:
getCTPersistence
in interfaceExpandoColumnLocalService
-
getModelClass
- Specified by:
getModelClass
in interfaceCTService<ExpandoColumn>
- Specified by:
getModelClass
in interfaceExpandoColumnLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<ExpandoColumn>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceCTService<ExpandoColumn>
- Specified by:
updateWithUnsafeFunction
in interfaceExpandoColumnLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<ExpandoColumnLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<ExpandoColumnLocalService>
-