com.liferay.portlet.journal.service.impl
Class JournalFolderServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.journal.service.base.JournalFolderServiceBaseImpl
com.liferay.portlet.journal.service.impl.JournalFolderServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseService, JournalFolderService
public class JournalFolderServiceImpl
- extends JournalFolderServiceBaseImpl
| Fields inherited from class com.liferay.portlet.journal.service.base.JournalFolderServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, classNameLocalService, classNamePersistence, classNameService, counterLocalService, ddmStructureFinder, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, journalArticleFinder, journalArticleLocalService, journalArticlePersistence, journalArticleService, journalFolderFinder, journalFolderLocalService, journalFolderPersistence, journalFolderService, resourceLocalService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialActivityService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence |
|
Method Summary |
JournalFolder |
addFolder(long groupId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
void |
deleteFolder(long folderId)
|
void |
deleteFolder(long folderId,
boolean includeTrashedEntries)
|
JournalFolder |
fetchFolder(long folderId)
|
JournalFolder |
getFolder(long folderId)
|
List<Long> |
getFolderIds(long groupId,
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,
int status,
int start,
int end,
OrderByComparator<?> obc)
|
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)
|
void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long,
long, boolean) |
void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId,
boolean recurse)
|
List<Long> |
getSubfolderIds(long groupId,
long folderId,
boolean recurse)
|
JournalFolder |
moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext)
|
JournalFolder |
moveFolderFromTrash(long folderId,
long parentFolderId,
ServiceContext serviceContext)
|
JournalFolder |
moveFolderToTrash(long folderId)
|
void |
restoreFolderFromTrash(long folderId)
|
void |
subscribe(long groupId,
long folderId)
|
void |
unsubscribe(long groupId,
long folderId)
|
JournalFolder |
updateFolder(long folderId,
long parentFolderId,
String name,
String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
|
JournalFolder |
updateFolder(long folderId,
long parentFolderId,
String name,
String description,
long[] ddmStructureIds,
int restrictionType,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
|
| Methods inherited from class com.liferay.portlet.journal.service.base.JournalFolderServiceBaseImpl |
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getBeanIdentifier, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getDDMStructureFinder, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getJournalArticleFinder, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleService, getJournalFolderFinder, getJournalFolderLocalService, getJournalFolderPersistence, getJournalFolderService, getModelClass, getModelClassName, getResourceLocalService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivityService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setBeanIdentifier, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setDDMStructureFinder, setDDMStructureLocalService, setDDMStructurePersistence, setDDMStructureService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setJournalArticleFinder, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleService, setJournalFolderFinder, setJournalFolderLocalService, setJournalFolderPersistence, setJournalFolderService, setResourceLocalService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialActivityService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalFolderServiceImpl
public JournalFolderServiceImpl()
addFolder
public JournalFolder addFolder(long groupId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteFolder
public void deleteFolder(long folderId)
throws PortalException
- Throws:
PortalException
deleteFolder
public void deleteFolder(long folderId,
boolean includeTrashedEntries)
throws PortalException
- Throws:
PortalException
fetchFolder
public JournalFolder fetchFolder(long folderId)
throws PortalException
- Throws:
PortalException
getFolder
public JournalFolder getFolder(long folderId)
throws PortalException
- Throws:
PortalException
getFolderIds
public List<Long> getFolderIds(long groupId,
long folderId)
throws PortalException
- Throws:
PortalException
getFolders
public List<JournalFolder> getFolders(long groupId)
getFolders
public List<JournalFolder> getFolders(long groupId,
long parentFolderId)
getFolders
public List<JournalFolder> getFolders(long groupId,
long parentFolderId,
int status)
getFolders
public List<JournalFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
getFolders
public List<JournalFolder> getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end)
getFoldersAndArticles
public List<Object> getFoldersAndArticles(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator<?> obc)
getFoldersAndArticles
public List<Object> getFoldersAndArticles(long groupId,
long folderId,
int start,
int end,
OrderByComparator<?> obc)
getFoldersAndArticlesCount
public int getFoldersAndArticlesCount(long groupId,
List<Long> folderIds,
int status)
getFoldersAndArticlesCount
public int getFoldersAndArticlesCount(long groupId,
long folderId)
getFoldersAndArticlesCount
public int getFoldersAndArticlesCount(long groupId,
long folderId,
int status)
getFoldersCount
public int getFoldersCount(long groupId,
long parentFolderId)
getFoldersCount
public int getFoldersCount(long groupId,
long parentFolderId,
int status)
getSubfolderIds
@Deprecated
public void getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
- Deprecated. As of 7.0.0, replaced by
getSubfolderIds(List, long,
long, boolean)
getSubfolderIds
public void getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId,
boolean recurse)
getSubfolderIds
public List<Long> getSubfolderIds(long groupId,
long folderId,
boolean recurse)
moveFolder
public JournalFolder moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
moveFolderFromTrash
public JournalFolder moveFolderFromTrash(long folderId,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
moveFolderToTrash
public JournalFolder moveFolderToTrash(long folderId)
throws PortalException
- Throws:
PortalException
restoreFolderFromTrash
public void restoreFolderFromTrash(long folderId)
throws PortalException
- Throws:
PortalException
subscribe
public void subscribe(long groupId,
long folderId)
throws PortalException
- Throws:
PortalException
unsubscribe
public void unsubscribe(long groupId,
long folderId)
throws PortalException
- Throws:
PortalException
updateFolder
public JournalFolder updateFolder(long folderId,
long parentFolderId,
String name,
String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
updateFolder
public JournalFolder updateFolder(long folderId,
long parentFolderId,
String name,
String description,
long[] ddmStructureIds,
int restrictionType,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException