Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.service
Interface DLFileEntryTypeService

All Superinterfaces:
BaseService
All Known Implementing Classes:
DLFileEntryTypeServiceWrapper

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

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

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

addFileEntryType

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

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

getFileEntryTypes

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

getFileEntryTypesCount

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

getFolderFileEntryTypes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds,
                                                                                       long folderId,
                                                                                       boolean inherited)
                                              throws PortalException,
                                                     SystemException
Throws:
PortalException
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,
                         Map<Locale,String> nameMap,
                         Map<Locale,String> descriptionMap,
                         long[] ddmStructureIds,
                         ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

updateFileEntryType

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

Liferay 6.2-ce-ga5