Liferay 6.0.3

com.liferay.portlet.bookmarks.service.persistence
Class BookmarksFolderPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<BookmarksFolder>
      extended by com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<BookmarksFolder>, BookmarksFolderPersistence

public class BookmarksFolderPersistenceImpl
extends BasePersistenceImpl<BookmarksFolder>
implements BookmarksFolderPersistence

See Also:
BookmarksFolderPersistence, BookmarksFolderUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
protected  BookmarksEntryPersistence bookmarksEntryPersistence
           
protected  BookmarksFolderPersistence bookmarksFolderPersistence
           
protected  ExpandoValuePersistence expandoValuePersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_G_P
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_FIND_BY_G_P
           
static FinderPath FINDER_PATH_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_FIND_BY_UUID
           
protected  GroupPersistence groupPersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
BookmarksFolderPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void cacheResult(BookmarksFolder bookmarksFolder)
           
 void cacheResult(List<BookmarksFolder> bookmarksFolders)
           
 void clearCache()
          Clears the cache for all instances of this model.
 void clearCache(BookmarksFolder bookmarksFolder)
          Clears the cache for one instance of this model.
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_P(long groupId, long parentFolderId)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(String uuid, long groupId)
           
 int countByUuid(String uuid)
           
 BookmarksFolder create(long folderId)
           
 BookmarksFolder fetchByPrimaryKey(long folderId)
           
 BookmarksFolder fetchByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or return null if it could not be found.
 BookmarksFolder fetchByUUID_G(String uuid, long groupId)
           
 BookmarksFolder fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
           
 int filterCountByG_P(long groupId, long parentFolderId)
           
 int filterCountByGroupId(long groupId)
           
 List<BookmarksFolder> filterFindByG_P(long groupId, long parentFolderId)
           
 List<BookmarksFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end)
           
 List<BookmarksFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end, OrderByComparator orderByComparator)
           
 List<BookmarksFolder> filterFindByGroupId(long groupId)
           
 List<BookmarksFolder> filterFindByGroupId(long groupId, int start, int end)
           
 List<BookmarksFolder> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<BookmarksFolder> findAll()
           
 List<BookmarksFolder> findAll(int start, int end)
           
 List<BookmarksFolder> findAll(int start, int end, OrderByComparator orderByComparator)
           
 BookmarksFolder findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 BookmarksFolder findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 BookmarksFolder[] findByCompanyId_PrevAndNext(long folderId, long companyId, OrderByComparator orderByComparator)
           
 List<BookmarksFolder> findByCompanyId(long companyId)
           
 List<BookmarksFolder> findByCompanyId(long companyId, int start, int end)
           
 List<BookmarksFolder> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 BookmarksFolder findByG_P_First(long groupId, long parentFolderId, OrderByComparator orderByComparator)
           
 BookmarksFolder findByG_P_Last(long groupId, long parentFolderId, OrderByComparator orderByComparator)
           
 BookmarksFolder[] findByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, OrderByComparator orderByComparator)
           
 List<BookmarksFolder> findByG_P(long groupId, long parentFolderId)
           
 List<BookmarksFolder> findByG_P(long groupId, long parentFolderId, int start, int end)
           
 List<BookmarksFolder> findByG_P(long groupId, long parentFolderId, int start, int end, OrderByComparator orderByComparator)
           
 BookmarksFolder findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 BookmarksFolder findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 BookmarksFolder[] findByGroupId_PrevAndNext(long folderId, long groupId, OrderByComparator orderByComparator)
           
 List<BookmarksFolder> findByGroupId(long groupId)
           
 List<BookmarksFolder> findByGroupId(long groupId, int start, int end)
           
 List<BookmarksFolder> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 BookmarksFolder findByPrimaryKey(long folderId)
           
 BookmarksFolder findByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or throw an exception if it could not be found.
 BookmarksFolder findByUuid_First(String uuid, OrderByComparator orderByComparator)
           
 BookmarksFolder findByUUID_G(String uuid, long groupId)
           
 BookmarksFolder findByUuid_Last(String uuid, OrderByComparator orderByComparator)
           
 BookmarksFolder[] findByUuid_PrevAndNext(long folderId, String uuid, OrderByComparator orderByComparator)
           
 List<BookmarksFolder> findByUuid(String uuid)
           
 List<BookmarksFolder> findByUuid(String uuid, int start, int end)
           
 List<BookmarksFolder> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
           
