Package com.liferay.fragment.service
Class FragmentCollectionServiceUtil
java.lang.Object
com.liferay.fragment.service.FragmentCollectionServiceUtil
Provides the remote service utility for FragmentCollection. This utility wraps
com.liferay.fragment.service.impl.FragmentCollectionServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FragmentCollection
addFragmentCollection
(String externalReferenceCode, long groupId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) static FragmentCollection
addFragmentCollection
(String externalReferenceCode, long groupId, String fragmentCollectionKey, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) static FragmentCollection
deleteFragmentCollection
(long fragmentCollectionId) static FragmentCollection
deleteFragmentCollection
(String externalReferenceCode, long groupId) static void
deleteFragmentCollections
(long[] fragmentCollectionIds) static FragmentCollection
fetchFragmentCollection
(long fragmentCollectionId) static FragmentCollection
getFragmentCollectionByExternalReferenceCode
(String externalReferenceCode, long groupId) static List<com.liferay.portal.kernel.repository.model.FileEntry>
getFragmentCollectionFileEntries
(long fragmentCollectionId) static List<FragmentCollection>
getFragmentCollections
(long groupId) static List<FragmentCollection>
getFragmentCollections
(long[] groupIds) static List<FragmentCollection>
getFragmentCollections
(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) static List<FragmentCollection>
getFragmentCollections
(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) static List<FragmentCollection>
getFragmentCollections
(long groupId, boolean includeSystem) static List<FragmentCollection>
getFragmentCollections
(long groupId, boolean includeSystem, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) static List<FragmentCollection>
getFragmentCollections
(long groupId, int start, int end) static List<FragmentCollection>
getFragmentCollections
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) static List<FragmentCollection>
getFragmentCollections
(long groupId, String name, boolean includeSystem, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) static List<FragmentCollection>
getFragmentCollections
(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) static int
getFragmentCollectionsCount
(long groupId) static int
getFragmentCollectionsCount
(long[] groupIds) static int
getFragmentCollectionsCount
(long[] groupIds, String name) static int
getFragmentCollectionsCount
(long groupId, boolean includeSystem) static int
getFragmentCollectionsCount
(long groupId, String name) static int
getFragmentCollectionsCount
(long groupId, String name, boolean includeSystem) static String
Returns the OSGi service identifier.static FragmentCollectionService
static String[]
getTempFileNames
(long groupId, String folderName) static FragmentCollection
updateFragmentCollection
(long fragmentCollectionId, String name, String description)
-
Constructor Details
-
FragmentCollectionServiceUtil
public FragmentCollectionServiceUtil()
-
-
Method Details
-
addFragmentCollection
public static FragmentCollection addFragmentCollection(String externalReferenceCode, long groupId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addFragmentCollection
public static FragmentCollection addFragmentCollection(String externalReferenceCode, long groupId, String fragmentCollectionKey, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentCollection
public static FragmentCollection deleteFragmentCollection(long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentCollection
public static FragmentCollection deleteFragmentCollection(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentCollections
public static void deleteFragmentCollections(long[] fragmentCollectionIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFragmentCollection
public static FragmentCollection fetchFragmentCollection(long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFragmentCollectionByExternalReferenceCode
public static FragmentCollection getFragmentCollectionByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFragmentCollectionFileEntries
public static List<com.liferay.portal.kernel.repository.model.FileEntry> getFragmentCollectionFileEntries(long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFragmentCollections
-
getFragmentCollections
-
getFragmentCollections
public static List<FragmentCollection> getFragmentCollections(long groupId, boolean includeSystem, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) -
getFragmentCollections
-
getFragmentCollections
public static List<FragmentCollection> getFragmentCollections(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) -
getFragmentCollections
public static List<FragmentCollection> getFragmentCollections(long groupId, String name, boolean includeSystem, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) -
getFragmentCollections
public static List<FragmentCollection> getFragmentCollections(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) -
getFragmentCollections
-
getFragmentCollections
public static List<FragmentCollection> getFragmentCollections(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) -
getFragmentCollections
public static List<FragmentCollection> getFragmentCollections(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) -
getFragmentCollectionsCount
public static int getFragmentCollectionsCount(long groupId) -
getFragmentCollectionsCount
public static int getFragmentCollectionsCount(long groupId, boolean includeSystem) -
getFragmentCollectionsCount
-
getFragmentCollectionsCount
-
getFragmentCollectionsCount
public static int getFragmentCollectionsCount(long[] groupIds) -
getFragmentCollectionsCount
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getTempFileNames
public static String[] getTempFileNames(long groupId, String folderName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentCollection
public static FragmentCollection updateFragmentCollection(long fragmentCollectionId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-