com.liferay.portlet.journal.service.persistence
Class JournalTemplateUtil
java.lang.Object
com.liferay.portlet.journal.service.persistence.JournalTemplateUtil
- public class JournalTemplateUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByG_S(long groupId,
java.lang.String structureId)
|
static int |
countByG_T(long groupId,
java.lang.String templateId)
|
static int |
countByGroupId(long groupId)
|
static int |
countByTemplateId(java.lang.String templateId)
|
static com.liferay.portlet.journal.model.JournalTemplate |
create(long id)
|
static com.liferay.portlet.journal.model.JournalTemplate |
fetchByG_T(long groupId,
java.lang.String templateId)
|
static com.liferay.portlet.journal.model.JournalTemplate |
fetchByPrimaryKey(long id)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.journal.model.JournalTemplate |
findByG_S_First(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.journal.model.JournalTemplate |
findByG_S_Last(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.journal.model.JournalTemplate[] |
findByG_S_PrevAndNext(long id,
long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByG_S(long groupId,
java.lang.String structureId)
|
static java.util.List |
findByG_S(long groupId,
java.lang.String structureId,
int begin,
int end)
|
static java.util.List |
findByG_S(long groupId,
java.lang.String structureId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.journal.model.JournalTemplate |
findByG_T(long groupId,
java.lang.String templateId)
|
static com.liferay.portlet.journal.model.JournalTemplate |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.journal.model.JournalTemplate |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.journal.model.JournalTemplate[] |
findByGroupId_PrevAndNext(long id,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByGroupId(long groupId)
|
static java.util.List |
findByGroupId(long groupId,
int begin,
int end)
|
static java.util.List |
findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.journal.model.JournalTemplate |
findByPrimaryKey(long id)
|
static com.liferay.portlet.journal.model.JournalTemplate |
findByTemplateId_First(java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.journal.model.JournalTemplate |
findByTemplateId_Last(java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.journal.model.JournalTemplate[] |
findByTemplateId_PrevAndNext(long id,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByTemplateId(java.lang.String templateId)
|
static java.util.List |
findByTemplateId(java.lang.String templateId,
int begin,
int end)
|
static java.util.List |
findByTemplateId(java.lang.String templateId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static JournalTemplatePersistence |
getPersistence()
|
static com.liferay.portlet.journal.model.JournalTemplate |
remove(com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
|
static com.liferay.portlet.journal.model.JournalTemplate |
remove(long id)
|
static void |
removeAll()
|
static void |
removeByG_S(long groupId,
java.lang.String structureId)
|
static void |
removeByG_T(long groupId,
java.lang.String templateId)
|
static void |
removeByGroupId(long groupId)
|
static void |
removeByTemplateId(java.lang.String templateId)
|
void |
setPersistence(JournalTemplatePersistence persistence)
|
static com.liferay.portlet.journal.model.JournalTemplate |
update(com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
|
static com.liferay.portlet.journal.model.JournalTemplate |
update(com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalTemplateUtil
public JournalTemplateUtil()
create
public static com.liferay.portlet.journal.model.JournalTemplate create(long id)
remove
public static com.liferay.portlet.journal.model.JournalTemplate remove(long id)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
remove
public static com.liferay.portlet.journal.model.JournalTemplate remove(com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.journal.model.JournalTemplate update(com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.journal.model.JournalTemplate update(com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static com.liferay.portlet.journal.model.JournalTemplate findByPrimaryKey(long id)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
fetchByPrimaryKey
public static com.liferay.portlet.journal.model.JournalTemplate fetchByPrimaryKey(long id)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List findByGroupId(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public static com.liferay.portlet.journal.model.JournalTemplate findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
findByGroupId_Last
public static com.liferay.portlet.journal.model.JournalTemplate findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
findByGroupId_PrevAndNext
public static com.liferay.portlet.journal.model.JournalTemplate[] findByGroupId_PrevAndNext(long id,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
findByTemplateId
public static java.util.List findByTemplateId(java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTemplateId
public static java.util.List findByTemplateId(java.lang.String templateId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTemplateId
public static java.util.List findByTemplateId(java.lang.String templateId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByTemplateId_First
public static com.liferay.portlet.journal.model.JournalTemplate findByTemplateId_First(java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
findByTemplateId_Last
public static com.liferay.portlet.journal.model.JournalTemplate findByTemplateId_Last(java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
findByTemplateId_PrevAndNext
public static com.liferay.portlet.journal.model.JournalTemplate[] findByTemplateId_PrevAndNext(long id,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
findByG_T
public static com.liferay.portlet.journal.model.JournalTemplate findByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
fetchByG_T
public static com.liferay.portlet.journal.model.JournalTemplate fetchByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_S
public static java.util.List findByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_S
public static java.util.List findByG_S(long groupId,
java.lang.String structureId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_S
public static java.util.List findByG_S(long groupId,
java.lang.String structureId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_S_First
public static com.liferay.portlet.journal.model.JournalTemplate findByG_S_First(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
findByG_S_Last
public static com.liferay.portlet.journal.model.JournalTemplate findByG_S_Last(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
findByG_S_PrevAndNext
public static com.liferay.portlet.journal.model.JournalTemplate[] findByG_S_PrevAndNext(long id,
long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
public static void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByTemplateId
public static void removeByTemplateId(java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_T
public static void removeByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.journal.NoSuchTemplateException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.journal.NoSuchTemplateException
removeByG_S
public static void removeByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByTemplateId
public static int countByTemplateId(java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_T
public static int countByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_S
public static int countByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static JournalTemplatePersistence getPersistence()
setPersistence
public void setPersistence(JournalTemplatePersistence persistence)