Liferay 7.0-ce-m6

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 com.liferay.portlet.documentlibrary.service.impl.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, com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeServiceBaseImpl, com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeServiceImpl

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 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
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 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 setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(DLFileEntryTypeService service)
          Deprecated. As of 6.2.0
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

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

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

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)

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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()

setService

@Deprecated
public void setService(DLFileEntryTypeService service)
Deprecated. As of 6.2.0


Liferay 7.0-ce-m6