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

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

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

The base implementation of the bookmarks entry 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 BookmarksEntryLocalServiceImpl.

Author:
Brian Wing Shun Chan
See Also:
BookmarksEntryLocalServiceImpl, BookmarksEntryLocalServiceUtil
Generated:

Field Summary
protected  com.liferay.portlet.asset.service.persistence.AssetEntryFinder assetEntryFinder
           
protected  com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService
           
protected  com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence
           
protected  com.liferay.portlet.asset.service.AssetEntryService assetEntryService
           
protected  com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService
           
protected  com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetTagFinder assetTagFinder
           
protected  com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService
           
protected  com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence
           
protected  com.liferay.portlet.asset.service.AssetTagService assetTagService
           
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.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
BookmarksEntryLocalServiceBaseImpl()
           
 
Method Summary
 com.liferay.portlet.bookmarks.model.BookmarksEntry addBookmarksEntry(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
          Adds the bookmarks entry to the database.
 void afterPropertiesSet()
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry createBookmarksEntry(long entryId)
          Creates a new bookmarks entry with the primary key.
 void deleteBookmarksEntry(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
          Deletes the bookmarks entry from the database.
 void deleteBookmarksEntry(long entryId)
          Deletes the bookmarks entry 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.BookmarksEntry fetchBookmarksEntry(long entryId)
           
 com.liferay.portlet.asset.service.persistence.AssetEntryFinder getAssetEntryFinder()
          Returns the asset entry finder.
 com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService()
          Returns the asset entry local service.
 com.liferay.portlet.asset.service.persistence.AssetEntryPersistence getAssetEntryPersistence()
          Returns the asset entry persistence.
 com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService()
          Returns the asset entry remote service.
 com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService()
          Returns the asset link local service.
 com.liferay.portlet.asset.service.persistence.AssetLinkPersistence getAssetLinkPersistence()
          Returns the asset link persistence.
 com.liferay.portlet.asset.service.persistence.AssetTagFinder getAssetTagFinder()
          Returns the asset tag finder.
 com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService()
          Returns the asset tag local service.
 com.liferay.portlet.asset.service.persistence.AssetTagPersistence getAssetTagPersistence()
          Returns the asset tag persistence.
 com.liferay.portlet.asset.service.AssetTagService getAssetTagService()
          Returns the asset tag remote service.
 java.lang.String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getBookmarksEntries(int start, int end)
          Returns a range of all the bookmarks entries.
 int getBookmarksEntriesCount()
          Returns the number of bookmarks entries.
 com.liferay.portlet.bookmarks.model.BookmarksEntry getBookmarksEntry(long entryId)
          Returns the bookmarks entry with the primary key.
 com.liferay.portlet.bookmarks.model.BookmarksEntry getBookmarksEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
          Returns the bookmarks entry with the UUID in the group.
 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.service.BookmarksFolderLocalService getBookmarksFolderLocalService()
          Returns the bookmarks folder local service.
 com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence getBookmarksFolderPersistence()
          Returns the bookmarks folder persistence.
 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.
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 setAssetEntryFinder(com.liferay.portlet.asset.service.persistence.AssetEntryFinder assetEntryFinder)
          Sets the asset entry finder.
 void setAssetEntryLocalService(com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService)
          Sets the asset entry local service.
 void setAssetEntryPersistence(com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence)
          Sets the asset entry persistence.
 void setAssetEntryService(com.liferay.portlet.asset.service.AssetEntryService assetEntryService)
          Sets the asset entry remote service.
 void setAssetLinkLocalService(com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService)
          Sets the asset link local service.
 void setAssetLinkPersistence(com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence)
          Sets the asset link persistence.
 void setAssetTagFinder(com.liferay.portlet.asset.service.persistence.AssetTagFinder assetTagFinder)
          Sets the asset tag finder.
 void setAssetTagLocalService(com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService)
          Sets the asset tag local service.
 void setAssetTagPersistence(com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence)
          Sets the asset tag persistence.
 void setAssetTagService(com.liferay.portlet.asset.service.AssetTagService assetTagService)
          Sets the asset tag remote service.
 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 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.BookmarksEntry updateBookmarksEntry(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
          Updates the bookmarks entry in the database or adds it if it does not yet exist.
 com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry, boolean merge)
          Updates the bookmarks entry 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.BookmarksEntryLocalService
addEntry, deleteEntries, deleteEntry, deleteEntry, getEntries, getEntries, getEntriesCount, getEntry, getFoldersEntriesCount, getGroupEntries, getGroupEntries, getGroupEntriesCount, getGroupEntriesCount, getNoAssetEntries, openEntry, updateAsset, updateEntry
 

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

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

assetEntryLocalService

@BeanReference(type=com.liferay.portlet.asset.service.AssetEntryLocalService.class)
protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService

assetEntryService

@BeanReference(type=com.liferay.portlet.asset.service.AssetEntryService.class)
protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService

assetEntryPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetEntryPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence

assetEntryFinder

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetEntryFinder.class)
protected com.liferay.portlet.asset.service.persistence.AssetEntryFinder assetEntryFinder

assetLinkLocalService

@BeanReference(type=com.liferay.portlet.asset.service.AssetLinkLocalService.class)
protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService

assetLinkPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetLinkPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence

assetTagLocalService

@BeanReference(type=com.liferay.portlet.asset.service.AssetTagLocalService.class)
protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService

assetTagService

@BeanReference(type=com.liferay.portlet.asset.service.AssetTagService.class)
protected com.liferay.portlet.asset.service.AssetTagService assetTagService

assetTagPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence

assetTagFinder

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagFinder.class)
protected com.liferay.portlet.asset.service.persistence.AssetTagFinder assetTagFinder

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

