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

java.lang.Object
  extended bycom.liferay.portlet.bookmarks.service.persistence.BookmarksFolderUtil

public class BookmarksFolderUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String CLASS_NAME
           
static java.lang.String LISTENER
           
 
Constructor Summary
BookmarksFolderUtil()
           
 
Method Summary
static int countByG_P(java.lang.String groupId, java.lang.String parentFolderId)
           
static int countByGroupId(java.lang.String groupId)
           
static BookmarksFolder create(java.lang.String folderId)
           
static BookmarksFolder fetchByPrimaryKey(java.lang.String folderId)
           
static java.util.List findAll()
           
static BookmarksFolder findByG_P_First(java.lang.String groupId, java.lang.String parentFolderId, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
static BookmarksFolder findByG_P_Last(java.lang.String groupId, java.lang.String parentFolderId, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
static BookmarksFolder[] findByG_P_PrevAndNext(java.lang.String folderId, java.lang.String groupId, java.lang.String parentFolderId, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
static java.util.List findByG_P(java.lang.String groupId, java.lang.String parentFolderId)
           
static java.util.List findByG_P(java.lang.String groupId, java.lang.String parentFolderId, int begin, int end)
           
static java.util.List findByG_P(java.lang.String groupId, java.lang.String parentFolderId, int begin, int end, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
static BookmarksFolder findByGroupId_First(java.lang.String groupId, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
static BookmarksFolder findByGroupId_Last(java.lang.String groupId, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
static BookmarksFolder[] findByGroupId_PrevAndNext(java.lang.String folderId, java.lang.String groupId, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
static java.util.List findByGroupId(java.lang.String groupId)
           
static java.util.List findByGroupId(java.lang.String groupId, int begin, int end)
           
static java.util.List findByGroupId(java.lang.String groupId, int begin, int end, com.liferay.util.dao.hibernate.OrderByComparator obc)
           
static BookmarksFolder findByPrimaryKey(java.lang.String folderId)
           
static BookmarksFolderPersistence getPersistence()
           
static void initDao()
           
static BookmarksFolder remove(BookmarksFolder bookmarksFolder)
           
static BookmarksFolder remove(java.lang.String folderId)
           
static void removeByG_P(java.lang.String groupId, java.lang.String parentFolderId)
           
static void removeByGroupId(java.lang.String groupId)
           
 void setPersistence(BookmarksFolderPersistence persistence)
           
static BookmarksFolder update(BookmarksFolder bookmarksFolder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME

LISTENER

public static final java.lang.String LISTENER
Constructor Detail

BookmarksFolderUtil

public BookmarksFolderUtil()
Method Detail

create

public static BookmarksFolder create(java.lang.String folderId)

remove

public static BookmarksFolder remove(java.lang.String folderId)
                              throws NoSuchFolderException,
                                     SystemException
Throws:
NoSuchFolderException
SystemException

remove

public static BookmarksFolder remove(BookmarksFolder bookmarksFolder)
                              throws SystemException
Throws:
SystemException

update

public static BookmarksFolder update(BookmarksFolder bookmarksFolder)
                              throws SystemException
Throws:
SystemException

findByPrimaryKey

public static BookmarksFolder findByPrimaryKey(java.lang.String folderId)
                                        throws NoSuchFolderException,
                                               SystemException
Throws:
NoSuchFolderException
SystemException

fetchByPrimaryKey

public static BookmarksFolder fetchByPrimaryKey(java.lang.String folderId)
                                         throws SystemException
Throws:
SystemException

findByGroupId

public static java.util.List findByGroupId(java.lang.String groupId)
                                    throws SystemException
Throws:
SystemException

findByGroupId

public static java.util.List findByGroupId(java.lang.String groupId,
                                           int begin,
                                           int end)
                                    throws SystemException
Throws:
SystemException

findByGroupId

public static java.util.List findByGroupId(java.lang.String groupId,
                                           int begin,
                                           int end,
                                           com.liferay.util.dao.hibernate.OrderByComparator obc)
                                    throws SystemException
Throws:
SystemException

findByGroupId_First

public static BookmarksFolder findByGroupId_First(java.lang.String groupId,
                                                  com.liferay.util.dao.hibernate.OrderByComparator obc)
                                           throws NoSuchFolderException,
                                                  SystemException
Throws:
NoSuchFolderException
SystemException

findByGroupId_Last

public static BookmarksFolder findByGroupId_Last(java.lang.String groupId,
                                                 com.liferay.util.dao.hibernate.OrderByComparator obc)
                                          throws NoSuchFolderException,
                                                 SystemException
Throws:
NoSuchFolderException
SystemException

findByGroupId_PrevAndNext

public static BookmarksFolder[] findByGroupId_PrevAndNext(java.lang.String folderId,
                                                          java.lang.String groupId,
                                                          com.liferay.util.dao.hibernate.OrderByComparator obc)
                                                   throws NoSuchFolderException,
                                                          SystemException
Throws:
NoSuchFolderException
SystemException

findByG_P

public static java.util.List findByG_P(java.lang.String groupId,
                                       java.lang.String parentFolderId)
                                throws SystemException
Throws:
SystemException

findByG_P

public static java.util.List findByG_P(java.lang.String groupId,
                                       java.lang.String parentFolderId,
                                       int begin,
                                       int end)
                                throws SystemException
Throws:
SystemException

findByG_P

public static java.util.List findByG_P(java.lang.String groupId,
                                       java.lang.String parentFolderId,
                                       int begin,
                                       int end,
                                       com.liferay.util.dao.hibernate.OrderByComparator obc)
                                throws SystemException
Throws:
SystemException

findByG_P_First

public static BookmarksFolder findByG_P_First(java.lang.String groupId,
                                              java.lang.String parentFolderId,
                                              com.liferay.util.dao.hibernate.OrderByComparator obc)
                                       throws NoSuchFolderException,
                                              SystemException
Throws:
NoSuchFolderException
SystemException

findByG_P_Last

public static BookmarksFolder findByG_P_Last(java.lang.String groupId,
                                             java.lang.String parentFolderId,
                                             com.liferay.util.dao.hibernate.OrderByComparator obc)
                                      throws NoSuchFolderException,
                                             SystemException
Throws:
NoSuchFolderException
SystemException

findByG_P_PrevAndNext

public static BookmarksFolder[] findByG_P_PrevAndNext(java.lang.String folderId,
                                                      java.lang.String groupId,
                                                      java.lang.String parentFolderId,
                                                      com.liferay.util.dao.hibernate.OrderByComparator obc)
                                               throws NoSuchFolderException,
                                                      SystemException
Throws:
NoSuchFolderException
SystemException

findAll

public static java.util.List findAll()
                              throws SystemException
Throws:
SystemException

removeByGroupId

public static void removeByGroupId(java.lang.String groupId)
                            throws SystemException
Throws:
SystemException

removeByG_P

public static void removeByG_P(java.lang.String groupId,
                               java.lang.String parentFolderId)
                        throws SystemException
Throws:
SystemException

countByGroupId

public static int countByGroupId(java.lang.String groupId)
                          throws SystemException
Throws:
SystemException

countByG_P

public static int countByG_P(java.lang.String groupId,
                             java.lang.String parentFolderId)
                      throws SystemException
Throws:
SystemException

initDao

public static void initDao()

getPersistence

public static BookmarksFolderPersistence getPersistence()

setPersistence

public void setPersistence(BookmarksFolderPersistence persistence)