com.liferay.portlet.journal.service
Interface JournalArticleResourceLocalService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface JournalArticleResourceLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.journal.service.impl.JournalArticleResourceLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
JournalArticleResourceLocalServiceUtil
addJournalArticleResource
JournalArticleResource addJournalArticleResource(JournalArticleResource journalArticleResource)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createJournalArticleResource
JournalArticleResource createJournalArticleResource(long resourcePrimKey)
deleteJournalArticleResource
void deleteJournalArticleResource(long resourcePrimKey)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteJournalArticleResource
void deleteJournalArticleResource(JournalArticleResource journalArticleResource)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getJournalArticleResource
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalArticleResource getJournalArticleResource(long resourcePrimKey)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getJournalArticleResources
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalArticleResource> getJournalArticleResources(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getJournalArticleResourcesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getJournalArticleResourcesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateJournalArticleResource
JournalArticleResource updateJournalArticleResource(JournalArticleResource journalArticleResource)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteArticleResource
void deleteArticleResource(long groupId,
java.lang.String articleId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getArticleResource
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalArticleResource getArticleResource(long articleResourcePrimKey)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getArticleResourcePrimKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
long getArticleResourcePrimKey(long groupId,
java.lang.String articleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getArticleResources
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalArticleResource> getArticleResources(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException