com.liferay.portlet.bookmarks.service.impl
Class BookmarksFolderLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.bookmarks.service.base.BookmarksFolderLocalServiceBaseImpl
com.liferay.portlet.bookmarks.service.impl.BookmarksFolderLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PermissionedModelLocalService, PersistedModelLocalService, BookmarksFolderLocalService
public class BookmarksFolderLocalServiceImpl
- extends BookmarksFolderLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksFolderLocalServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, bookmarksFolderFinder, bookmarksFolderLocalService, bookmarksFolderPersistence, bookmarksFolderService, counterLocalService, expandoRowLocalService, expandoRowPersistence, groupFinder, groupLocalService, groupPersistence, groupService, persistedModelLocalServiceRegistry, resourceLocalService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialActivityService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService |
Method Summary |
BookmarksFolder |
addFolder(long userId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
BookmarksFolder |
deleteFolder(BookmarksFolder folder)
|
BookmarksFolder |
deleteFolder(BookmarksFolder folder,
boolean includeTrashedEntries)
|
BookmarksFolder |
deleteFolder(long folderId)
|
BookmarksFolder |
deleteFolder(long folderId,
boolean includeTrashedEntries)
|
void |
deleteFolders(long groupId)
|
List<BookmarksFolder> |
getCompanyFolders(long companyId,
int start,
int end)
|
int |
getCompanyFoldersCount(long companyId)
|
BookmarksFolder |
getFolder(long folderId)
|
List<BookmarksFolder> |
getFolders(long groupId)
|
List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId)
|
List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end)
|
List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end)
|
List<Object> |
getFoldersAndEntries(long groupId,
long folderId)
|
List<Object> |
getFoldersAndEntries(long groupId,
long folderId,
int status)
|
List<Object> |
getFoldersAndEntries(long groupId,
long folderId,
int status,
int start,
int end)
|
int |
getFoldersAndEntriesCount(long groupId,
long folderId,
int status)
|
int |
getFoldersCount(long groupId,
long parentFolderId)
|
int |
getFoldersCount(long groupId,
long parentFolderId,
int status)
|
List<BookmarksFolder> |
getNoAssetFolders()
|
protected long |
getParentFolderId(BookmarksFolder folder,
long parentFolderId)
|
protected long |
getParentFolderId(long groupId,
long parentFolderId)
|
void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
|
protected void |
mergeFolders(BookmarksFolder fromFolder,
long toFolderId)
|
protected void |
moveDependentsToTrash(List<Object> foldersAndEntries,
long trashEntryId)
|
BookmarksFolder |
moveFolder(long folderId,
long parentFolderId)
|
BookmarksFolder |
moveFolderFromTrash(long userId,
long folderId,
long parentFolderId)
|
BookmarksFolder |
moveFolderToTrash(long userId,
long folderId)
|
void |
rebuildTree(long companyId)
|
void |
rebuildTree(long companyId,
long parentFolderId,
String parentTreePath,
boolean reindex)
|
protected void |
restoreDependentsFromTrash(List<Object> foldersAndEntries,
long trashEntryId)
|
void |
restoreFolderFromTrash(long userId,
long folderId)
|
void |
subscribeFolder(long userId,
long groupId,
long folderId)
|
void |
unsubscribeFolder(long userId,
long groupId,
long folderId)
|
void |
updateAsset(long userId,
BookmarksFolder folder,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
BookmarksFolder |
updateFolder(long userId,
long folderId,
long parentFolderId,
String name,
String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
|
BookmarksFolder |
updateStatus(long userId,
BookmarksFolder folder,
int status)
|
protected void |
validate(String name)
|
Methods inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksFolderLocalServiceBaseImpl |
addBookmarksFolder, afterPropertiesSet, createBookmarksFolder, deleteBookmarksFolder, deleteBookmarksFolder, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchBookmarksFolder, fetchBookmarksFolderByUuidAndCompanyId, fetchBookmarksFolderByUuidAndGroupId, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getBeanIdentifier, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getBookmarksFolder, getBookmarksFolderByUuidAndCompanyId, getBookmarksFolderByUuidAndGroupId, getBookmarksFolderFinder, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolders, getBookmarksFoldersCount, getBookmarksFolderService, getCounterLocalService, getExpandoRowLocalService, getExpandoRowPersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivityService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setBeanIdentifier, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setBookmarksFolderFinder, setBookmarksFolderLocalService, setBookmarksFolderPersistence, setBookmarksFolderService, setCounterLocalService, setExpandoRowLocalService, setExpandoRowPersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialActivityService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateBookmarksFolder |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BookmarksFolderLocalServiceImpl
public BookmarksFolderLocalServiceImpl()
addFolder
public BookmarksFolder addFolder(long userId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
@Indexable(type=DELETE)
@SystemEvent(action=1,
send=false,
type=1)
public BookmarksFolder deleteFolder(BookmarksFolder folder)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
@Indexable(type=DELETE)
@SystemEvent(action=1,
send=false,
type=1)
public BookmarksFolder deleteFolder(BookmarksFolder folder,
boolean includeTrashedEntries)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
@Indexable(type=DELETE)
public BookmarksFolder deleteFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
@Indexable(type=DELETE)
public BookmarksFolder deleteFolder(long folderId,
boolean includeTrashedEntries)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolders
public void deleteFolders(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyFolders
public List<BookmarksFolder> getCompanyFolders(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyFoldersCount
public int getCompanyFoldersCount(long companyId)
throws SystemException
- Throws:
SystemException
getFolder
public BookmarksFolder getFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolders
public List<BookmarksFolder> getFolders(long groupId)
throws SystemException
- Throws:
SystemException
getFolders
public List<BookmarksFolder> getFolders(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getFolders
public List<BookmarksFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFolders
public List<BookmarksFolder> getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFoldersAndEntries
public List<Object> getFoldersAndEntries(long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
getFoldersAndEntries
public List<Object> getFoldersAndEntries(long groupId,
long folderId,
int status)
throws SystemException
- Throws:
SystemException
getFoldersAndEntries
public List<Object> getFoldersAndEntries(long groupId,
long folderId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFoldersAndEntriesCount
public int getFoldersAndEntriesCount(long groupId,
long folderId,
int status)
throws SystemException
- Throws:
SystemException
getFoldersCount
public int getFoldersCount(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getFoldersCount
public int getFoldersCount(long groupId,
long parentFolderId,
int status)
throws SystemException
- Throws:
SystemException
getNoAssetFolders
public List<BookmarksFolder> getNoAssetFolders()
throws SystemException
- Throws:
SystemException
getSubfolderIds
public void getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
moveFolder
@Indexable(type=REINDEX)
public BookmarksFolder moveFolder(long folderId,
long parentFolderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveFolderFromTrash
public BookmarksFolder moveFolderFromTrash(long userId,
long folderId,
long parentFolderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveFolderToTrash
@Indexable(type=REINDEX)
public BookmarksFolder moveFolderToTrash(long userId,
long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
rebuildTree
public void rebuildTree(long companyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
rebuildTree
public void rebuildTree(long companyId,
long parentFolderId,
String parentTreePath,
boolean reindex)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
restoreFolderFromTrash
public void restoreFolderFromTrash(long userId,
long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
subscribeFolder
public void subscribeFolder(long userId,
long groupId,
long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsubscribeFolder
public void unsubscribeFolder(long userId,
long groupId,
long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateAsset
public void updateAsset(long userId,
BookmarksFolder folder,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateFolder
@Indexable(type=REINDEX)
public BookmarksFolder updateFolder(long userId,
long folderId,
long parentFolderId,
String name,
String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateStatus
public BookmarksFolder updateStatus(long userId,
BookmarksFolder folder,
int status)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getParentFolderId
protected long getParentFolderId(BookmarksFolder folder,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getParentFolderId
protected long getParentFolderId(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
mergeFolders
protected void mergeFolders(BookmarksFolder fromFolder,
long toFolderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveDependentsToTrash
protected void moveDependentsToTrash(List<Object> foldersAndEntries,
long trashEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
restoreDependentsFromTrash
protected void restoreDependentsFromTrash(List<Object> foldersAndEntries,
long trashEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(String name)
throws PortalException
- Throws:
PortalException