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 FragmentCollectionaddFragmentCollection(String externalReferenceCode, long groupId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) static FragmentCollectionaddFragmentCollection(String externalReferenceCode, long groupId, String fragmentCollectionKey, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) static FragmentCollectiondeleteFragmentCollection(long fragmentCollectionId) static FragmentCollectiondeleteFragmentCollection(String externalReferenceCode, long groupId) static voiddeleteFragmentCollections(long[] fragmentCollectionIds) static FragmentCollectionfetchFragmentCollection(long fragmentCollectionId) static FragmentCollectiongetFragmentCollectionByExternalReferenceCode(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 intgetFragmentCollectionsCount(long groupId) static intgetFragmentCollectionsCount(long[] groupIds) static intgetFragmentCollectionsCount(long[] groupIds, String name) static intgetFragmentCollectionsCount(long groupId, boolean includeSystem) static intgetFragmentCollectionsCount(long groupId, String name) static intgetFragmentCollectionsCount(long groupId, String name, boolean includeSystem) static StringReturns the OSGi service identifier.static FragmentCollectionServicestatic String[]getTempFileNames(long groupId, String folderName) static FragmentCollectionupdateFragmentCollection(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
-