com.liferay.portlet.bookmarks.service.base
Class BookmarksFolderLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portlet.bookmarks.service.base.BookmarksFolderLocalServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PermissionedModelLocalService, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Direct Known Subclasses:
BookmarksFolderLocalServiceImpl

public abstract class BookmarksFolderLocalServiceBaseImpl
extends java.lang.Object
implements com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService, com.liferay.portal.kernel.bean.IdentifiableBean

The base implementation of the bookmarks folder local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in BookmarksFolderLocalServiceImpl.

Author:
Brian Wing Shun Chan
See Also:
BookmarksFolderLocalServiceImpl, BookmarksFolderLocalServiceUtil
Generated:

Field Summary
protected  com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder bookmarksEntryFinder
           
protected  com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService
           
protected  com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence bookmarksEntryPersistence
           
protected  com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService
           
protected  com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService
           
protected  com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence bookmarksFolderPersistence
           
protected  com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService
           
protected  com.liferay.counter.service.CounterLocalService counterLocalService
           
protected  com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService
           
protected  com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence expandoValuePersistence
           
protected  com.liferay.portlet.expando.service.ExpandoValueService expandoValueService
           
protected  com.liferay.portal.service.persistence.GroupFinder groupFinder
           
protected  com.liferay.portal.service.GroupLocalService groupLocalService
           
protected  com.liferay.portal.service.persistence.GroupPersistence groupPersistence
           
protected  com.liferay.portal.service.GroupService groupService
           
protected  com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  com.liferay.portal.service.persistence.ResourceFinder resourceFinder
           
protected  com.liferay.portal.service.ResourceLocalService resourceLocalService
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.ResourceService resourceService
           
protected  com.liferay.portal.service.persistence.UserFinder userFinder
           
protected  com.liferay.portal.service.UserLocalService userLocalService
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
protected  com.liferay.portal.service.UserService userService
           
 
Constructor Summary
BookmarksFolderLocalServiceBaseImpl()
           
 
Method Summary
 com.liferay.portlet.bookmarks.model.BookmarksFolder addBookmarksFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
          Adds the bookmarks folder to the database.
 void afterPropertiesSet()
           
 com.liferay.portlet.bookmarks.model.BookmarksFolder createBookmarksFolder(long folderId)
          Creates a new bookmarks folder with the primary key.
 void deleteBookmarksFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
          Deletes the bookmarks folder from the database.
 void deleteBookmarksFolder(long folderId)
          Deletes the bookmarks folder with the primary key from the database.
 void destroy()
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 com.liferay.portlet.bookmarks.model.BookmarksFolder fetchBookmarksFolder(long folderId)
           
 java.lang.String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder getBookmarksEntryFinder()
          Returns the bookmarks entry finder.
 com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService getBookmarksEntryLocalService()
          Returns the bookmarks entry local service.
 com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence getBookmarksEntryPersistence()
          Returns the bookmarks entry persistence.
 com.liferay.portlet.bookmarks.service.BookmarksEntryService getBookmarksEntryService()
          Returns the bookmarks entry remote service.
 com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolder(long folderId)
          Returns the bookmarks folder with the primary key.
 com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolderByUuidAndGroupId(java.lang.String uuid, long groupId)
          Returns the bookmarks folder with the UUID in the group.
 com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService getBookmarksFolderLocalService()
          Returns the bookmarks folder local service.
 com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence getBookmarksFolderPersistence()
          Returns the bookmarks folder persistence.
 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getBookmarksFolders(int start, int end)
          Returns a range of all the bookmarks folders.
 int getBookmarksFoldersCount()
          Returns the number of bookmarks folders.
 com.liferay.portlet.bookmarks.service.BookmarksFolderService getBookmarksFolderService()
          Returns the bookmarks folder remote service.
 com.liferay.counter.service.CounterLocalService getCounterLocalService()
          Returns the counter local service.
 com.liferay.portlet.expando.service.ExpandoValueLocalService getExpandoValueLocalService()
          Returns the expando value local service.
 com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence getExpandoValuePersistence()
          Returns the expando value persistence.
 com.liferay.portlet.expando.service.ExpandoValueService getExpandoValueService()
          Returns the expando value remote service.
 com.liferay.portal.service.persistence.GroupFinder getGroupFinder()
          Returns the group finder.
 com.liferay.portal.service.GroupLocalService getGroupLocalService()
          Returns the group local service.
 com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence()
          Returns the group persistence.
 com.liferay.portal.service.GroupService getGroupService()
          Returns the group remote service.
