Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service
Class DLFileEntryTypeServiceUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFileEntryTypeServiceUtil

@ProviderType
public class DLFileEntryTypeServiceUtil
extends Object

Provides the remote service utility for DLFileEntryType. This utility wraps DLFileEntryTypeServiceImpl and is the primary 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:
DLFileEntryTypeService, DLFileEntryTypeServiceBaseImpl, DLFileEntryTypeServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
DLFileEntryTypeServiceUtil()
           
 
Method Summary
static DLFileEntryType addFileEntryType(long groupId, String fileEntryTypeKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, long[] ddmStructureIds, ServiceContext serviceContext)
           
static DLFileEntryType addFileEntryType(long groupId, String name, String description, long[] ddmStructureIds, ServiceContext serviceContext)
           
static void deleteFileEntryType(long fileEntryTypeId)
           
static DLFileEntryType getFileEntryType(long fileEntryTypeId)
           
static List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
           
static List<DLFileEntryType> getFileEntryTypes(long[] groupIds, int start, int end)
           
static int getFileEntryTypesCount(long[] groupIds)
           
static List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited)
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static DLFileEntryTypeService getService()
           
static List<DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
           
static int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType)
           
static void updateFileEntryType(long fileEntryTypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, long[] ddmStructureIds, ServiceContext serviceContext)
           
static void updateFileEntryType(long fileEntryTypeId, String name, String description, long[] ddmStructureIds, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryTypeServiceUtil

public DLFileEntryTypeServiceUtil()
Method Detail

addFileEntryType

public static DLFileEntryType addFileEntryType(long groupId,
                                               String fileEntryTypeKey,
                                               Map<Locale,String> nameMap,
                                               Map<Locale,String> descriptionMap,
                                               long[] ddmStructureIds,
                                               ServiceContext serviceContext)
                                        throws PortalException
Throws:
PortalException

addFileEntryType

public static DLFileEntryType addFileEntryType(long groupId,
                                               String name,
                                               String description,
                                               long[] ddmStructureIds,
                                               ServiceContext serviceContext)
                                        throws PortalException
Throws:
PortalException

deleteFileEntryType

public static void deleteFileEntryType(long fileEntryTypeId)
                                throws PortalException
Throws:
PortalException

getFileEntryType

public static DLFileEntryType getFileEntryType(long fileEntryTypeId)
                                        throws PortalException
Throws:
PortalException

getFileEntryTypes

public static List<DLFileEntryType> getFileEntryTypes(long[] groupIds)

getFileEntryTypes

public static List<DLFileEntryType> getFileEntryTypes(long[] groupIds,
                                                      int start,
                                                      int end)

getFileEntryTypesCount

public static int getFileEntryTypesCount(long[] groupIds)

getFolderFileEntryTypes

public static List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds,
                                                            long folderId,
                                                            boolean inherited)
                                                     throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

search

public static List<DLFileEntryType> search(long companyId,
                                           long[] groupIds,
                                           String keywords,
                                           boolean includeBasicFileEntryType,
                                           int start,
                                           int end,
                                           OrderByComparator<DLFileEntryType> orderByComparator)

searchCount

public static int searchCount(long companyId,
                              long[] groupIds,
                              String keywords,
                              boolean includeBasicFileEntryType)

updateFileEntryType

public static void updateFileEntryType(long fileEntryTypeId,
                                       String name,
                                       String description,
                                       long[] ddmStructureIds,
                                       ServiceContext serviceContext)
                                throws PortalException
Throws:
PortalException

updateFileEntryType

public static void updateFileEntryType(long fileEntryTypeId,
                                       Map<Locale,String> nameMap,
                                       Map<Locale,String> descriptionMap,
                                       long[] ddmStructureIds,
                                       ServiceContext serviceContext)
                                throws PortalException
Throws:
PortalException

getService

public static DLFileEntryTypeService getService()

Liferay 7.0-ce-b4