Interface KaleoDefinitionLocalService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<KaleoDefinition>,com.liferay.portal.kernel.service.PersistedModelLocalService
- All Known Implementing Classes:
KaleoDefinitionLocalServiceWrapper
- See Also:
- Generated:
-
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.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) 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 interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel, getBasePersistence
-
Method Details
-
activateKaleoDefinition
@Indexable(type=REINDEX) KaleoDefinition activateKaleoDefinition(long kaleoDefinitionId, long kaleoDefinitionVersionId, long startKaleoNodeId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
activateKaleoDefinition
@Indexable(type=REINDEX) KaleoDefinition activateKaleoDefinition(long kaleoDefinitionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
activateKaleoDefinition
@Indexable(type=REINDEX) KaleoDefinition activateKaleoDefinition(String name, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - 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.
- Parameters:
kaleoDefinition- the kaleo definition- Returns:
- the kaleo definition that was added
-
addKaleoDefinition
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 - 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.- Parameters:
kaleoDefinitionId- the primary key for the new kaleo definition- Returns:
- the new kaleo definition
-
createPersistedModel
com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deactivateKaleoDefinition
@Indexable(type=REINDEX) KaleoDefinition deactivateKaleoDefinition(String name, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCompanyKaleoDefinitions
void deleteCompanyKaleoDefinitions(long companyId) -
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.
- Parameters:
kaleoDefinition- the kaleo definition- Returns:
- the kaleo definition that was removed
-
deleteKaleoDefinition
@Indexable(type=DELETE) 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.
- Parameters:
kaleoDefinitionId- the primary key of the kaleo definition- Returns:
- the kaleo definition that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a kaleo definition with the primary key could not be found
-
deleteKaleoDefinition
void deleteKaleoDefinition(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() -
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <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.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) <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.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) 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.- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchKaleoDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) KaleoDefinition fetchKaleoDefinition(long kaleoDefinitionId) -
fetchKaleoDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) KaleoDefinition fetchKaleoDefinition(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) -
fetchKaleoDefinitionByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) KaleoDefinition fetchKaleoDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) -
fetchKaleoDefinitionByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) KaleoDefinition fetchKaleoDefinitionByUuidAndGroupId(String uuid, long groupId) Returns the kaleo definition matching the UUID and group.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() -
getExportActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) -
getIndexableActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
getKaleoDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) KaleoDefinition getKaleoDefinition(long kaleoDefinitionId) throws com.liferay.portal.kernel.exception.PortalException Returns the kaleo definition with the primary key.- Parameters:
kaleoDefinitionId- the primary key of the kaleo definition- Returns:
- the kaleo definition
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a kaleo definition with the primary key could not be found
-
getKaleoDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) KaleoDefinition getKaleoDefinition(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKaleoDefinitionByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) KaleoDefinition getKaleoDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKaleoDefinitionByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) KaleoDefinition getKaleoDefinitionByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the kaleo definition matching the UUID and group.- Parameters:
uuid- the kaleo definition's UUIDgroupId- the primary key of the group- Returns:
- the matching kaleo definition
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a matching kaleo definition could not be found
-
getKaleoDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) List<KaleoDefinition> getKaleoDefinitions(boolean active, int start, int end) -
getKaleoDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) List<KaleoDefinition> getKaleoDefinitions(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, com.liferay.portal.kernel.service.ServiceContext serviceContext) -
getKaleoDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) List<KaleoDefinition> getKaleoDefinitions(int start, int end) 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.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) List<KaleoDefinition> getKaleoDefinitions(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, com.liferay.portal.kernel.service.ServiceContext serviceContext) -
getKaleoDefinitionsByUuidAndCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<KaleoDefinition> getKaleoDefinitionsByUuidAndCompanyId(String uuid, long companyId) Returns all the kaleo definitions matching the UUID and company.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getKaleoDefinitionsCount()Returns the number of kaleo definitions.- Returns:
- the number of kaleo definitions
-
getKaleoDefinitionsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getKaleoDefinitionsCount(boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) -
getKaleoDefinitionsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getKaleoDefinitionsCount(com.liferay.portal.kernel.service.ServiceContext serviceContext) -
getKaleoDefinitionsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getKaleoDefinitionsCount(String name, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) -
getKaleoDefinitionsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getKaleoDefinitionsCount(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPersistedModel
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getScopeKaleoDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) 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) -
getScopeKaleoDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) List<KaleoDefinition> getScopeKaleoDefinitions(String scope, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinition> orderByComparator, com.liferay.portal.kernel.service.ServiceContext serviceContext) -
getScopeKaleoDefinitionsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getScopeKaleoDefinitionsCount(String scope, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) -
getScopeKaleoDefinitionsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getScopeKaleoDefinitionsCount(String scope, com.liferay.portal.kernel.service.ServiceContext serviceContext) -
updatedKaleoDefinition
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 - 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.
- Parameters:
kaleoDefinition- the kaleo definition- Returns:
- the kaleo definition that was updated
-
getCTPersistence
@Transactional(enabled=false) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoDefinition> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoDefinition>
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoDefinition>
-
updateWithUnsafeFunction
@Transactional(rollbackFor=java.lang.Throwable.class) <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>- Throws:
E extends Throwable
-