Class ClassNameLocalServiceWrapper
- All Implemented Interfaces:
BaseLocalService,ClassNameLocalService,PersistedModelLocalService,ServiceWrapper<ClassNameLocalService>
ClassNameLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddClassName(ClassName className) Adds the class name to the database.addClassName(String value) voidcreateClassName(long classNameId) Creates a new class name with the primary key.createPersistedModel(Serializable primaryKeyObj) deleteClassName(long classNameId) Deletes the class name with the primary key from the database.deleteClassName(ClassName className) Deletes the class name 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.fetchByClassNameId(long classNameId) fetchClassName(long classNameId) fetchClassName(String value) getClassName(long classNameId) Returns the class name with the primary key.getClassName(String value) longgetClassNameId(Class<?> clazz) longgetClassNameId(String value) Supplier<long[]>getClassNameIdsSupplier(String[] classNames) getClassNameIdSupplier(String className) getClassNames(int start, int end) Returns a range of all the class names.intReturns the number of class names.Returns the OSGi service identifier.getPersistedModel(Serializable primaryKeyObj) voidvoidsetWrappedService(ClassNameLocalService classNameLocalService) updateClassName(ClassName className) Updates the class name in the database or adds it if it does not yet exist.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
-
ClassNameLocalServiceWrapper
public ClassNameLocalServiceWrapper() -
ClassNameLocalServiceWrapper
-
-
Method Details
-
addClassName
Adds the class name to the database. Also notifies the appropriate model listeners.Important: Inspect ClassNameLocalServiceImpl 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:
addClassNamein interfaceClassNameLocalService- Parameters:
className- the class name- Returns:
- the class name that was added
-
addClassName
- Specified by:
addClassNamein interfaceClassNameLocalService
-
checkClassNames
public void checkClassNames()- Specified by:
checkClassNamesin interfaceClassNameLocalService
-
createClassName
Creates a new class name with the primary key. Does not add the class name to the database.- Specified by:
createClassNamein interfaceClassNameLocalService- Parameters:
classNameId- the primary key for the new class name- Returns:
- the new class name
-
createPersistedModel
- Specified by:
createPersistedModelin interfaceClassNameLocalService- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
deleteClassName
Deletes the class name from the database. Also notifies the appropriate model listeners.Important: Inspect ClassNameLocalServiceImpl 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:
deleteClassNamein interfaceClassNameLocalService- Parameters:
className- the class name- Returns:
- the class name that was removed
-
deleteClassName
Deletes the class name with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect ClassNameLocalServiceImpl 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:
deleteClassNamein interfaceClassNameLocalService- Parameters:
classNameId- the primary key of the class name- Returns:
- the class name that was removed
- Throws:
PortalException- if a class name with the primary key could not be foundPortalException
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfaceClassNameLocalService- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceClassNameLocalService- Specified by:
dslQueryin interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceClassNameLocalService- Specified by:
dslQueryCountin interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceClassNameLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceClassNameLocalService- 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.portal.model.impl.ClassNameModelImpl.- Specified by:
dynamicQueryin interfaceClassNameLocalService- 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.portal.model.impl.ClassNameModelImpl.- Specified by:
dynamicQueryin interfaceClassNameLocalService- 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 interfaceClassNameLocalService- 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 interfaceClassNameLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchByClassNameId
- Specified by:
fetchByClassNameIdin interfaceClassNameLocalService
-
fetchClassName
- Specified by:
fetchClassNamein interfaceClassNameLocalService
-
fetchClassName
- Specified by:
fetchClassNamein interfaceClassNameLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceClassNameLocalService
-
getClassName
Returns the class name with the primary key.- Specified by:
getClassNamein interfaceClassNameLocalService- Parameters:
classNameId- the primary key of the class name- Returns:
- the class name
- Throws:
PortalException- if a class name with the primary key could not be foundPortalException
-
getClassName
- Specified by:
getClassNamein interfaceClassNameLocalService
-
getClassNameId
- Specified by:
getClassNameIdin interfaceClassNameLocalService
-
getClassNameId
- Specified by:
getClassNameIdin interfaceClassNameLocalService
-
getClassNameIdsSupplier
- Specified by:
getClassNameIdsSupplierin interfaceClassNameLocalService
-
getClassNameIdSupplier
- Specified by:
getClassNameIdSupplierin interfaceClassNameLocalService
-
getClassNames
Returns a range of all the class names.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.portal.model.impl.ClassNameModelImpl.- Specified by:
getClassNamesin interfaceClassNameLocalService- Parameters:
start- the lower bound of the range of class namesend- the upper bound of the range of class names (not inclusive)- Returns:
- the range of class names
-
getClassNamesCount
public int getClassNamesCount()Returns the number of class names.- Specified by:
getClassNamesCountin interfaceClassNameLocalService- Returns:
- the number of class names
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceClassNameLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceClassNameLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfaceClassNameLocalService- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
getRegistryName
- Specified by:
getRegistryNamein interfaceClassNameLocalService
-
invalidate
public void invalidate()- Specified by:
invalidatein interfaceClassNameLocalService
-
updateClassName
Updates the class name in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect ClassNameLocalServiceImpl 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:
updateClassNamein interfaceClassNameLocalService- Parameters:
className- the class name- Returns:
- the class name that was updated
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<ClassNameLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<ClassNameLocalService>
-