com.liferay.portlet.documentlibrary.service
Interface DLFileEntryTypeService

All Superinterfaces:
BaseService
All Known Implementing Classes:
DLFileEntryTypeServiceWrapper

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

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.

Author:
Brian Wing Shun Chan
See Also:
DLFileEntryTypeServiceUtil, com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeServiceBaseImpl, com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeServiceImpl
Generated:

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

Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

addFileEntryType

DLFileEntryType addFileEntryType(long groupId,
                                 java.lang.String name,
                                 java.lang.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)
java.util.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)
java.util.List<DLFileEntryType> search(long companyId,
                                                                                long[] groupIds,
                                                                                java.lang.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,
                                                         java.lang.String keywords,
                                                         boolean includeBasicFileEntryType)
                throws SystemException
Throws:
SystemException

updateFileEntryType

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