protected  java.lang.Class<?> getModelClass()
           
protected  java.lang.String getModelClassName()
           
 com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
           
 com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
          Returns the resource finder.
 com.liferay.portal.service.ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 com.liferay.portal.service.ResourceService getResourceService()
          Returns the resource remote service.
 com.liferay.portal.service.persistence.UserFinder getUserFinder()
          Returns the user finder.
 com.liferay.portal.service.UserLocalService getUserLocalService()
          Returns the user local service.
 com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
          Returns the user persistence.
 com.liferay.portal.service.UserService getUserService()
          Returns the user remote service.
protected  void runSQL(java.lang.String sql)
          Performs an SQL query.
 void setBeanIdentifier(java.lang.String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setBookmarksEntryFinder(com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder bookmarksEntryFinder)
          Sets the bookmarks entry finder.
 void setBookmarksEntryLocalService(com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService)
          Sets the bookmarks entry local service.
 void setBookmarksEntryPersistence(com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence bookmarksEntryPersistence)
          Sets the bookmarks entry persistence.
 void setBookmarksEntryService(com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService)
          Sets the bookmarks entry remote service.
 void setBookmarksFolderLocalService(com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService)
          Sets the bookmarks folder local service.
 void setBookmarksFolderPersistence(com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence bookmarksFolderPersistence)
          Sets the bookmarks folder persistence.
 void setBookmarksFolderService(com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService)
          Sets the bookmarks folder remote service.
 void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
          Sets the counter local service.
 void setExpandoValueLocalService(com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService)
          Sets the expando value local service.
 void setExpandoValuePersistence(com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence expandoValuePersistence)
          Sets the expando value persistence.
 void setExpandoValueService(com.liferay.portlet.expando.service.ExpandoValueService expandoValueService)
          Sets the expando value remote service.
 void setGroupFinder(com.liferay.portal.service.persistence.GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(com.liferay.portal.service.GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(com.liferay.portal.service.persistence.GroupPersistence groupPersistence)
          Sets the group persistence.
 void setGroupService(com.liferay.portal.service.GroupService groupService)
          Sets the group remote service.
 void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(com.liferay.portal.service.ResourceService resourceService)
          Sets the resource remote service.
 void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(com.liferay.portal.service.UserService userService)
          Sets the user remote service.
 com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
          Updates the bookmarks folder in the database or adds it if it does not yet exist.
 com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder, boolean merge)
          Updates the bookmarks folder in the database or adds it if it does not yet exist.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
addFolder, deleteFolder, deleteFolder, deleteFolders, getCompanyFolders, getCompanyFoldersCount, getFolder, getFolders, getFolders, getFolders, getFoldersCount, getSubfolderIds, updateFolder
 

Field Detail

bookmarksEntryLocalService

@BeanReference(type=com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService.class)
protected com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService

bookmarksEntryService

@BeanReference(type=com.liferay.portlet.bookmarks.service.BookmarksEntryService.class)
protected com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService

bookmarksEntryPersistence

@BeanReference(type=com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence.class)
protected com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence bookmarksEntryPersistence

bookmarksEntryFinder

@BeanReference(type=com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder.class)
protected com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder bookmarksEntryFinder

bookmarksFolderLocalService

@BeanReference(type=com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService.class)
protected com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService

bookmarksFolderService

@BeanReference(type=com.liferay.portlet.bookmarks.service.BookmarksFolderService.class)
protected com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService

bookmarksFolderPersistence

@BeanReference(type=com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence.class)
protected com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence bookmarksFolderPersistence

counterLocalService

@BeanReference(type=com.liferay.counter.service.CounterLocalService.class)
protected com.liferay.counter.service.CounterLocalService counterLocalService

groupLocalService

@BeanReference(type=com.liferay.portal.service.GroupLocalService.class)
protected com.liferay.portal.service.GroupLocalService groupLocalService

groupService

@BeanReference(type=com.liferay.portal.service.GroupService.class)
protected com.liferay.portal.service.GroupService groupService

groupPersistence

@BeanReference(type=com.liferay.portal.service.persistence.GroupPersistence.class)
protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence

groupFinder

@BeanReference(type=com.liferay.portal.service.persistence.GroupFinder.class)
protected com.liferay.portal.service.persistence.GroupFinder groupFinder

resourceLocalService

@BeanReference(type=com.liferay.portal.service.ResourceLocalService.class)
protected com.liferay.portal.service.ResourceLocalService resourceLocalService

resourceService

@BeanReference(type=com.liferay.portal.service.ResourceService.class)
protected com.liferay.portal.service.ResourceService resourceService

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=com.liferay.portal.service.persistence.ResourceFinder.class)
protected com.liferay.portal.service.persistence.ResourceFinder resourceFinder

userLocalService

@BeanReference(type=com.liferay.portal.service.UserLocalService.class)
protected com.liferay.portal.service.UserLocalService userLocalService

userService

@BeanReference(type=com.liferay.portal.service.UserService.class)
protected com.liferay.portal.service.UserService userService

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

userFinder

@BeanReference(type=com.liferay.portal.service.persistence.UserFinder.class)
protected com.liferay.portal.service.persistence.UserFinder userFinder

expandoValueLocalService

@BeanReference(type=com.liferay.portlet.expando.service.ExpandoValueLocalService.class)
protected com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService

expandoValueService

@BeanReference(type=com.liferay.portlet.expando.service.ExpandoValueService.class)
protected com.liferay.portlet.expando.service.ExpandoValueService expandoValueService

expandoValuePersistence

@BeanReference(type=com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence.class)
protected com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence expandoValuePersistence

persistedModelLocalServiceRegistry

@BeanReference(type=com.liferay.portal.service.PersistedModelLocalServiceRegistry.class)
protected com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

BookmarksFolderLocalServiceBaseImpl

public BookmarksFolderLocalServiceBaseImpl()
Method Detail

addBookmarksFolder

public com.liferay.portlet.bookmarks.model.BookmarksFolder addBookmarksFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Adds the bookmarks folder to the database. Also notifies the appropriate model listeners.

Specified by:
addBookmarksFolder in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
bookmarksFolder - the bookmarks folder
Returns:
the bookmarks folder that was added
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

createBookmarksFolder

public com.liferay.portlet.bookmarks.model.BookmarksFolder createBookmarksFolder(long folderId)
Creates a new bookmarks folder with the primary key. Does not add the bookmarks folder to the database.

Specified by:
createBookmarksFolder in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
folderId - the primary key for the new bookmarks folder
Returns:
the new bookmarks folder

deleteBookmarksFolder

public void deleteBookmarksFolder(long folderId)
                           throws com.liferay.portal.kernel.exception.PortalException,
                                  com.liferay.portal.kernel.exception.SystemException
Deletes the bookmarks folder with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteBookmarksFolder in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
folderId - the primary key of the bookmarks folder
Throws:
com.liferay.portal.kernel.exception.PortalException - if a bookmarks folder with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

deleteBookmarksFolder

public void deleteBookmarksFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
                           throws com.liferay.portal.kernel.exception.SystemException
Deletes the bookmarks folder from the database. Also notifies the appropriate model listeners.

Specified by:
deleteBookmarksFolder in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
bookmarksFolder - the bookmarks folder
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchBookmarksFolder

public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchBookmarksFolder(long folderId)
                                                                         throws com.liferay.portal.kernel.exception.SystemException
Specified by:
fetchBookmarksFolder in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getBookmarksFolder

public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolder(long folderId)
                                                                       throws com.liferay.portal.kernel.exception.PortalException,
                                                                              com.liferay.portal.kernel.exception.SystemException
Returns the bookmarks folder with the primary key.

Specified by:
getBookmarksFolder in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
folderId - the primary key of the bookmarks folder
Returns:
the bookmarks folder
Throws:
com.liferay.portal.kernel.exception.PortalException - if a bookmarks folder with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPersistedModel

public com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
                                                          throws com.liferay.portal.kernel.exception.PortalException,
                                                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
getPersistedModel in interface com.liferay.portal.service.PersistedModelLocalService
Specified by:
getPersistedModel in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getBookmarksFolderByUuidAndGroupId

public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolderByUuidAndGroupId(java.lang.String uuid,
                                                                                              long groupId)
                                                                                       throws com.liferay.portal.kernel.exception.PortalException,
                                                                                              com.liferay.portal.kernel.exception.SystemException
Returns the bookmarks folder with the UUID in the group.

Specified by:
getBookmarksFolderByUuidAndGroupId in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
uuid - the UUID of bookmarks folder
groupId - the group id of the bookmarks folder
Returns:
the bookmarks folder
Throws:
com.liferay.portal.kernel.exception.PortalException - if a bookmarks folder with the UUID in the group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getBookmarksFolders

public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getBookmarksFolders(int start,
                                                                                               int end)
                                                                                        throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the bookmarks folders.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getBookmarksFolders in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
start - the lower bound of the range of bookmarks folders
end - the upper bound of the range of bookmarks folders (not inclusive)
Returns:
the range of bookmarks folders
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getBookmarksFoldersCount

public int getBookmarksFoldersCount()
                             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of bookmarks folders.

Specified by:
getBookmarksFoldersCount in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Returns:
the number of bookmarks folders
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateBookmarksFolder

public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
                                                                          throws com.liferay.portal.kernel.exception.SystemException
Updates the bookmarks folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateBookmarksFolder in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
bookmarksFolder - the bookmarks folder
Returns:
the bookmarks folder that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateBookmarksFolder

public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder,
                                                                                 boolean merge)
                                                                          throws com.liferay.portal.kernel.exception.SystemException
