List of usage examples for com.liferay.portal.kernel.transaction Propagation SUPPORTS
Propagation SUPPORTS
To view the source code for com.liferay.portal.kernel.transaction Propagation SUPPORTS.
Click Source Link
From source file:at.bibbox.reactjsservice.service.ToolInformationLocalService.java
License:Open Source License
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public at.bibbox.reactjsservice.model.ToolInformation fetchToolInformation(long toolInformationId) throws com.liferay.portal.kernel.exception.SystemException;
From source file:at.bibbox.reactjsservice.service.ToolInformationLocalService.java
License:Open Source License
/** * Returns the tool information with the primary key. * * @param toolInformationId the primary key of the tool information * @return the tool information/*from www . java 2 s . c o m*/ * @throws PortalException if a tool information with the primary key could not be found * @throws SystemException if a system exception occurred */ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public at.bibbox.reactjsservice.model.ToolInformation getToolInformation(long toolInformationId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException;
From source file:at.bibbox.reactjsservice.service.ToolInformationLocalService.java
License:Open Source License
@Override @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException;
From source file:at.bibbox.reactjsservice.service.ToolInformationLocalService.java
License:Open Source License
/** * Returns a range of all the tool informations. * * <p>/*from w w w. java 2 s .co m*/ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link at.bibbox.reactjsservice.model.impl.ToolInformationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param start the lower bound of the range of tool informations * @param end the upper bound of the range of tool informations (not inclusive) * @return the range of tool informations * @throws SystemException if a system exception occurred */ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public java.util.List<at.bibbox.reactjsservice.model.ToolInformation> getToolInformations(int start, int end) throws com.liferay.portal.kernel.exception.SystemException;
From source file:at.bibbox.reactjsservice.service.ToolInformationLocalService.java
License:Open Source License
/** * Returns the number of tool informations. * * @return the number of tool informations * @throws SystemException if a system exception occurred */// www . j a v a 2 s . c o m @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public int getToolInformationsCount() throws com.liferay.portal.kernel.exception.SystemException;
From source file:at.graz.hmmc.liferay.portlet.puch.service.ConfigurationLocalService.java
License:Open Source License
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public at.graz.hmmc.liferay.portlet.puch.model.Configuration fetchConfiguration(long configurationId) throws com.liferay.portal.kernel.exception.SystemException;
From source file:at.graz.hmmc.liferay.portlet.puch.service.ConfigurationLocalService.java
License:Open Source License
/** * Returns the configuration with the primary key. * * @param configurationId the primary key of the configuration * @return the configuration/*from ww w . j ava 2s .com*/ * @throws PortalException if a configuration with the primary key could not be found * @throws SystemException if a system exception occurred */ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public at.graz.hmmc.liferay.portlet.puch.model.Configuration getConfiguration(long configurationId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException;
From source file:at.graz.hmmc.liferay.portlet.puch.service.ConfigurationLocalService.java
License:Open Source License
/** * Returns a range of all the configurations. * * <p>/* w w w.j a va 2 s.co m*/ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link at.graz.hmmc.liferay.portlet.puch.model.impl.ConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param start the lower bound of the range of configurations * @param end the upper bound of the range of configurations (not inclusive) * @return the range of configurations * @throws SystemException if a system exception occurred */ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public java.util.List<at.graz.hmmc.liferay.portlet.puch.model.Configuration> getConfigurations(int start, int end) throws com.liferay.portal.kernel.exception.SystemException;
From source file:at.graz.hmmc.liferay.portlet.puch.service.ConfigurationLocalService.java
License:Open Source License
/** * Returns the number of configurations./* ww w. j av a 2 s . c o m*/ * * @return the number of configurations * @throws SystemException if a system exception occurred */ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public int getConfigurationsCount() throws com.liferay.portal.kernel.exception.SystemException;
From source file:at.graz.hmmc.liferay.portlet.puch.service.ConfigurationLocalService.java
License:Open Source License
/** * @param scope/*from ww w .j a v a2 s. c o m*/ * @param value * @return */ @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public at.graz.hmmc.liferay.portlet.puch.model.Configuration getConfigurationOptionValue(java.lang.String scope, java.lang.String value);