Liferay 7.0-ce-a2

com.liferay.portlet.documentlibrary.service
Interface DLFileEntryTypeService

All Superinterfaces:
BaseService
All Known Implementing Classes:
DLFileEntryTypeServiceBaseImpl, DLFileEntryTypeServiceImpl, DLFileEntryTypeServiceWrapper

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

Provides the remote service interface for DLFileEntryType. 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, DLFileEntryTypeServiceBaseImpl, DLFileEntryTypeServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 DLFileEntryType addFileEntryType(long groupId, String fileEntryTypeKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, long[] ddmStructureIds, ServiceContext serviceContext)
           
 DLFileEntryType addFileEntryType(long groupId, String name, String description, long[] ddmStructureIds, ServiceContext serviceContext)
           
 void deleteFileEntryType(long fileEntryTypeId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DLFileEntryType getFileEntryType(long fileEntryTypeId)
           
 List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
           
 List<DLFileEntryType> getFileEntryTypes(long[] groupIds, int start, int end)
           
 int getFileEntryTypesCount(long[] groupIds)
           
 List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited)
           
 List<DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
           
 int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void updateFileEntryType(long fileEntryTypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, long[] ddmStructureIds, ServiceContext serviceContext)
           
 void updateFileEntryType(long fileEntryTypeId, String name, String description, long[] ddmStructureIds, ServiceContext serviceContext)
           
 

Method Detail

addFileEntryType

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

addFileEntryType

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

deleteFileEntryType

void deleteFileEntryType(long fileEntryTypeId)
                         throws PortalException
Throws:
PortalException

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

getFileEntryType

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

getFileEntryTypes

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

getFileEntryTypes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntryType> getFileEntryTypes(long[] groupIds,
                                                                                 int start,
                                                                                 int end)

getFileEntryTypesCount

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

getFolderFileEntryTypes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds,
                                                                                       long folderId,
                                                                                       boolean inherited)
                                              throws PortalException
Throws:
PortalException

search

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

searchCount

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

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateFileEntryType

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

updateFileEntryType

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

Liferay 7.0-ce-a2