Liferay 6.2-ce-ga5

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

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

addFileEntryType

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

addFileEntryType

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

deleteFileEntryType

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

getFileEntryType

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

getFileEntryTypes

public static List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
                                               throws SystemException
Throws:
SystemException

getFileEntryTypes

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

getFileEntryTypesCount

public static int getFileEntryTypesCount(long[] groupIds)
                                  throws SystemException
Throws:
SystemException

getFolderFileEntryTypes

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

search

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

searchCount

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

updateFileEntryType

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

updateFileEntryType

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

getService

public static DLFileEntryTypeService getService()

setService

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


Liferay 6.2-ce-ga5