Liferay 7.0-ga1 portal-kernel

com.liferay.document.library.kernel.service
Interface DLFileEntryTypeService

All Superinterfaces:
BaseService
All Known Implementing Classes:
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, com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeServiceBaseImpl, com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeServiceImpl
{$generated.description}

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)
           
 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)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 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 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

getFileEntryType

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

getFileEntryTypesCount

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

searchCount

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

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

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)

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)

deleteFileEntryType

void deleteFileEntryType(long fileEntryTypeId)
                         throws PortalException
Throws:
PortalException

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-ga1 portal-kernel