com.liferay.portlet.journal.service.impl
Class JournalFolderLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.journal.service.base.JournalFolderLocalServiceBaseImpl
com.liferay.portlet.journal.service.impl.JournalFolderLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, JournalFolderLocalService
public class JournalFolderLocalServiceImpl
- extends JournalFolderLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.journal.service.base.JournalFolderLocalServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, journalArticleFinder, journalArticleImageLocalService, journalArticleImagePersistence, journalArticleLocalService, journalArticlePersistence, journalArticleResourceLocalService, journalArticleResourcePersistence, journalArticleService, journalContentSearchLocalService, journalContentSearchPersistence, journalFeedFinder, journalFeedLocalService, journalFeedPersistence, journalFeedService, journalFolderFinder, journalFolderLocalService, journalFolderPersistence, journalFolderService, journalStructureLocalService, journalStructureService, journalTemplateLocalService, journalTemplateService, persistedModelLocalServiceRegistry, resourceLocalService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialActivityService, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence |
Method Summary |
JournalFolder |
addFolder(long userId,
long groupId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
JournalFolder |
deleteFolder(JournalFolder folder)
|
JournalFolder |
deleteFolder(JournalFolder folder,
boolean includeTrashedEntries)
|
JournalFolder |
deleteFolder(long folderId)
|
JournalFolder |
deleteFolder(long folderId,
boolean includeTrashedEntries)
|
void |
deleteFolders(long groupId)
|
JournalFolder |
fetchFolder(long folderId)
|
JournalFolder |
fetchFolder(long groupId,
long parentFolderId,
String name)
|
JournalFolder |
fetchFolder(long groupId,
String name)
|
List<JournalFolder> |
getCompanyFolders(long companyId,
int start,
int end)
|
int |
getCompanyFoldersCount(long companyId)
|
JournalFolder |
getFolder(long folderId)
|
List<JournalFolder> |
getFolders(long groupId)
|
List<JournalFolder> |
getFolders(long groupId,
long parentFolderId)
|
List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int status)
|
List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end)
|
List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end)
|
List<Object> |
getFoldersAndArticles(long groupId,
long folderId)
|
List<Object> |
getFoldersAndArticles(long groupId,
long folderId,
int status)
|
List<Object> |
getFoldersAndArticles(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc)
|
int |
getFoldersAndArticlesCount(long groupId,
List<Long> folderIds,
int status)
|
int |
getFoldersAndArticlesCount(long groupId,
long folderId)
|
int |
getFoldersAndArticlesCount(long groupId,
long folderId,
int status)
|
int |
getFoldersCount(long groupId,
long parentFolderId)
|
int |
getFoldersCount(long groupId,
long parentFolderId,
int status)
|
List<JournalFolder> |
getNoAssetFolders()
|
protected long |
getParentFolderId(JournalFolder folder,
long parentFolderId)
|
protected long |
getParentFolderId(long groupId,
long parentFolderId)
|
void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
|
protected void |
mergeFolders(JournalFolder fromFolder,
long toFolderId)
|
protected void |
moveDependentsToTrash(List<Object> foldersAndArticles,
long trashEntryId)
|
JournalFolder |
moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext)
|
JournalFolder |
moveFolderFromTrash(long userId,
long folderId,
long parentFolderId,
ServiceContext serviceContext)
|
JournalFolder |
moveFolderToTrash(long userId,
long folderId)
|
void |
rebuildTree(long companyId)
|
void |
rebuildTree(long companyId,
long parentFolderId,
String parentTreePath,
boolean reindex)
|
protected void |
restoreDependentsFromTrash(List<Object> foldersAndArticles,
long trashEntryId)
|
void |
restoreFolderFromTrash(long userId,
long folderId)
|
void |
updateAsset(long userId,
JournalFolder folder,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
JournalFolder |
updateFolder(long userId,
long folderId,
long parentFolderId,
String name,
String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
|
JournalFolder |
updateStatus(long userId,
JournalFolder folder,
int status)
|
protected void |
validateFolder(long folderId,
long groupId,
long parentFolderId,
String name)
|
protected void |
validateFolderName(String name)
|
Methods inherited from class com.liferay.portlet.journal.service.base.JournalFolderLocalServiceBaseImpl |
addJournalFolder, afterPropertiesSet, createJournalFolder, deleteJournalFolder, deleteJournalFolder, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchJournalFolder, fetchJournalFolderByUuidAndCompanyId, fetchJournalFolderByUuidAndGroupId, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getBeanIdentifier, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getJournalArticleFinder, getJournalArticleImageLocalService, getJournalArticleImagePersistence, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getJournalContentSearchLocalService, getJournalContentSearchPersistence, getJournalFeedFinder, getJournalFeedLocalService, getJournalFeedPersistence, getJournalFeedService, getJournalFolder, getJournalFolderByUuidAndCompanyId, getJournalFolderByUuidAndGroupId, getJournalFolderFinder, getJournalFolderLocalService, getJournalFolderPersistence, getJournalFolders, getJournalFoldersCount, getJournalFolderService, getJournalStructureLocalService, getJournalStructureService, getJournalTemplateLocalService, getJournalTemplateService, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivityService, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setBeanIdentifier, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setJournalArticleFinder, setJournalArticleImageLocalService, setJournalArticleImagePersistence, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleResourceLocalService, setJournalArticleResourcePersistence, setJournalArticleService, setJournalContentSearchLocalService, setJournalContentSearchPersistence, setJournalFeedFinder, setJournalFeedLocalService, setJournalFeedPersistence, setJournalFeedService, setJournalFolderFinder, setJournalFolderLocalService, setJournalFolderPersistence, setJournalFolderService, setJournalStructureLocalService, setJournalStructureService, setJournalTemplateLocalService, setJournalTemplateService, setResourceLocalService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialActivityService, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateJournalFolder |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalFolderLocalServiceImpl
public JournalFolderLocalServiceImpl()
addFolder
public JournalFolder addFolder(long userId,
long groupId,
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 JournalFolder deleteFolder(JournalFolder folder)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
@Indexable(type=DELETE)
@SystemEvent(action=1,
send=false,
type=1)
public JournalFolder deleteFolder(JournalFolder folder,
boolean includeTrashedEntries)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
@Indexable(type=DELETE)
public JournalFolder deleteFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
@Indexable(type=DELETE)
public JournalFolder deleteFolder(long folderId,
boolean includeTrashedEntries)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolders
public void deleteFolders(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
fetchFolder
public JournalFolder fetchFolder(long folderId)
throws SystemException
- Throws:
SystemException
fetchFolder
public JournalFolder fetchFolder(long groupId,
long parentFolderId,
String name)
throws SystemException
- Throws:
SystemException
fetchFolder
public JournalFolder fetchFolder(long groupId,
String name)
throws SystemException
- Throws:
SystemException
getCompanyFolders
public List<JournalFolder> getCompanyFolders(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyFoldersCount
public int getCompanyFoldersCount(long companyId)
throws SystemException
- Throws:
SystemException
getFolder
public JournalFolder getFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolders
public List<JournalFolder> getFolders(long groupId)
throws SystemException
- Throws:
SystemException
getFolders
public List<JournalFolder> getFolders(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getFolders
public List<JournalFolder> getFolders(long groupId,
long parentFolderId,
int status)
throws SystemException
- Throws:
SystemException
getFolders
public List<JournalFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFolders
public List<JournalFolder> getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFoldersAndArticles
public List<Object> getFoldersAndArticles(long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
getFoldersAndArticles
public List<Object> getFoldersAndArticles(long groupId,
long folderId,
int status)
throws SystemException
- Throws:
SystemException
getFoldersAndArticles
public List<Object> getFoldersAndArticles(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getFoldersAndArticlesCount
public int getFoldersAndArticlesCount(long groupId,
List<Long> folderIds,
int status)
throws SystemException
- Throws:
SystemException
getFoldersAndArticlesCount
public int getFoldersAndArticlesCount(long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
getFoldersAndArticlesCount
public int getFoldersAndArticlesCount(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<JournalFolder> 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 JournalFolder moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveFolderFromTrash
public JournalFolder moveFolderFromTrash(long userId,
long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveFolderToTrash
public JournalFolder 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
updateAsset
public void updateAsset(long userId,
JournalFolder folder,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateFolder
@Indexable(type=REINDEX)
public JournalFolder updateFolder(long userId,
long folderId,
long parentFolderId,
String name,
String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateStatus
public JournalFolder updateStatus(long userId,
JournalFolder folder,
int status)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getParentFolderId
protected long getParentFolderId(JournalFolder folder,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getParentFolderId
protected long getParentFolderId(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
mergeFolders
protected void mergeFolders(JournalFolder fromFolder,
long toFolderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveDependentsToTrash
protected void moveDependentsToTrash(List<Object> foldersAndArticles,
long trashEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
restoreDependentsFromTrash
protected void restoreDependentsFromTrash(List<Object> foldersAndArticles,
long trashEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validateFolder
protected void validateFolder(long folderId,
long groupId,
long parentFolderId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validateFolderName
protected void validateFolderName(String name)
throws PortalException
- Throws:
PortalException