BookmarksEntryLocalServiceBaseImpl

public BookmarksEntryLocalServiceBaseImpl()
Method Detail

addBookmarksEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry addBookmarksEntry(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
                                                                     throws com.liferay.portal.kernel.exception.SystemException
Adds the bookmarks entry to the database. Also notifies the appropriate model listeners.

Specified by:
addBookmarksEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService
Parameters:
bookmarksEntry - the bookmarks entry
Returns:
the bookmarks entry that was added
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

createBookmarksEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry createBookmarksEntry(long entryId)
Creates a new bookmarks entry with the primary key. Does not add the bookmarks entry to the database.

Specified by:
createBookmarksEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService
Parameters:
entryId - the primary key for the new bookmarks entry
Returns:
the new bookmarks entry

deleteBookmarksEntry

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

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

deleteBookmarksEntry

public void deleteBookmarksEntry(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
                          throws com.liferay.portal.kernel.exception.SystemException
Deletes the bookmarks entry from the database. Also notifies the appropriate model listeners.

Specified by:
deleteBookmarksEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService
Parameters:
bookmarksEntry - the bookmarks entry
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.BookmarksEntryLocalService
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.BookmarksEntryLocalService
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.BookmarksEntryLocalService
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.BookmarksEntryLocalService
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

fetchBookmarksEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchBookmarksEntry(long entryId)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Specified by:
fetchBookmarksEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getBookmarksEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry getBookmarksEntry(long entryId)
                                                                     throws com.liferay.portal.kernel.exception.PortalException,
                                                                            com.liferay.portal.kernel.exception.SystemException
Returns the bookmarks entry with the primary key.

Specified by:
getBookmarksEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService
Parameters:
entryId - the primary key of the bookmarks entry
Returns:
the bookmarks entry
Throws:
com.liferay.portal.kernel.exception.PortalException - if a bookmarks entry 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.BookmarksEntryLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getBookmarksEntryByUuidAndGroupId

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

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

getBookmarksEntries

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

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:
getBookmarksEntries in interface com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService
Parameters:
start - the lower bound of the range of bookmarks entries
end - the upper bound of the range of bookmarks entries (not inclusive)
Returns:
the range of bookmarks entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getBookmarksEntriesCount

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

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

updateBookmarksEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
                                                                        throws com.liferay.portal.kernel.exception.SystemException
Updates the bookmarks entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateBookmarksEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService
Parameters:
bookmarksEntry - the bookmarks entry
Returns:
the bookmarks entry that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateBookmarksEntry

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

Specified by:
updateBookmarksEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService
Parameters:
bookmarksEntry - the bookmarks entry
merge - whether to merge the bookmarks entry 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 entry 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

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

getAssetEntryLocalService

public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService()
Returns the asset entry local service.

Returns:
the asset entry local service

setAssetEntryLocalService

public void setAssetEntryLocalService(com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService)
Sets the asset entry local service.

Parameters:
assetEntryLocalService - the asset entry local service

getAssetEntryService

public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService()
Returns the asset entry remote service.

Returns:
the asset entry remote service

setAssetEntryService

public void setAssetEntryService(com.liferay.portlet.asset.service.AssetEntryService assetEntryService)
Sets the asset entry remote service.

Parameters:
assetEntryService - the asset entry remote service

getAssetEntryPersistence

public com.liferay.portlet.asset.service.persistence.AssetEntryPersistence getAssetEntryPersistence()
Returns the asset entry persistence.

Returns:
the asset entry persistence

setAssetEntryPersistence

public void setAssetEntryPersistence(com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence)
Sets the asset entry persistence.

Parameters:
assetEntryPersistence - the asset entry persistence

getAssetEntryFinder

public com.liferay.portlet.asset.service.persistence.AssetEntryFinder getAssetEntryFinder()
Returns the asset entry finder.

Returns:
the asset entry finder

setAssetEntryFinder

public void setAssetEntryFinder(com.liferay.portlet.asset.service.persistence.AssetEntryFinder assetEntryFinder)
Sets the asset entry finder.

Parameters:
assetEntryFinder - the asset entry finder

getAssetLinkLocalService

public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService()
Returns the asset link local service.

Returns:
the asset link local service

setAssetLinkLocalService

public void setAssetLinkLocalService(com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService)
Sets the asset link local service.

Parameters:
assetLinkLocalService - the asset link local service

getAssetLinkPersistence

public com.liferay.portlet.asset.service.persistence.AssetLinkPersistence getAssetLinkPersistence()
Returns the asset link persistence.

Returns:
the asset link persistence

setAssetLinkPersistence

public void setAssetLinkPersistence(com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence)
Sets the asset link persistence.

Parameters:
assetLinkPersistence - the asset link persistence

getAssetTagLocalService

public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService()
Returns the asset tag local service.

Returns:
the asset tag local service

setAssetTagLocalService

public void setAssetTagLocalService(com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService)
Sets the asset tag local service.

Parameters:
assetTagLocalService - the asset tag local service

getAssetTagService

public com.liferay.portlet.asset.service.AssetTagService getAssetTagService()
Returns the asset tag remote service.

Returns:
the asset tag remote service

setAssetTagService

public void setAssetTagService(com.liferay.portlet.asset.service.AssetTagService assetTagService)
Sets the asset tag remote service.

Parameters:
assetTagService - the asset tag remote service

getAssetTagPersistence

public com.liferay.portlet.asset.service.persistence.AssetTagPersistence getAssetTagPersistence()
Returns the asset tag persistence.

Returns:
the asset tag persistence

setAssetTagPersistence

public void setAssetTagPersistence(com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence)
Sets the asset tag persistence.

Parameters:
assetTagPersistence - the asset tag persistence

getAssetTagFinder

public com.liferay.portlet.asset.service.persistence.AssetTagFinder getAssetTagFinder()
Returns the asset tag finder.

Returns:
the asset tag finder

setAssetTagFinder

public void setAssetTagFinder(com.liferay.portlet.asset.service.persistence.AssetTagFinder assetTagFinder)
Sets the asset tag finder.

Parameters:
assetTagFinder - the asset tag 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.BookmarksEntryLocalService
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.BookmarksEntryLocalService
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