public class FragmentCollectionServiceUtil
extends java.lang.Object
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.FragmentCollectionService
Constructor and Description |
---|
FragmentCollectionServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static FragmentCollection |
addFragmentCollection(long groupId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static FragmentCollection |
addFragmentCollection(long groupId,
java.lang.String fragmentCollectionKey,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static FragmentCollection |
deleteFragmentCollection(long fragmentCollectionId) |
static void |
deleteFragmentCollections(long[] fragmentCollectionIds) |
static FragmentCollection |
fetchFragmentCollection(long fragmentCollectionId) |
static java.util.List<FragmentCollection> |
getFragmentCollections(long groupId) |
static java.util.List<FragmentCollection> |
getFragmentCollections(long[] groupIds) |
static java.util.List<FragmentCollection> |
getFragmentCollections(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) |
static java.util.List<FragmentCollection> |
getFragmentCollections(long[] groupIds,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) |
static java.util.List<FragmentCollection> |
getFragmentCollections(long groupId,
boolean includeSystem) |
static java.util.List<FragmentCollection> |
getFragmentCollections(long groupId,
boolean includeSystem,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) |
static java.util.List<FragmentCollection> |
getFragmentCollections(long groupId,
int start,
int end) |
static java.util.List<FragmentCollection> |
getFragmentCollections(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) |
static java.util.List<FragmentCollection> |
getFragmentCollections(long groupId,
java.lang.String name,
boolean includeSystem,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) |
static java.util.List<FragmentCollection> |
getFragmentCollections(long groupId,
java.lang.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,
java.lang.String name) |
static int |
getFragmentCollectionsCount(long groupId,
boolean includeSystem) |
static int |
getFragmentCollectionsCount(long groupId,
java.lang.String name) |
static int |
getFragmentCollectionsCount(long groupId,
java.lang.String name,
boolean includeSystem) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static FragmentCollectionService |
getService() |
static java.lang.String[] |
getTempFileNames(long groupId,
java.lang.String folderName) |
static FragmentCollection |
updateFragmentCollection(long fragmentCollectionId,
java.lang.String name,
java.lang.String description) |
public static FragmentCollection addFragmentCollection(long groupId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentCollection addFragmentCollection(long groupId, java.lang.String fragmentCollectionKey, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentCollection deleteFragmentCollection(long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFragmentCollections(long[] fragmentCollectionIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentCollection fetchFragmentCollection(long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<FragmentCollection> getFragmentCollections(long groupId)
public static java.util.List<FragmentCollection> getFragmentCollections(long groupId, boolean includeSystem)
public static java.util.List<FragmentCollection> getFragmentCollections(long groupId, boolean includeSystem, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
public static java.util.List<FragmentCollection> getFragmentCollections(long groupId, int start, int end)
public static java.util.List<FragmentCollection> getFragmentCollections(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
public static java.util.List<FragmentCollection> getFragmentCollections(long groupId, java.lang.String name, boolean includeSystem, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
public static java.util.List<FragmentCollection> getFragmentCollections(long groupId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
public static java.util.List<FragmentCollection> getFragmentCollections(long[] groupIds)
public static java.util.List<FragmentCollection> getFragmentCollections(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
public static java.util.List<FragmentCollection> getFragmentCollections(long[] groupIds, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
public static int getFragmentCollectionsCount(long groupId)
public static int getFragmentCollectionsCount(long groupId, boolean includeSystem)
public static int getFragmentCollectionsCount(long groupId, java.lang.String name)
public static int getFragmentCollectionsCount(long groupId, java.lang.String name, boolean includeSystem)
public static int getFragmentCollectionsCount(long[] groupIds)
public static int getFragmentCollectionsCount(long[] groupIds, java.lang.String name)
public static java.lang.String getOSGiServiceIdentifier()
public static java.lang.String[] getTempFileNames(long groupId, java.lang.String folderName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentCollection updateFragmentCollection(long fragmentCollectionId, java.lang.String name, java.lang.String description) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentCollectionService getService()