001
014
015 package com.liferay.portlet.bookmarks.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class BookmarksFolderServiceWrapper implements BookmarksFolderService,
029 ServiceWrapper<BookmarksFolderService> {
030 public BookmarksFolderServiceWrapper(
031 BookmarksFolderService bookmarksFolderService) {
032 _bookmarksFolderService = bookmarksFolderService;
033 }
034
035
040 public java.lang.String getBeanIdentifier() {
041 return _bookmarksFolderService.getBeanIdentifier();
042 }
043
044
049 public void setBeanIdentifier(java.lang.String beanIdentifier) {
050 _bookmarksFolderService.setBeanIdentifier(beanIdentifier);
051 }
052
053 public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
054 long parentFolderId, java.lang.String name,
055 java.lang.String description,
056 com.liferay.portal.service.ServiceContext serviceContext)
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException {
059 return _bookmarksFolderService.addFolder(parentFolderId, name,
060 description, serviceContext);
061 }
062
063 public void deleteFolder(long folderId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _bookmarksFolderService.deleteFolder(folderId);
067 }
068
069 public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
070 long folderId)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException {
073 return _bookmarksFolderService.getFolder(folderId);
074 }
075
076 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
077 long groupId)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 return _bookmarksFolderService.getFolders(groupId);
080 }
081
082 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
083 long groupId, long parentFolderId)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _bookmarksFolderService.getFolders(groupId, parentFolderId);
086 }
087
088 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
089 long groupId, long parentFolderId, int start, int end)
090 throws com.liferay.portal.kernel.exception.SystemException {
091 return _bookmarksFolderService.getFolders(groupId, parentFolderId,
092 start, end);
093 }
094
095 public int getFoldersCount(long groupId, long parentFolderId)
096 throws com.liferay.portal.kernel.exception.SystemException {
097 return _bookmarksFolderService.getFoldersCount(groupId, parentFolderId);
098 }
099
100 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
101 long groupId, long folderId)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 _bookmarksFolderService.getSubfolderIds(folderIds, groupId, folderId);
104 }
105
106 public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
107 long folderId, long parentFolderId, java.lang.String name,
108 java.lang.String description, boolean mergeWithParentFolder,
109 com.liferay.portal.service.ServiceContext serviceContext)
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 return _bookmarksFolderService.updateFolder(folderId, parentFolderId,
113 name, description, mergeWithParentFolder, serviceContext);
114 }
115
116
119 public BookmarksFolderService getWrappedBookmarksFolderService() {
120 return _bookmarksFolderService;
121 }
122
123
126 public void setWrappedBookmarksFolderService(
127 BookmarksFolderService bookmarksFolderService) {
128 _bookmarksFolderService = bookmarksFolderService;
129 }
130
131 public BookmarksFolderService getWrappedService() {
132 return _bookmarksFolderService;
133 }
134
135 public void setWrappedService(BookmarksFolderService bookmarksFolderService) {
136 _bookmarksFolderService = bookmarksFolderService;
137 }
138
139 private BookmarksFolderService _bookmarksFolderService;
140 }