Updates the bookmarks folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateBookmarksFolder in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
bookmarksFolder - the bookmarks folder
merge - whether to merge the bookmarks folder with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the bookmarks folder that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getBookmarksEntryLocalService

public com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService getBookmarksEntryLocalService()
Returns the bookmarks entry local service.

Returns:
the bookmarks entry local service

setBookmarksEntryLocalService

public void setBookmarksEntryLocalService(com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService)
Sets the bookmarks entry local service.

Parameters:
bookmarksEntryLocalService - the bookmarks entry local service

getBookmarksEntryService

public com.liferay.portlet.bookmarks.service.BookmarksEntryService getBookmarksEntryService()
Returns the bookmarks entry remote service.

Returns:
the bookmarks entry remote service

setBookmarksEntryService

public void setBookmarksEntryService(com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService)
Sets the bookmarks entry remote service.

Parameters:
bookmarksEntryService - the bookmarks entry remote service

getBookmarksEntryPersistence

public com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence getBookmarksEntryPersistence()
Returns the bookmarks entry persistence.

Returns:
the bookmarks entry persistence

setBookmarksEntryPersistence

public void setBookmarksEntryPersistence(com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence bookmarksEntryPersistence)
Sets the bookmarks entry persistence.

Parameters:
bookmarksEntryPersistence - the bookmarks entry persistence

