public class BookmarksFolderLocalServiceImpl extends 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| Constructor and Description |
|---|
BookmarksFolderLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.bookmarks.model.BookmarksFolder |
addFolder(long userId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portlet.bookmarks.model.BookmarksFolder |
deleteFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder folder) |
com.liferay.portlet.bookmarks.model.BookmarksFolder |
deleteFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
boolean includeTrashedEntries) |
com.liferay.portlet.bookmarks.model.BookmarksFolder |
deleteFolder(long folderId) |
com.liferay.portlet.bookmarks.model.BookmarksFolder |
deleteFolder(long folderId,
boolean includeTrashedEntries) |
void |
deleteFolders(long groupId) |
java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> |
getCompanyFolders(long companyId,
int start,
int end) |
int |
getCompanyFoldersCount(long companyId) |
com.liferay.portlet.bookmarks.model.BookmarksFolder |
getFolder(long folderId) |
java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> |
getFolders(long groupId) |
java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> |
getFolders(long groupId,
long parentFolderId) |
java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end) |
java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end) |
java.util.List<java.lang.Object> |
getFoldersAndEntries(long groupId,
long folderId) |
java.util.List<java.lang.Object> |
getFoldersAndEntries(long groupId,
long folderId,
int status) |
java.util.List<java.lang.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) |
java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> |
getNoAssetFolders() |
protected long |
getParentFolderId(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
long parentFolderId) |
protected long |
getParentFolderId(long groupId,
long parentFolderId) |
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId) |
protected void |
mergeFolders(com.liferay.portlet.bookmarks.model.BookmarksFolder fromFolder,
long toFolderId) |
protected void |
moveDependentsToTrash(java.util.List<java.lang.Object> foldersAndEntries,
long trashEntryId) |
com.liferay.portlet.bookmarks.model.BookmarksFolder |
moveFolder(long folderId,
long parentFolderId) |
com.liferay.portlet.bookmarks.model.BookmarksFolder |
moveFolderFromTrash(long userId,
long folderId,
long parentFolderId) |
com.liferay.portlet.bookmarks.model.BookmarksFolder |
moveFolderToTrash(long userId,
long folderId) |
void |
rebuildTree(long companyId) |
void |
rebuildTree(long companyId,
long parentFolderId,
java.lang.String parentTreePath,
boolean reindex) |
protected void |
restoreDependentsFromTrash(java.util.List<java.lang.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,
com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds) |
com.liferay.portlet.bookmarks.model.BookmarksFolder |
updateFolder(long userId,
long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portlet.bookmarks.model.BookmarksFolder |
updateStatus(long userId,
com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
int status) |
protected void |
validate(java.lang.String name) |
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, updateBookmarksFolderpublic com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(long userId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=DELETE)
@SystemEvent(action=1,
send=false,
type=1)
public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=DELETE)
@SystemEvent(action=1,
send=false,
type=1)
public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
boolean includeTrashedEntries)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=DELETE)
public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteFolder(long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=DELETE)
public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteFolder(long folderId,
boolean includeTrashedEntries)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteFolders(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getCompanyFolders(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getCompanyFoldersCount(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(long groupId,
long parentFolderId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<java.lang.Object> getFoldersAndEntries(long groupId,
long folderId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<java.lang.Object> getFoldersAndEntries(long groupId,
long folderId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<java.lang.Object> getFoldersAndEntries(long groupId,
long folderId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getFoldersAndEntriesCount(long groupId,
long folderId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getFoldersCount(long groupId,
long parentFolderId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getFoldersCount(long groupId,
long parentFolderId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getNoAssetFolders()
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException@Indexable(type=REINDEX)
public com.liferay.portlet.bookmarks.model.BookmarksFolder moveFolder(long folderId,
long parentFolderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.bookmarks.model.BookmarksFolder moveFolderFromTrash(long userId,
long folderId,
long parentFolderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=REINDEX)
public com.liferay.portlet.bookmarks.model.BookmarksFolder moveFolderToTrash(long userId,
long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void rebuildTree(long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void rebuildTree(long companyId,
long parentFolderId,
java.lang.String parentTreePath,
boolean reindex)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void restoreFolderFromTrash(long userId,
long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void subscribeFolder(long userId,
long groupId,
long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void unsubscribeFolder(long userId,
long groupId,
long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void updateAsset(long userId,
com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=REINDEX)
public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(long userId,
long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.bookmarks.model.BookmarksFolder updateStatus(long userId,
com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
int status)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected long getParentFolderId(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
long parentFolderId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected long getParentFolderId(long groupId,
long parentFolderId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected void mergeFolders(com.liferay.portlet.bookmarks.model.BookmarksFolder fromFolder,
long toFolderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void moveDependentsToTrash(java.util.List<java.lang.Object> foldersAndEntries,
long trashEntryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void restoreDependentsFromTrash(java.util.List<java.lang.Object> foldersAndEntries,
long trashEntryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void validate(java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException