Class KaleoDefinitionLocalServiceWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<KaleoDefinition>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<KaleoDefinitionLocalService>,KaleoDefinitionLocalService
KaleoDefinitionLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionKaleoDefinitionLocalServiceWrapper(KaleoDefinitionLocalService kaleoDefinitionLocalService) -
Method Summary
Modifier and TypeMethodDescriptionactivateKaleoDefinition(long kaleoDefinitionId, long kaleoDefinitionVersionId, long startKaleoNodeId, com.liferay.portal.kernel.service.ServiceContext serviceContext) activateKaleoDefinition(long kaleoDefinitionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) activateKaleoDefinition(String name, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) addKaleoDefinition(KaleoDefinition kaleoDefinition) Adds the kaleo definition to the database.addKaleoDefinition(String externalReferenceCode, String name, String title, String description, String content, String scope, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) createKaleoDefinition(long kaleoDefinitionId) Creates a new kaleo definition with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deactivateKaleoDefinition(String name, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) voiddeleteCompanyKaleoDefinitions(long companyId) deleteKaleoDefinition(long kaleoDefinitionId) Deletes the kaleo definition with the primary key from the database.deleteKaleoDefinition(KaleoDefinition kaleoDefinition) Deletes the kaleo definition from the database.voiddeleteKaleoDefinition(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchKaleoDefinition(long kaleoDefinitionId) fetchKaleoDefinition(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) fetchKaleoDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) fetchKaleoDefinitionByUuidAndGroupId(String uuid, long groupId) Returns the kaleo definition matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoDefinition>com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetKaleoDefinition(long kaleoDefinitionId) Returns the kaleo definition with the primary key.getKaleoDefinition(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) getKaleoDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) getKaleoDefinitionByUuidAndGroupId(String uuid, long groupId) Returns the kaleo definition matching the UUID and group.getKaleoDefinitions(boolean active, int start, int end) getKaleoDefinitions(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, com.liferay.portal.kernel.service.ServiceContext serviceContext) getKaleoDefinitions(int start, int end) Returns a range of all the kaleo definitions.getKaleoDefinitions(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, com.liferay.portal.kernel.service.ServiceContext serviceContext) getKaleoDefinitionsByUuidAndCompanyId(String uuid, long companyId) Returns all the kaleo definitions matching the UUID and company.getKaleoDefinitionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns a range of kaleo definitions matching the UUID and company.intReturns the number of kaleo definitions.intgetKaleoDefinitionsCount(boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) intgetKaleoDefinitionsCount(com.liferay.portal.kernel.service.ServiceContext serviceContext) intgetKaleoDefinitionsCount(String name, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) intgetKaleoDefinitionsCount(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) getScopeKaleoDefinitions(String scope, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, com.liferay.portal.kernel.service.ServiceContext serviceContext) getScopeKaleoDefinitions(String scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, com.liferay.portal.kernel.service.ServiceContext serviceContext) intgetScopeKaleoDefinitionsCount(String scope, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) intgetScopeKaleoDefinitionsCount(String scope, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidsetWrappedService(KaleoDefinitionLocalService kaleoDefinitionLocalService) updatedKaleoDefinition(String externalReferenceCode, long kaleoDefinitionId, String title, String description, String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateKaleoDefinition(KaleoDefinition kaleoDefinition) Updates the kaleo definition in the database or adds it if it does not yet exist.<R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoDefinition>, 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
-
KaleoDefinitionLocalServiceWrapper
public KaleoDefinitionLocalServiceWrapper() -
KaleoDefinitionLocalServiceWrapper
-
-
Method Details
-
activateKaleoDefinition
public KaleoDefinition activateKaleoDefinition(long kaleoDefinitionId, long kaleoDefinitionVersionId, long startKaleoNodeId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
activateKaleoDefinitionin interfaceKaleoDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
activateKaleoDefinition
public KaleoDefinition activateKaleoDefinition(long kaleoDefinitionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
activateKaleoDefinitionin interfaceKaleoDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
activateKaleoDefinition
public KaleoDefinition activateKaleoDefinition(String name, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
activateKaleoDefinitionin interfaceKaleoDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addKaleoDefinition
Adds the kaleo definition to the database. Also notifies the appropriate model listeners.Important: Inspect KaleoDefinitionLocalServiceImpl 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:
addKaleoDefinitionin interfaceKaleoDefinitionLocalService- Parameters:
kaleoDefinition- the kaleo definition- Returns:
- the kaleo definition that was added
-
addKaleoDefinition
public KaleoDefinition addKaleoDefinition(String externalReferenceCode, String name, String title, String description, String content, String scope, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addKaleoDefinitionin interfaceKaleoDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createKaleoDefinition
Creates a new kaleo definition with the primary key. Does not add the kaleo definition to the database.- Specified by:
createKaleoDefinitionin interfaceKaleoDefinitionLocalService- Parameters:
kaleoDefinitionId- the primary key for the new kaleo definition- Returns:
- the new kaleo definition
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceKaleoDefinitionLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deactivateKaleoDefinition
public KaleoDefinition deactivateKaleoDefinition(String name, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deactivateKaleoDefinitionin interfaceKaleoDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCompanyKaleoDefinitions
public void deleteCompanyKaleoDefinitions(long companyId) - Specified by:
deleteCompanyKaleoDefinitionsin interfaceKaleoDefinitionLocalService
-
deleteKaleoDefinition
Deletes the kaleo definition from the database. Also notifies the appropriate model listeners.Important: Inspect KaleoDefinitionLocalServiceImpl 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:
deleteKaleoDefinitionin interfaceKaleoDefinitionLocalService- Parameters:
kaleoDefinition- the kaleo definition- Returns:
- the kaleo definition that was removed
-
deleteKaleoDefinition
public KaleoDefinition deleteKaleoDefinition(long kaleoDefinitionId) throws com.liferay.portal.kernel.exception.PortalException Deletes the kaleo definition with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect KaleoDefinitionLocalServiceImpl 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:
deleteKaleoDefinitionin interfaceKaleoDefinitionLocalService- Parameters:
kaleoDefinitionId- the primary key of the kaleo definition- Returns:
- the kaleo definition that was removed
- Throws:
PortalException- if a kaleo definition with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteKaleoDefinition
public void deleteKaleoDefinition(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteKaleoDefinitionin interfaceKaleoDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfaceKaleoDefinitionLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceKaleoDefinitionLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceKaleoDefinitionLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceKaleoDefinitionLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceKaleoDefinitionLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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 - 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.workflow.kaleo.model.impl.KaleoDefinitionModelImpl.- Specified by:
dynamicQueryin interfaceKaleoDefinitionLocalService- 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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.workflow.kaleo.model.impl.KaleoDefinitionModelImpl.- Specified by:
dynamicQueryin interfaceKaleoDefinitionLocalService- 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
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceKaleoDefinitionLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceKaleoDefinitionLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchKaleoDefinition
- Specified by:
fetchKaleoDefinitionin interfaceKaleoDefinitionLocalService
-
fetchKaleoDefinition
public KaleoDefinition fetchKaleoDefinition(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
fetchKaleoDefinitionin interfaceKaleoDefinitionLocalService
-
fetchKaleoDefinitionByExternalReferenceCode
public KaleoDefinition fetchKaleoDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) - Specified by:
fetchKaleoDefinitionByExternalReferenceCodein interfaceKaleoDefinitionLocalService
-
fetchKaleoDefinitionByUuidAndGroupId
Returns the kaleo definition matching the UUID and group.- Specified by:
fetchKaleoDefinitionByUuidAndGroupIdin interfaceKaleoDefinitionLocalService- Parameters:
uuid- the kaleo definition's UUIDgroupId- the primary key of the group- Returns:
- the matching kaleo definition, or
nullif a matching kaleo definition could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceKaleoDefinitionLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceKaleoDefinitionLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceKaleoDefinitionLocalService
-
getKaleoDefinition
public KaleoDefinition getKaleoDefinition(long kaleoDefinitionId) throws com.liferay.portal.kernel.exception.PortalException Returns the kaleo definition with the primary key.- Specified by:
getKaleoDefinitionin interfaceKaleoDefinitionLocalService- Parameters:
kaleoDefinitionId- the primary key of the kaleo definition- Returns:
- the kaleo definition
- Throws:
PortalException- if a kaleo definition with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getKaleoDefinition
public KaleoDefinition getKaleoDefinition(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKaleoDefinitionin interfaceKaleoDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKaleoDefinitionByExternalReferenceCode
public KaleoDefinition getKaleoDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKaleoDefinitionByExternalReferenceCodein interfaceKaleoDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKaleoDefinitionByUuidAndGroupId
public KaleoDefinition getKaleoDefinitionByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the kaleo definition matching the UUID and group.- Specified by:
getKaleoDefinitionByUuidAndGroupIdin interfaceKaleoDefinitionLocalService- Parameters:
uuid- the kaleo definition's UUIDgroupId- the primary key of the group- Returns:
- the matching kaleo definition
- Throws:
PortalException- if a matching kaleo definition could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getKaleoDefinitions
- Specified by:
getKaleoDefinitionsin interfaceKaleoDefinitionLocalService
-
getKaleoDefinitions
public List<KaleoDefinition> getKaleoDefinitions(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getKaleoDefinitionsin interfaceKaleoDefinitionLocalService
-
getKaleoDefinitions
Returns a range of all the kaleo definitions.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.workflow.kaleo.model.impl.KaleoDefinitionModelImpl.- Specified by:
getKaleoDefinitionsin interfaceKaleoDefinitionLocalService- Parameters:
start- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)- Returns:
- the range of kaleo definitions
-
getKaleoDefinitions
public List<KaleoDefinition> getKaleoDefinitions(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getKaleoDefinitionsin interfaceKaleoDefinitionLocalService
-
getKaleoDefinitionsByUuidAndCompanyId
Returns all the kaleo definitions matching the UUID and company.- Specified by:
getKaleoDefinitionsByUuidAndCompanyIdin interfaceKaleoDefinitionLocalService- Parameters:
uuid- the UUID of the kaleo definitionscompanyId- the primary key of the company- Returns:
- the matching kaleo definitions, or an empty list if no matches were found
-
getKaleoDefinitionsByUuidAndCompanyId
public List<KaleoDefinition> getKaleoDefinitionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator) Returns a range of kaleo definitions matching the UUID and company.- Specified by:
getKaleoDefinitionsByUuidAndCompanyIdin interfaceKaleoDefinitionLocalService- Parameters:
uuid- the UUID of the kaleo definitionscompanyId- the primary key of the companystart- the lower bound of the range of kaleo definitionsend- the upper bound of the range of kaleo definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the range of matching kaleo definitions, or an empty list if no matches were found
-
getKaleoDefinitionsCount
public int getKaleoDefinitionsCount()Returns the number of kaleo definitions.- Specified by:
getKaleoDefinitionsCountin interfaceKaleoDefinitionLocalService- Returns:
- the number of kaleo definitions
-
getKaleoDefinitionsCount
public int getKaleoDefinitionsCount(boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getKaleoDefinitionsCountin interfaceKaleoDefinitionLocalService
-
getKaleoDefinitionsCount
public int getKaleoDefinitionsCount(com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getKaleoDefinitionsCountin interfaceKaleoDefinitionLocalService
-
getKaleoDefinitionsCount
public int getKaleoDefinitionsCount(String name, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getKaleoDefinitionsCountin interfaceKaleoDefinitionLocalService
-
getKaleoDefinitionsCount
public int getKaleoDefinitionsCount(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getKaleoDefinitionsCountin interfaceKaleoDefinitionLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceKaleoDefinitionLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfaceKaleoDefinitionLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
getScopeKaleoDefinitions
public List<KaleoDefinition> getScopeKaleoDefinitions(String scope, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getScopeKaleoDefinitionsin interfaceKaleoDefinitionLocalService
-
getScopeKaleoDefinitions
public List<KaleoDefinition> getScopeKaleoDefinitions(String scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getScopeKaleoDefinitionsin interfaceKaleoDefinitionLocalService
-
getScopeKaleoDefinitionsCount
public int getScopeKaleoDefinitionsCount(String scope, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getScopeKaleoDefinitionsCountin interfaceKaleoDefinitionLocalService
-
getScopeKaleoDefinitionsCount
public int getScopeKaleoDefinitionsCount(String scope, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getScopeKaleoDefinitionsCountin interfaceKaleoDefinitionLocalService
-
updatedKaleoDefinition
public KaleoDefinition updatedKaleoDefinition(String externalReferenceCode, long kaleoDefinitionId, String title, String description, String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updatedKaleoDefinitionin interfaceKaleoDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateKaleoDefinition
Updates the kaleo definition in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect KaleoDefinitionLocalServiceImpl 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:
updateKaleoDefinitionin interfaceKaleoDefinitionLocalService- Parameters:
kaleoDefinition- the kaleo definition- Returns:
- the kaleo definition that was updated
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoDefinition> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoDefinition>- Specified by:
getCTPersistencein interfaceKaleoDefinitionLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoDefinition>- Specified by:
getModelClassin interfaceKaleoDefinitionLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoDefinition>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoDefinition>- Specified by:
updateWithUnsafeFunctionin interfaceKaleoDefinitionLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<KaleoDefinitionLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<KaleoDefinitionLocalService>
-