com.liferay.portlet.wiki.service.persistence
Class WikiNodePersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl
      extended by com.liferay.portlet.wiki.service.persistence.WikiNodePersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portlet.wiki.service.persistence.WikiNodePersistence

public class WikiNodePersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
implements com.liferay.portlet.wiki.service.persistence.WikiNodePersistence

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String FINDER_CLASS_NAME_ENTITY
           
static java.lang.String FINDER_CLASS_NAME_LIST
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_N
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_N
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_UUID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_UUID
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
protected  com.liferay.portlet.wiki.service.persistence.WikiNodePersistence wikiNodePersistence
           
protected  com.liferay.portlet.wiki.service.persistence.WikiPagePersistence wikiPagePersistence
           
protected  com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence wikiPageResourcePersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
Constructor Summary
WikiNodePersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void cacheResult(java.util.List<com.liferay.portlet.wiki.model.WikiNode> wikiNodes)
           
 void cacheResult(com.liferay.portlet.wiki.model.WikiNode wikiNode)
           
 void clearCache()
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_N(long groupId, java.lang.String name)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 com.liferay.portlet.wiki.model.WikiNode create(long nodeId)
           
 com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId, java.lang.String name)
           
 com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId, java.lang.String name, boolean retrieveFromCache)
           
 com.liferay.portlet.wiki.model.WikiNode fetchByPrimaryKey(long nodeId)
           
 com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(java.lang.String uuid, long groupId)
           
 com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll()
           
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(int start, int end)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiNode findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiNode findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiNode[] findByCompanyId_PrevAndNext(long nodeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(long companyId)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiNode findByG_N(long groupId, java.lang.String name)
           
 com.liferay.portlet.wiki.model.WikiNode findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiNode findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiNode[] findByGroupId_PrevAndNext(long nodeId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(long groupId)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(long groupId, int start, int end)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiNode findByPrimaryKey(long nodeId)
           
 com.liferay.portlet.wiki.model.WikiNode findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiNode findByUUID_G(java.lang.String uuid, long groupId)
           
 com.liferay.portlet.wiki.model.WikiNode findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiNode[] findByUuid_PrevAndNext(long nodeId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(java.lang.String uuid)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> 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)
           
 com.liferay.portlet.wiki.model.WikiNode remove(long nodeId)
           
 com.liferay.portlet.wiki.model.WikiNode remove(com.liferay.portlet.wiki.model.WikiNode wikiNode)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_N(long groupId, java.lang.String name)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
protected  com.liferay.portlet.wiki.model.WikiNode removeImpl(com.liferay.portlet.wiki.model.WikiNode wikiNode)
           
 com.liferay.portlet.wiki.model.WikiNode update(com.liferay.portlet.wiki.model.WikiNode wikiNode)
          Deprecated. Use update(WikiNode wikiNode, boolean merge).
 com.liferay.portlet.wiki.model.WikiNode update(com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
          Add, update, or merge, the entity.
 com.liferay.portlet.wiki.model.WikiNode updateImpl(com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final java.lang.String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_UUID

FINDER_PATH_FIND_BY_OBC_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_UUID

FINDER_PATH_COUNT_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_FIND_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_GROUPID

FINDER_PATH_FIND_BY_OBC_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_COMPANYID

FINDER_PATH_FIND_BY_OBC_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_OBC_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_FETCH_BY_G_N

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_N

FINDER_PATH_COUNT_BY_G_N

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_N

FINDER_PATH_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

wikiNodePersistence

@BeanReference(name="com.liferay.portlet.wiki.service.persistence.WikiNodePersistence.impl")
protected com.liferay.portlet.wiki.service.persistence.WikiNodePersistence wikiNodePersistence

wikiPagePersistence

@BeanReference(name="com.liferay.portlet.wiki.service.persistence.WikiPagePersistence.impl")
protected com.liferay.portlet.wiki.service.persistence.WikiPagePersistence wikiPagePersistence

wikiPageResourcePersistence

@BeanReference(name="com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence.impl")
protected com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence wikiPageResourcePersistence

resourcePersistence

@BeanReference(name="com.liferay.portal.service.persistence.ResourcePersistence.impl")
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

subscriptionPersistence

@BeanReference(name="com.liferay.portal.service.persistence.SubscriptionPersistence.impl")
protected com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence

userPersistence

@BeanReference(name="com.liferay.portal.service.persistence.UserPersistence.impl")
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
Constructor Detail

WikiNodePersistenceImpl

public WikiNodePersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.wiki.model.WikiNode wikiNode)
Specified by:
cacheResult in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence

cacheResult

public void cacheResult(java.util.List<com.liferay.portlet.wiki.model.WikiNode> wikiNodes)
Specified by:
cacheResult in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence

clearCache

public void clearCache()
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence
Specified by:
clearCache in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl

create

public com.liferay.portlet.wiki.model.WikiNode create(long nodeId)
Specified by:
create in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence

remove

public com.liferay.portlet.wiki.model.WikiNode remove(long nodeId)
                                               throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                      com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

remove

public com.liferay.portlet.wiki.model.WikiNode remove(com.liferay.portlet.wiki.model.WikiNode wikiNode)
                                               throws com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

removeImpl

protected com.liferay.portlet.wiki.model.WikiNode removeImpl(com.liferay.portlet.wiki.model.WikiNode wikiNode)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.wiki.model.WikiNode update(com.liferay.portlet.wiki.model.WikiNode wikiNode)
                                               throws com.liferay.portal.SystemException
Deprecated. Use update(WikiNode wikiNode, boolean merge).

Specified by:
update in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.wiki.model.WikiNode update(com.liferay.portlet.wiki.model.WikiNode wikiNode,
                                                      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.

Specified by:
update in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Parameters:
wikiNode - the entity to add, update, or merge
merge - 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 wikiNode 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

public com.liferay.portlet.wiki.model.WikiNode updateImpl(com.liferay.portlet.wiki.model.WikiNode wikiNode,
                                                          boolean merge)
                                                   throws com.liferay.portal.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.wiki.model.WikiNode findByPrimaryKey(long nodeId)
                                                         throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                                com.liferay.portal.SystemException
Specified by:
findByPrimaryKey in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

fetchByPrimaryKey

public com.liferay.portlet.wiki.model.WikiNode fetchByPrimaryKey(long nodeId)
                                                          throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(java.lang.String uuid)
                                                                   throws com.liferay.portal.SystemException
Specified by:
findByUuid in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(java.lang.String uuid,
                                                                          int start,
                                                                          int end)
                                                                   throws com.liferay.portal.SystemException
Specified by:
findByUuid in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByUuid(java.lang.String uuid,
                                                                          int start,
                                                                          int end,
                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                   throws com.liferay.portal.SystemException
Specified by:
findByUuid in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findByUuid_First

public com.liferay.portlet.wiki.model.WikiNode findByUuid_First(java.lang.String uuid,
                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                         throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                                com.liferay.portal.SystemException
Specified by:
findByUuid_First in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

findByUuid_Last

public com.liferay.portlet.wiki.model.WikiNode findByUuid_Last(java.lang.String uuid,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                        throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                               com.liferay.portal.SystemException
Specified by:
findByUuid_Last in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

findByUuid_PrevAndNext

public com.liferay.portlet.wiki.model.WikiNode[] findByUuid_PrevAndNext(long nodeId,
                                                                        java.lang.String uuid,
                                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                 throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                                        com.liferay.portal.SystemException
Specified by:
findByUuid_PrevAndNext in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

findByUUID_G

public com.liferay.portlet.wiki.model.WikiNode findByUUID_G(java.lang.String uuid,
                                                            long groupId)
                                                     throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                            com.liferay.portal.SystemException
Specified by:
findByUUID_G in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

fetchByUUID_G

public com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(java.lang.String uuid,
                                                             long groupId)
                                                      throws com.liferay.portal.SystemException
Specified by:
fetchByUUID_G in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

fetchByUUID_G

public com.liferay.portlet.wiki.model.WikiNode fetchByUUID_G(java.lang.String uuid,
                                                             long groupId,
                                                             boolean retrieveFromCache)
                                                      throws com.liferay.portal.SystemException
Specified by:
fetchByUUID_G in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(long groupId)
                                                                      throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(long groupId,
                                                                             int start,
                                                                             int end)
                                                                      throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByGroupId(long groupId,
                                                                             int start,
                                                                             int end,
                                                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                      throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public com.liferay.portlet.wiki.model.WikiNode findByGroupId_First(long groupId,
                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                            throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                                   com.liferay.portal.SystemException
Specified by:
findByGroupId_First in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

findByGroupId_Last

public com.liferay.portlet.wiki.model.WikiNode findByGroupId_Last(long groupId,
                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                           throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                                  com.liferay.portal.SystemException
Specified by:
findByGroupId_Last in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

findByGroupId_PrevAndNext

public com.liferay.portlet.wiki.model.WikiNode[] findByGroupId_PrevAndNext(long nodeId,
                                                                           long groupId,
                                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                    throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                                           com.liferay.portal.SystemException
Specified by:
findByGroupId_PrevAndNext in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

findByCompanyId

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(long companyId)
                                                                        throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(long companyId,
                                                                               int start,
                                                                               int end)
                                                                        throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findByCompanyId(long companyId,
                                                                               int start,
                                                                               int end,
                                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                        throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_First(long companyId,
                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                              throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                                     com.liferay.portal.SystemException
Specified by:
findByCompanyId_First in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

findByCompanyId_Last

public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_Last(long companyId,
                                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                                             throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                                    com.liferay.portal.SystemException
Specified by:
findByCompanyId_Last in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

findByCompanyId_PrevAndNext

public com.liferay.portlet.wiki.model.WikiNode[] findByCompanyId_PrevAndNext(long nodeId,
                                                                             long companyId,
                                                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                      throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                                             com.liferay.portal.SystemException
Specified by:
findByCompanyId_PrevAndNext in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

findByG_N

public com.liferay.portlet.wiki.model.WikiNode findByG_N(long groupId,
                                                         java.lang.String name)
                                                  throws com.liferay.portlet.wiki.NoSuchNodeException,
                                                         com.liferay.portal.SystemException
Specified by:
findByG_N in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

fetchByG_N

public com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId,
                                                          java.lang.String name)
                                                   throws com.liferay.portal.SystemException
Specified by:
fetchByG_N in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

fetchByG_N

public com.liferay.portlet.wiki.model.WikiNode fetchByG_N(long groupId,
                                                          java.lang.String name,
                                                          boolean retrieveFromCache)
                                                   throws com.liferay.portal.SystemException
Specified by:
fetchByG_N in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                             int start,
                                                             int end)
                                                      throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll()
                                                                throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(int start,
                                                                       int end)
                                                                throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> findAll(int start,
                                                                       int end,
                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

removeByUuid

public void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.SystemException
Specified by:
removeByUuid in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

removeByUUID_G

public void removeByUUID_G(java.lang.String uuid,
                           long groupId)
                    throws com.liferay.portlet.wiki.NoSuchNodeException,
                           com.liferay.portal.SystemException
Specified by:
removeByUUID_G in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Specified by:
removeByGroupId in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws com.liferay.portal.SystemException
Specified by:
removeByCompanyId in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

removeByG_N

public void removeByG_N(long groupId,
                        java.lang.String name)
                 throws com.liferay.portlet.wiki.NoSuchNodeException,
                        com.liferay.portal.SystemException
Specified by:
removeByG_N in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portlet.wiki.NoSuchNodeException
com.liferay.portal.SystemException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Specified by:
removeAll in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

countByUuid

public int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.SystemException
Specified by:
countByUuid in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

countByUUID_G

public int countByUUID_G(java.lang.String uuid,
                         long groupId)
                  throws com.liferay.portal.SystemException
Specified by:
countByUUID_G in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Specified by:
countByGroupId in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Specified by:
countByCompanyId in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

countByG_N

public int countByG_N(long groupId,
                      java.lang.String name)
               throws com.liferay.portal.SystemException
Specified by:
countByG_N in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Specified by:
countAll in interface com.liferay.portlet.wiki.service.persistence.WikiNodePersistence
Throws:
com.liferay.portal.SystemException

afterPropertiesSet

public void afterPropertiesSet()