getBookmarksEntryFinder

public com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder getBookmarksEntryFinder()
Returns the bookmarks entry finder.

Returns:
the bookmarks entry finder

setBookmarksEntryFinder

public void setBookmarksEntryFinder(com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder bookmarksEntryFinder)
Sets the bookmarks entry finder.

Parameters:
bookmarksEntryFinder - the bookmarks entry finder

getBookmarksFolderLocalService

public com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService getBookmarksFolderLocalService()
Returns the bookmarks folder local service.

Returns:
the bookmarks folder local service

setBookmarksFolderLocalService

public void setBookmarksFolderLocalService(com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService)
Sets the bookmarks folder local service.

Parameters:
bookmarksFolderLocalService - the bookmarks folder local service

getBookmarksFolderService

public com.liferay.portlet.bookmarks.service.BookmarksFolderService getBookmarksFolderService()
Returns the bookmarks folder remote service.

Returns:
the bookmarks folder remote service

setBookmarksFolderService

public void setBookmarksFolderService(com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService)
Sets the bookmarks folder remote service.

Parameters:
bookmarksFolderService - the bookmarks folder remote service

getBookmarksFolderPersistence

public com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence getBookmarksFolderPersistence()
Returns the bookmarks folder persistence.

Returns:
the bookmarks folder persistence