protected  BookmarksFolder getByCompanyId_PrevAndNext(Session session, BookmarksFolder bookmarksFolder, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  BookmarksFolder getByG_P_PrevAndNext(Session session, BookmarksFolder bookmarksFolder, long groupId, long parentFolderId, OrderByComparator orderByComparator, boolean previous)
           
protected  BookmarksFolder getByGroupId_PrevAndNext(Session session, BookmarksFolder bookmarksFolder, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  BookmarksFolder getByUuid_PrevAndNext(Session session, BookmarksFolder bookmarksFolder, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 BookmarksFolder remove(long folderId)
           
 BookmarksFolder remove(Serializable primaryKey)
          Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_P(long groupId, long parentFolderId)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(String uuid, long groupId)
           
 void removeByUuid(String uuid)
           
protected  BookmarksFolder removeImpl(BookmarksFolder bookmarksFolder)
          Removes the model instance from the database.
protected  BookmarksFolder toUnwrappedModel(BookmarksFolder bookmarksFolder)
           
 BookmarksFolder updateImpl(BookmarksFolder bookmarksFolder, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
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
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_UUID

public static final FinderPath FINDER_PATH_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_FIND_BY_G_P

public static final FinderPath FINDER_PATH_FIND_BY_G_P

FINDER_PATH_COUNT_BY_G_P

public static final FinderPath FINDER_PATH_COUNT_BY_G_P

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

bookmarksEntryPersistence

@BeanReference(type=BookmarksEntryPersistence.class)
protected BookmarksEntryPersistence bookmarksEntryPersistence

bookmarksFolderPersistence

@BeanReference(type=BookmarksFolderPersistence.class)
protected BookmarksFolderPersistence bookmarksFolderPersistence

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence
Constructor Detail

BookmarksFolderPersistenceImpl

public BookmarksFolderPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(BookmarksFolder bookmarksFolder)
Specified by:
cacheResult in interface BookmarksFolderPersistence

cacheResult

public void cacheResult(List<BookmarksFolder> bookmarksFolders)
Specified by:
cacheResult in interface BookmarksFolderPersistence

clearCache

public void clearCache()
Description copied from interface: BasePersistence
Clears the cache for all instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Caching information and settings can be found in portal.properties

Specified by:
clearCache in interface BasePersistence<BookmarksFolder>
Overrides:
clearCache in class BasePersistenceImpl<BookmarksFolder>

clearCache

public void clearCache(BookmarksFolder bookmarksFolder)
Description copied from interface: BasePersistence
Clears the cache for one instance of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<BookmarksFolder>
Overrides:
clearCache in class BasePersistenceImpl<BookmarksFolder>
Parameters:
bookmarksFolder - the instance of this model to clear the cache for

create

public BookmarksFolder create(long folderId)
Specified by:
create in interface BookmarksFolderPersistence

remove

public BookmarksFolder remove(Serializable primaryKey)
                       throws NoSuchModelException,
                              SystemException
Description copied from interface: BasePersistence
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<BookmarksFolder>
Overrides:
remove in class BasePersistenceImpl<BookmarksFolder>
Parameters:
primaryKey - the primary key of the model instance to remove
Returns:
the model instance that was removed
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if a system exception occurred

remove

public BookmarksFolder remove(long folderId)
                       throws NoSuchFolderException,
                              SystemException
Specified by:
remove in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

removeImpl

protected BookmarksFolder removeImpl(BookmarksFolder bookmarksFolder)
                              throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<BookmarksFolder>
Parameters:
bookmarksFolder - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public BookmarksFolder updateImpl(BookmarksFolder bookmarksFolder,
                                  boolean merge)
                           throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface BookmarksFolderPersistence
Overrides:
updateImpl in class BasePersistenceImpl<BookmarksFolder>
Parameters:
bookmarksFolder - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected BookmarksFolder toUnwrappedModel(BookmarksFolder bookmarksFolder)

findByPrimaryKey

public BookmarksFolder findByPrimaryKey(Serializable primaryKey)
                                 throws NoSuchModelException,
                                        SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or throw an exception if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<BookmarksFolder>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<BookmarksFolder>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if the primary key is null, or if a system exception occurred

findByPrimaryKey

public BookmarksFolder findByPrimaryKey(long folderId)
                                 throws NoSuchFolderException,
                                        SystemException
Specified by:
findByPrimaryKey in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

fetchByPrimaryKey

public BookmarksFolder fetchByPrimaryKey(Serializable primaryKey)
                                  throws SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or return null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<BookmarksFolder>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<BookmarksFolder>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance, or null if an instance of this model with the primary key does not exist
Throws:
SystemException - if the primary key is null, or if a system exception occurred

fetchByPrimaryKey

public BookmarksFolder fetchByPrimaryKey(long folderId)
                                  throws SystemException
Specified by:
fetchByPrimaryKey in interface BookmarksFolderPersistence
Throws:
SystemException

findByUuid

public List<BookmarksFolder> findByUuid(String uuid)
                                 throws SystemException
Specified by:
findByUuid in interface BookmarksFolderPersistence
Throws:
SystemException

findByUuid

public List<BookmarksFolder> findByUuid(String uuid,
                                        int start,
                                        int end)
                                 throws SystemException
Specified by:
findByUuid in interface BookmarksFolderPersistence
Throws:
SystemException

findByUuid

public List<BookmarksFolder> findByUuid(String uuid,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Specified by:
findByUuid in interface BookmarksFolderPersistence
Throws:
SystemException

findByUuid_First

public BookmarksFolder findByUuid_First(String uuid,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchFolderException,
                                        SystemException
Specified by:
findByUuid_First in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

findByUuid_Last

public BookmarksFolder findByUuid_Last(String uuid,
                                       OrderByComparator orderByComparator)
                                throws NoSuchFolderException,
                                       SystemException
Specified by:
findByUuid_Last in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

findByUuid_PrevAndNext

public BookmarksFolder[] findByUuid_PrevAndNext(long folderId,
                                                String uuid,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchFolderException,
                                                SystemException
Specified by:
findByUuid_PrevAndNext in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

getByUuid_PrevAndNext

protected BookmarksFolder getByUuid_PrevAndNext(Session session,
                                                BookmarksFolder bookmarksFolder,
                                                String uuid,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

findByUUID_G

public BookmarksFolder findByUUID_G(String uuid,
                                    long groupId)
                             throws NoSuchFolderException,
                                    SystemException
Specified by:
findByUUID_G in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

fetchByUUID_G

public BookmarksFolder fetchByUUID_G(String uuid,
                                     long groupId)
                              throws SystemException
Specified by:
fetchByUUID_G in interface BookmarksFolderPersistence
Throws:
SystemException

fetchByUUID_G

public BookmarksFolder fetchByUUID_G(String uuid,
                                     long groupId,
                                     boolean retrieveFromCache)
                              throws SystemException
Specified by:
fetchByUUID_G in interface BookmarksFolderPersistence
Throws:
SystemException

findByGroupId

public List<BookmarksFolder> findByGroupId(long groupId)
                                    throws SystemException
Specified by:
findByGroupId in interface BookmarksFolderPersistence
Throws:
SystemException

findByGroupId

public List<BookmarksFolder> findByGroupId(long groupId,
                                           int start,
                                           int end)
                                    throws SystemException
Specified by:
findByGroupId in interface BookmarksFolderPersistence
Throws:
SystemException

findByGroupId

public List<BookmarksFolder> findByGroupId(long groupId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Specified by:
findByGroupId in interface BookmarksFolderPersistence
Throws:
SystemException

findByGroupId_First

public BookmarksFolder findByGroupId_First(long groupId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchFolderException,
                                           SystemException
Specified by:
findByGroupId_First in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

findByGroupId_Last

public BookmarksFolder findByGroupId_Last(long groupId,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchFolderException,
                                          SystemException
Specified by:
findByGroupId_Last in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

findByGroupId_PrevAndNext

public BookmarksFolder[] findByGroupId_PrevAndNext(long folderId,
                                                   long groupId,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchFolderException,
                                                   SystemException
Specified by:
findByGroupId_PrevAndNext in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

getByGroupId_PrevAndNext

protected BookmarksFolder getByGroupId_PrevAndNext(Session session,
                                                   BookmarksFolder bookmarksFolder,
                                                   long groupId,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

filterFindByGroupId

public List<BookmarksFolder> filterFindByGroupId(long groupId)
                                          throws SystemException
Specified by:
filterFindByGroupId in interface BookmarksFolderPersistence
Throws:
SystemException

filterFindByGroupId

public List<BookmarksFolder> filterFindByGroupId(long groupId,
                                                 int start,
                                                 int end)
                                          throws SystemException
Specified by:
filterFindByGroupId in interface BookmarksFolderPersistence
Throws:
SystemException

filterFindByGroupId

public List<BookmarksFolder> filterFindByGroupId(long groupId,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Specified by:
filterFindByGroupId in interface BookmarksFolderPersistence
Throws:
SystemException

findByCompanyId

public List<BookmarksFolder> findByCompanyId(long companyId)
                                      throws SystemException
Specified by:
findByCompanyId in interface BookmarksFolderPersistence
Throws:
SystemException

findByCompanyId

public List<BookmarksFolder> findByCompanyId(long companyId,
                                             int start,
                                             int end)
                                      throws SystemException
Specified by:
findByCompanyId in interface BookmarksFolderPersistence
Throws:
SystemException

findByCompanyId

public List<BookmarksFolder> findByCompanyId(long companyId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Specified by:
findByCompanyId in interface BookmarksFolderPersistence
Throws:
SystemException

findByCompanyId_First

public BookmarksFolder findByCompanyId_First(long companyId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchFolderException,
                                             SystemException
Specified by:
findByCompanyId_First in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

findByCompanyId_Last

public BookmarksFolder findByCompanyId_Last(long companyId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchFolderException,
                                            SystemException
Specified by:
findByCompanyId_Last in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

findByCompanyId_PrevAndNext

public BookmarksFolder[] findByCompanyId_PrevAndNext(long folderId,
                                                     long companyId,
                                                     OrderByComparator orderByComparator)
                                              throws NoSuchFolderException,
                                                     SystemException
Specified by:
findByCompanyId_PrevAndNext in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

getByCompanyId_PrevAndNext

protected BookmarksFolder getByCompanyId_PrevAndNext(Session session,
                                                     BookmarksFolder bookmarksFolder,
                                                     long companyId,
                                                     OrderByComparator orderByComparator,
                                                     boolean previous)

findByG_P

public List<BookmarksFolder> findByG_P(long groupId,
                                       long parentFolderId)
                                throws SystemException
Specified by:
findByG_P in interface BookmarksFolderPersistence
Throws:
SystemException

findByG_P

public List<BookmarksFolder> findByG_P(long groupId,
                                       long parentFolderId,
                                       int start,
                                       int end)
                                throws SystemException
Specified by:
findByG_P in interface BookmarksFolderPersistence
Throws:
SystemException

findByG_P

public List<BookmarksFolder> findByG_P(long groupId,
                                       long parentFolderId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Specified by:
findByG_P in interface BookmarksFolderPersistence
Throws:
SystemException

findByG_P_First

public BookmarksFolder findByG_P_First(long groupId,
                                       long parentFolderId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchFolderException,
                                       SystemException
Specified by:
findByG_P_First in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

findByG_P_Last

public BookmarksFolder findByG_P_Last(long groupId,
                                      long parentFolderId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchFolderException,
                                      SystemException
Specified by:
findByG_P_Last in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

findByG_P_PrevAndNext

public BookmarksFolder[] findByG_P_PrevAndNext(long folderId,
                                               long groupId,
                                               long parentFolderId,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchFolderException,
                                               SystemException
Specified by:
findByG_P_PrevAndNext in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

getByG_P_PrevAndNext

protected BookmarksFolder getByG_P_PrevAndNext(Session session,
                                               BookmarksFolder bookmarksFolder,
                                               long groupId,
                                               long parentFolderId,
                                               OrderByComparator orderByComparator,
                                               boolean previous)

filterFindByG_P

public List<BookmarksFolder> filterFindByG_P(long groupId,
                                             long parentFolderId)
                                      throws SystemException
Specified by:
filterFindByG_P in interface BookmarksFolderPersistence
Throws:
SystemException

filterFindByG_P

public List<BookmarksFolder> filterFindByG_P(long groupId,
                                             long parentFolderId,
                                             int start,
                                             int end)
                                      throws SystemException
Specified by:
filterFindByG_P in interface BookmarksFolderPersistence
Throws:
SystemException

filterFindByG_P

public List<BookmarksFolder> filterFindByG_P(long groupId,
                                             long parentFolderId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Specified by:
filterFindByG_P in interface BookmarksFolderPersistence
Throws:
SystemException

findAll

public List<BookmarksFolder> findAll()
                              throws SystemException
Specified by:
findAll in interface BookmarksFolderPersistence
Throws:
SystemException

findAll

public List<BookmarksFolder> findAll(int start,
                                     int end)
                              throws SystemException
Specified by:
findAll in interface BookmarksFolderPersistence
Throws:
SystemException

findAll

public List<BookmarksFolder> findAll(int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Specified by:
findAll in interface BookmarksFolderPersistence
Throws:
SystemException

removeByUuid

public void removeByUuid(String uuid)
                  throws SystemException
Specified by:
removeByUuid in interface BookmarksFolderPersistence
Throws:
SystemException

removeByUUID_G

public void removeByUUID_G(String uuid,
                           long groupId)
                    throws NoSuchFolderException,
                           SystemException
Specified by:
removeByUUID_G in interface BookmarksFolderPersistence
Throws:
NoSuchFolderException
SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Specified by:
removeByGroupId in interface BookmarksFolderPersistence
Throws:
SystemException

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws SystemException
Specified by:
removeByCompanyId in interface BookmarksFolderPersistence
Throws:
SystemException

removeByG_P

public void removeByG_P(long groupId,
                        long parentFolderId)
                 throws SystemException
Specified by:
removeByG_P in interface BookmarksFolderPersistence
Throws:
SystemException

removeAll

public void removeAll()
               throws SystemException
Specified by:
removeAll in interface BookmarksFolderPersistence
Throws:
SystemException

countByUuid

public int countByUuid(String uuid)
                throws SystemException
Specified by:
countByUuid in interface BookmarksFolderPersistence
Throws:
SystemException

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Specified by:
countByUUID_G in interface BookmarksFolderPersistence
Throws:
SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Specified by:
countByGroupId in interface BookmarksFolderPersistence
Throws:
SystemException

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Specified by:
filterCountByGroupId in interface BookmarksFolderPersistence
Throws:
SystemException

countByCompanyId

public int countByCompanyId(long companyId)
                     throws SystemException
Specified by:
countByCompanyId in interface BookmarksFolderPersistence
Throws:
SystemException

countByG_P

public int countByG_P(long groupId,
                      long parentFolderId)
               throws SystemException
Specified by:
countByG_P in interface BookmarksFolderPersistence
Throws:
SystemException

filterCountByG_P

public int filterCountByG_P(long groupId,
                            long parentFolderId)
                     throws SystemException
Specified by:
filterCountByG_P in interface BookmarksFolderPersistence
Throws:
SystemException

countAll

public int countAll()
             throws SystemException
Specified by:
countAll in interface BookmarksFolderPersistence
Throws:
SystemException

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3