1
19
20 package com.liferay.portlet.imagegallery.service;
21
22 import com.liferay.portal.PortalException;
23 import com.liferay.portal.SystemException;
24 import com.liferay.portal.kernel.annotation.Propagation;
25 import com.liferay.portal.kernel.annotation.Transactional;
26
27
51 @Transactional(rollbackFor = {
52 PortalException.class, SystemException.class})
53 public interface IGFolderService {
54 public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
55 long plid, long parentFolderId, java.lang.String name,
56 java.lang.String description, boolean addCommunityPermissions,
57 boolean addGuestPermissions)
58 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
59 com.liferay.portal.SystemException;
60
61 public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
62 long plid, long parentFolderId, java.lang.String name,
63 java.lang.String description, java.lang.String[] communityPermissions,
64 java.lang.String[] guestPermissions)
65 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
66 com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.imagegallery.model.IGFolder copyFolder(
69 long plid, long sourceFolderId, long parentFolderId,
70 java.lang.String name, java.lang.String description,
71 boolean addCommunityPermissions, boolean addGuestPermissions)
72 throws com.liferay.portal.PortalException,
73 com.liferay.portal.SystemException, java.rmi.RemoteException;
74
75 public void deleteFolder(long folderId)
76 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
77 com.liferay.portal.SystemException;
78
79 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
80 public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
81 long folderId)
82 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
83 com.liferay.portal.SystemException;
84
85 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
86 public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
87 long groupId, long parentFolderId, java.lang.String name)
88 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException;
90
91 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
92 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
93 long groupId, long parentFolderId)
94 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
95 com.liferay.portal.SystemException;
96
97 public com.liferay.portlet.imagegallery.model.IGFolder updateFolder(
98 long folderId, long parentFolderId, java.lang.String name,
99 java.lang.String description, boolean mergeWithParentFolder)
100 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
101 com.liferay.portal.SystemException;
102 }