001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
020 import com.liferay.portal.kernel.transaction.Isolation;
021 import com.liferay.portal.kernel.transaction.Propagation;
022 import com.liferay.portal.kernel.transaction.Transactional;
023 import com.liferay.portal.security.ac.AccessControlled;
024 import com.liferay.portal.service.BaseService;
025
026
039 @AccessControlled
040 @JSONWebService
041 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
042 PortalException.class, SystemException.class})
043 public interface DLFileEntryTypeService extends BaseService {
044
049
050
055 public java.lang.String getBeanIdentifier();
056
057
062 public void setBeanIdentifier(java.lang.String beanIdentifier);
063
064 public com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
065 long groupId, java.lang.String name, java.lang.String description,
066 long[] ddmStructureIds,
067 com.liferay.portal.service.ServiceContext serviceContext)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException;
070
071 public void deleteFileEntryType(long fileEntryTypeId)
072 throws com.liferay.portal.kernel.exception.PortalException,
073 com.liferay.portal.kernel.exception.SystemException;
074
075 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
076 public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
077 long fileEntryTypeId)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException;
080
081 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
082 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
083 long[] groupIds)
084 throws com.liferay.portal.kernel.exception.SystemException;
085
086 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
087 public int getFileEntryTypesCount(long[] groupIds)
088 throws com.liferay.portal.kernel.exception.SystemException;
089
090 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
091 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> search(
092 long companyId, long[] groupIds, java.lang.String keywords,
093 boolean includeBasicFileEntryType, int start, int end,
094 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
095 throws com.liferay.portal.kernel.exception.SystemException;
096
097 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
098 public int searchCount(long companyId, long[] groupIds,
099 java.lang.String keywords, boolean includeBasicFileEntryType)
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102 public void updateFileEntryType(long fileEntryTypeId,
103 java.lang.String name, java.lang.String description,
104 long[] ddmStructureIds,
105 com.liferay.portal.service.ServiceContext serviceContext)
106 throws com.liferay.portal.kernel.exception.PortalException,
107 com.liferay.portal.kernel.exception.SystemException;
108 }