com.liferay.portlet.journal.service.persistence
Interface JournalStructurePersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface JournalStructurePersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByG_P(long groupId,
java.lang.String parentStructureId)
|
int |
countByG_S(long groupId,
java.lang.String structureId)
|
int |
countByGroupId(long groupId)
|
int |
countByStructureId(java.lang.String structureId)
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
|
int |
countByUuid(java.lang.String uuid)
|
JournalStructure |
create(long id)
|
JournalStructure |
fetchByG_S(long groupId,
java.lang.String structureId)
|
JournalStructure |
fetchByPrimaryKey(long id)
|
JournalStructure |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
java.util.List<JournalStructure> |
findAll()
|
java.util.List<JournalStructure> |
findAll(int start,
int end)
|
java.util.List<JournalStructure> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalStructure |
findByG_P_First(long groupId,
java.lang.String parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalStructure |
findByG_P_Last(long groupId,
java.lang.String parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalStructure[] |
findByG_P_PrevAndNext(long id,
long groupId,
java.lang.String parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<JournalStructure> |
findByG_P(long groupId,
java.lang.String parentStructureId)
|
java.util.List<JournalStructure> |
findByG_P(long groupId,
java.lang.String parentStructureId,
int start,
int end)
|
java.util.List<JournalStructure> |
findByG_P(long groupId,
java.lang.String parentStructureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalStructure |
findByG_S(long groupId,
java.lang.String structureId)
|
JournalStructure |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalStructure |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalStructure[] |
findByGroupId_PrevAndNext(long id,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<JournalStructure> |
findByGroupId(long groupId)
|
java.util.List<JournalStructure> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<JournalStructure> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalStructure |
findByPrimaryKey(long id)
|
JournalStructure |
findByStructureId_First(java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalStructure |
findByStructureId_Last(java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalStructure[] |
findByStructureId_PrevAndNext(long id,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<JournalStructure> |
findByStructureId(java.lang.String structureId)
|
java.util.List<JournalStructure> |
findByStructureId(java.lang.String structureId,
int start,
int end)
|
java.util.List<JournalStructure> |
findByStructureId(java.lang.String structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalStructure |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalStructure |
findByUUID_G(java.lang.String uuid,
long groupId)
|
JournalStructure |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
JournalStructure[] |
findByUuid_PrevAndNext(long id,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<JournalStructure> |
findByUuid(java.lang.String uuid)
|
java.util.List<JournalStructure> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<JournalStructure> |
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)
|
JournalStructure |
remove(JournalStructure journalStructure)
|
JournalStructure |
remove(long id)
|
void |
removeAll()
|
void |
removeByG_P(long groupId,
java.lang.String parentStructureId)
|
void |
removeByG_S(long groupId,
java.lang.String structureId)
|
void |
removeByGroupId(long groupId)
|
void |
removeByStructureId(java.lang.String structureId)
|
void |
removeByUUID_G(java.lang.String uuid,
long groupId)
|
void |
removeByUuid(java.lang.String uuid)
|
JournalStructure |
update(JournalStructure journalStructure)
Deprecated. Use update(JournalStructure journalStructure, boolean merge) . |
JournalStructure |
update(JournalStructure journalStructure,
boolean merge)
Add, update, or merge, the entity. |
JournalStructure |
updateImpl(JournalStructure journalStructure,
boolean merge)
|
create
JournalStructure create(long id)
remove
JournalStructure remove(long id)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
remove
JournalStructure remove(JournalStructure journalStructure)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
JournalStructure update(JournalStructure journalStructure)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(JournalStructure journalStructure, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
JournalStructure update(JournalStructure journalStructure,
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:
journalStructure
- 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 journalStructure 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
JournalStructure updateImpl(JournalStructure journalStructure,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure findByPrimaryKey(long id)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
fetchByPrimaryKey
JournalStructure fetchByPrimaryKey(long id)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalStructure> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalStructure> 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<JournalStructure> 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)
JournalStructure findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
findByUuid_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
findByUuid_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure[] findByUuid_PrevAndNext(long id,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
findByUUID_G
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
fetchByUUID_G
JournalStructure 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<JournalStructure> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalStructure> 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<JournalStructure> 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)
JournalStructure findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
findByGroupId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
findByGroupId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure[] findByGroupId_PrevAndNext(long id,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
findByStructureId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalStructure> findByStructureId(java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByStructureId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalStructure> findByStructureId(java.lang.String structureId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByStructureId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalStructure> findByStructureId(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
findByStructureId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure findByStructureId_First(java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
findByStructureId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure findByStructureId_Last(java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
findByStructureId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure[] findByStructureId_PrevAndNext(long id,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
findByG_S
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure findByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
fetchByG_S
JournalStructure fetchByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalStructure> findByG_P(long groupId,
java.lang.String parentStructureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalStructure> findByG_P(long groupId,
java.lang.String parentStructureId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalStructure> findByG_P(long groupId,
java.lang.String parentStructureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure findByG_P_First(long groupId,
java.lang.String parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
findByG_P_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure findByG_P_Last(long groupId,
java.lang.String parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
findByG_P_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalStructure[] findByG_P_PrevAndNext(long id,
long groupId,
java.lang.String parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
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<JournalStructure> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalStructure> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalStructure> 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,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
removeByGroupId
void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByStructureId
void removeByStructureId(java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_S
void removeByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException,
NoSuchStructureException
- Throws:
com.liferay.portal.SystemException
NoSuchStructureException
removeByG_P
void removeByG_P(long groupId,
java.lang.String parentStructureId)
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
countByStructureId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByStructureId(java.lang.String structureId)
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
countByG_P
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByG_P(long groupId,
java.lang.String parentStructureId)
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