Liferay 6.1.10-ee-ga1

com.liferay.portlet.documentlibrary.service
Interface DLFileEntryTypeService

All Known Implementing Classes:
DLFileEntryTypeServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface DLFileEntryTypeService

The interface for the document library file entry type remote service.

This is a remote service. 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:
DLFileEntryTypeServiceUtil, com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeServiceBaseImpl, com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeServiceImpl

Method Summary
 DLFileEntryType addFileEntryType(long groupId, String name, String description, long[] ddmStructureIds, ServiceContext serviceContext)
           
 void deleteFileEntryType(long fileEntryTypeId)
           
 DLFileEntryType getFileEntryType(long fileEntryTypeId)
           
 List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
           
 int getFileEntryTypesCount(long[] groupIds)
           
 List<DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, OrderByComparator orderByComparator)
           
 int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType)
           
 void updateFileEntryType(long fileEntryTypeId, String name, String description, long[] ddmStructureIds, ServiceContext serviceContext)
           
 

Method Detail

addFileEntryType

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

deleteFileEntryType

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

getFileEntryType

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntryType getFileEntryType(long fileEntryTypeId)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getFileEntryTypes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
                                        throws SystemException
Throws:
SystemException

getFileEntryTypesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFileEntryTypesCount(long[] groupIds)
                           throws SystemException
Throws:
SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntryType> search(long companyId,
                                                                      long[] groupIds,
                                                                      String keywords,
                                                                      boolean includeBasicFileEntryType,
                                                                      int start,
                                                                      int end,
                                                                      OrderByComparator orderByComparator)
                             throws SystemException
Throws:
SystemException

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long companyId,
                                                         long[] groupIds,
                                                         String keywords,
                                                         boolean includeBasicFileEntryType)
                throws SystemException
Throws:
SystemException

updateFileEntryType

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

Liferay 6.1.10-ee-ga1