setBookmarksFolderPersistence

public void setBookmarksFolderPersistence(com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence bookmarksFolderPersistence)
Sets the bookmarks folder persistence.

Parameters:
bookmarksFolderPersistence - the bookmarks folder persistence

getCounterLocalService

public com.liferay.counter.service.CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getGroupLocalService

public com.liferay.portal.service.GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(com.liferay.portal.service.GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupService

public com.liferay.portal.service.GroupService getGroupService()
Returns the group remote service.

Returns:
the group remote service

setGroupService

public void setGroupService(com.liferay.portal.service.GroupService groupService)
Sets the group remote service.

Parameters:
groupService - the group remote service

getGroupPersistence

public com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(com.liferay.portal.service.persistence.GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public com.liferay.portal.service.persistence.GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(com.liferay.portal.service.persistence.GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

getResourceLocalService

public com.liferay.portal.service.ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getResourceService

public com.liferay.portal.service.ResourceService getResourceService()
Returns the resource remote service.

Returns:
the resource remote service

setResourceService

public void setResourceService(com.liferay.portal.service.ResourceService resourceService)
Sets the resource remote service.

Parameters:
resourceService - the resource remote service

getResourcePersistence

public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
Returns the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
Returns the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getUserLocalService

public com.liferay.portal.service.UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserService

public com.liferay.portal.service.UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(com.liferay.portal.service.UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote service

getUserPersistence

public com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public com.liferay.portal.service.persistence.UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

getExpandoValueLocalService

public com.liferay.portlet.expando.service.ExpandoValueLocalService getExpandoValueLocalService()
Returns the expando value local service.

Returns:
the expando value local service

setExpandoValueLocalService

public void setExpandoValueLocalService(com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService)
Sets the expando value local service.

Parameters:
expandoValueLocalService - the expando value local service

getExpandoValueService

public com.liferay.portlet.expando.service.ExpandoValueService getExpandoValueService()
Returns the expando value remote service.

Returns:
the expando value remote service

setExpandoValueService

public void setExpandoValueService(com.liferay.portlet.expando.service.ExpandoValueService expandoValueService)
Sets the expando value remote service.

Parameters:
expandoValueService - the expando value remote service

getExpandoValuePersistence

public com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence getExpandoValuePersistence()
Returns the expando value persistence.

Returns:
the expando value persistence

setExpandoValuePersistence

public void setExpandoValuePersistence(com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence expandoValuePersistence)
Sets the expando value persistence.

Parameters:
expandoValuePersistence - the expando value persistence

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

public java.lang.String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
getBeanIdentifier in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
setBeanIdentifier in interface com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected java.lang.Class<?> getModelClass()

getModelClassName

protected java.lang.String getModelClassName()

runSQL

protected void runSQL(java.lang.String sql)
               throws com.liferay.portal.kernel.exception.SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
com.liferay.portal.kernel.exception.SystemException