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.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deactivateKaleoDefinition
(String name, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteCompanyKaleoDefinitions
(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.void
deleteKaleoDefinition
(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.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.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.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoDefinition>
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getKaleoDefinition
(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.int
Returns the number of kaleo definitions.int
getKaleoDefinitionsCount
(boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) int
getKaleoDefinitionsCount
(com.liferay.portal.kernel.service.ServiceContext serviceContext) int
getKaleoDefinitionsCount
(String name, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) int
getKaleoDefinitionsCount
(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(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) int
getScopeKaleoDefinitionsCount
(String scope, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) int
getScopeKaleoDefinitionsCount
(String scope, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
setWrappedService
(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, wait
Methods 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:
activateKaleoDefinition
in 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:
activateKaleoDefinition
in 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:
activateKaleoDefinition
in 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:
addKaleoDefinition
in 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:
addKaleoDefinition
in 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:
createKaleoDefinition
in 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:
createPersistedModel
in interfaceKaleoDefinitionLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.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:
deactivateKaleoDefinition
in interfaceKaleoDefinitionLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCompanyKaleoDefinitions
public void deleteCompanyKaleoDefinitions(long companyId) - Specified by:
deleteCompanyKaleoDefinitions
in 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:
deleteKaleoDefinition
in 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:
deleteKaleoDefinition
in 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:
deleteKaleoDefinition
in 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:
deletePersistedModel
in interfaceKaleoDefinitionLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceKaleoDefinitionLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceKaleoDefinitionLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceKaleoDefinitionLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - 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.portal.workflow.kaleo.model.impl.KaleoDefinitionModelImpl
.- Specified by:
dynamicQuery
in 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 - 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.portal.workflow.kaleo.model.impl.KaleoDefinitionModelImpl
.- Specified by:
dynamicQuery
in 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchKaleoDefinition
in interfaceKaleoDefinitionLocalService
-
fetchKaleoDefinition
public KaleoDefinition fetchKaleoDefinition(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
fetchKaleoDefinition
in interfaceKaleoDefinitionLocalService
-
fetchKaleoDefinitionByExternalReferenceCode
public KaleoDefinition fetchKaleoDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) - Specified by:
fetchKaleoDefinitionByExternalReferenceCode
in interfaceKaleoDefinitionLocalService
-
fetchKaleoDefinitionByUuidAndGroupId
Returns the kaleo definition matching the UUID and group.- Specified by:
fetchKaleoDefinitionByUuidAndGroupId
in interfaceKaleoDefinitionLocalService
- Parameters:
uuid
- the kaleo definition's UUIDgroupId
- the primary key of the group- Returns:
- the matching kaleo definition, or
null
if a matching kaleo definition could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceKaleoDefinitionLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceKaleoDefinitionLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceKaleoDefinitionLocalService
-
getKaleoDefinition
public KaleoDefinition getKaleoDefinition(long kaleoDefinitionId) throws com.liferay.portal.kernel.exception.PortalException Returns the kaleo definition with the primary key.- Specified by:
getKaleoDefinition
in 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:
getKaleoDefinition
in 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:
getKaleoDefinitionByExternalReferenceCode
in 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:
getKaleoDefinitionByUuidAndGroupId
in 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:
getKaleoDefinitions
in 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:
getKaleoDefinitions
in interfaceKaleoDefinitionLocalService
-
getKaleoDefinitions
Returns a range of all the kaleo definitions.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.portal.workflow.kaleo.model.impl.KaleoDefinitionModelImpl
.- Specified by:
getKaleoDefinitions
in 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:
getKaleoDefinitions
in interfaceKaleoDefinitionLocalService
-
getKaleoDefinitionsByUuidAndCompanyId
Returns all the kaleo definitions matching the UUID and company.- Specified by:
getKaleoDefinitionsByUuidAndCompanyId
in 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:
getKaleoDefinitionsByUuidAndCompanyId
in 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:
getKaleoDefinitionsCount
in interfaceKaleoDefinitionLocalService
- Returns:
- the number of kaleo definitions
-
getKaleoDefinitionsCount
public int getKaleoDefinitionsCount(boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getKaleoDefinitionsCount
in interfaceKaleoDefinitionLocalService
-
getKaleoDefinitionsCount
public int getKaleoDefinitionsCount(com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getKaleoDefinitionsCount
in interfaceKaleoDefinitionLocalService
-
getKaleoDefinitionsCount
public int getKaleoDefinitionsCount(String name, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getKaleoDefinitionsCount
in interfaceKaleoDefinitionLocalService
-
getKaleoDefinitionsCount
public int getKaleoDefinitionsCount(String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getKaleoDefinitionsCount
in interfaceKaleoDefinitionLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in 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:
getPersistedModel
in interfaceKaleoDefinitionLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.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:
getScopeKaleoDefinitions
in 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:
getScopeKaleoDefinitions
in interfaceKaleoDefinitionLocalService
-
getScopeKaleoDefinitionsCount
public int getScopeKaleoDefinitionsCount(String scope, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getScopeKaleoDefinitionsCount
in interfaceKaleoDefinitionLocalService
-
getScopeKaleoDefinitionsCount
public int getScopeKaleoDefinitionsCount(String scope, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
getScopeKaleoDefinitionsCount
in 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:
updatedKaleoDefinition
in 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:
updateKaleoDefinition
in 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:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoDefinition> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoDefinition>
- Specified by:
getCTPersistence
in interfaceKaleoDefinitionLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoDefinition>
- Specified by:
getModelClass
in 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:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KaleoDefinition>
- Specified by:
updateWithUnsafeFunction
in interfaceKaleoDefinitionLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<KaleoDefinitionLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<KaleoDefinitionLocalService>
-