Interface DLFileEntryTypeService
- All Superinterfaces:
BaseService
- All Known Implementing Classes:
DLFileEntryTypeServiceWrapper
@AccessControlled
@CTAware
@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.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionaddFileEntryType
(String externalReferenceCode, long groupId, long dataDefinitionId, String fileEntryTypeKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, ServiceContext serviceContext) void
deleteFileEntryType
(long fileEntryTypeId) void
deleteFileEntryTypeByExternalReferenceCode
(String externalReferenceCode, long groupId) fetchFileEntryTypeByExternalReferenceCode
(String externalReferenceCode, long groupId) getFileEntryType
(long fileEntryTypeId) getFileEntryTypeByExternalReferenceCode
(String externalReferenceCode, long groupId) getFileEntryTypes
(long[] groupIds) getFileEntryTypes
(long[] groupIds, int start, int end) int
getFileEntryTypesCount
(long[] groupIds) getFolderFileEntryTypes
(long[] groupIds, long folderId, boolean inherited) Returns the OSGi service identifier.search
(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) search
(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) search
(long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited, int start, int end) int
searchCount
(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType) int
searchCount
(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope) int
searchCount
(long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited) updateFileEntryType
(long fileEntryTypeId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap)
-
Method Details
-
addFileEntryType
DLFileEntryType addFileEntryType(String externalReferenceCode, long groupId, long dataDefinitionId, String fileEntryTypeKey, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap, ServiceContext serviceContext) - Throws:
PortalException
-
deleteFileEntryType
- Throws:
PortalException
-
deleteFileEntryTypeByExternalReferenceCode
void deleteFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Throws:
PortalException
-
fetchFileEntryTypeByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType fetchFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Throws:
PortalException
-
getFileEntryType
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType getFileEntryType(long fileEntryTypeId) throws PortalException - Throws:
PortalException
-
getFileEntryTypeByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType getFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) 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
-
getFolderFileEntryTypes
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
search
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntryType> search(long companyId, long folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited, int start, int end) throws PortalException - Throws:
PortalException
-
search
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) -
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 folderId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, boolean inherited) -
searchCount
@Transactional(propagation=SUPPORTS, readOnly=true) int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType) -
searchCount
@Transactional(propagation=SUPPORTS, readOnly=true) int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int scope) -
updateFileEntryType
DLFileEntryType updateFileEntryType(long fileEntryTypeId, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap) - Throws:
PortalException
-