com.liferay.portlet.journal.service.persistence
Interface JournalTemplatePersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface JournalTemplatePersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByG_S(long groupId,
java.lang.String structureId)
|
int |
countByG_T(long groupId,
java.lang.String templateId)
|
int |
countByGroupId(long groupId)
|
int |
countBySmallImageId(long smallImageId)
|
int |
countByTemplateId(java.lang.String templateId)
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
|
int |
countByUuid(java.lang.String uuid)
|
JournalTemplate |
create(long id)
|
JournalTemplate |
fetchByG_T(long groupId,
java.lang.String templateId)
|
JournalTemplate |
fetchByPrimaryKey(long id)
|
JournalTemplate |
fetchBySmallImageId(long smallImageId)
|
JournalTemplate |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
java.util.List<JournalTemplate> |
findAll()
|
java.util.List<JournalTemplate> |
findAll(int start,
int end)
|
java.util.List<JournalTemplate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalTemplate |
findByG_S_First(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalTemplate |
findByG_S_Last(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalTemplate[] |
findByG_S_PrevAndNext(long id,
long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<JournalTemplate> |
findByG_S(long groupId,
java.lang.String structureId)
|
java.util.List<JournalTemplate> |
findByG_S(long groupId,
java.lang.String structureId,
int start,
int end)
|
java.util.List<JournalTemplate> |
findByG_S(long groupId,
java.lang.String structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalTemplate |
findByG_T(long groupId,
java.lang.String templateId)
|
JournalTemplate |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalTemplate |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalTemplate[] |
findByGroupId_PrevAndNext(long id,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<JournalTemplate> |
findByGroupId(long groupId)
|
java.util.List<JournalTemplate> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<JournalTemplate> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalTemplate |
findByPrimaryKey(long id)
|
JournalTemplate |
findBySmallImageId(long smallImageId)
|
JournalTemplate |
findByTemplateId_First(java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalTemplate |
findByTemplateId_Last(java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalTemplate[] |
findByTemplateId_PrevAndNext(long id,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<JournalTemplate> |
findByTemplateId(java.lang.String templateId)
|
java.util.List<JournalTemplate> |
findByTemplateId(java.lang.String templateId,
int start,
int end)
|
java.util.List<JournalTemplate> |
findByTemplateId(java.lang.String templateId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalTemplate |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalTemplate |
findByUUID_G(java.lang.String uuid,
long groupId)
|
JournalTemplate |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalTemplate[] |
findByUuid_PrevAndNext(long id,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<JournalTemplate> |
findByUuid(java.lang.String uuid)
|
java.util.List<JournalTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<JournalTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
JournalTemplate |
remove(JournalTemplate journalTemplate)
|
JournalTemplate |
remove(long id)
|
void |
removeAll()
|
void |
removeByG_S(long groupId,
java.lang.String structureId)
|
void |
removeByG_T(long groupId,
java.lang.String templateId)
|
void |
removeByGroupId(long groupId)
|
void |
removeBySmallImageId(long smallImageId)
|
void |
removeByTemplateId(java.lang.String templateId)
|
void |
removeByUUID_G(java.lang.String uuid,
long groupId)
|
void |
removeByUuid(java.lang.String uuid)
|
JournalTemplate |
update(JournalTemplate journalTemplate)
Deprecated. Use update(JournalTemplate journalTemplate, boolean merge) . |
JournalTemplate |
update(JournalTemplate journalTemplate,
boolean merge)
Add, update, or merge, the entity. |
JournalTemplate |
updateImpl(JournalTemplate journalTemplate,
boolean merge)
|
create
JournalTemplate create(long id)
remove
JournalTemplate remove(long id)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
remove
JournalTemplate remove(JournalTemplate journalTemplate)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
JournalTemplate update(JournalTemplate journalTemplate)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(JournalTemplate journalTemplate, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
JournalTemplate update(JournalTemplate journalTemplate,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
journalTemplate
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when journalTemplate is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
JournalTemplate updateImpl(JournalTemplate journalTemplate,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate findByPrimaryKey(long id)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
fetchByPrimaryKey
JournalTemplate fetchByPrimaryKey(long id)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
findByUuid_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
findByUuid_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate[] findByUuid_PrevAndNext(long id,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
findByUUID_G
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
fetchByUUID_G
JournalTemplate fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
findByGroupId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
findByGroupId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate[] findByGroupId_PrevAndNext(long id,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
findByTemplateId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findByTemplateId(java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTemplateId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findByTemplateId(java.lang.String templateId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTemplateId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findByTemplateId(java.lang.String templateId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTemplateId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate findByTemplateId_First(java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
findByTemplateId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate findByTemplateId_Last(java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
findByTemplateId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate[] findByTemplateId_PrevAndNext(long id,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
findBySmallImageId
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate findBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
fetchBySmallImageId
JournalTemplate fetchBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate findByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
fetchByG_T
JournalTemplate fetchByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_S
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_S
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findByG_S(long groupId,
java.lang.String structureId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_S
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findByG_S(long groupId,
java.lang.String structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_S_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate findByG_S_First(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
findByG_S_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate findByG_S_Last(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
findByG_S_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate[] findByG_S_PrevAndNext(long id,
long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
findWithDynamicQuery
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUUID_G
void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
removeByGroupId
void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByTemplateId
void removeByTemplateId(java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeBySmallImageId
void removeBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
removeByG_T
void removeByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException,
NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
NoSuchTemplateException
removeByG_S
void removeByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUUID_G
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByTemplateId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByTemplateId(java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countBySmallImageId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_S
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException