Class DLFileEntryTypeLocalServiceWrapper
- All Implemented Interfaces:
DLFileEntryTypeLocalService,BaseLocalService,CTService<DLFileEntryType>,PersistedModelLocalService,ServiceWrapper<DLFileEntryTypeLocalService>
DLFileEntryTypeLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionDLFileEntryTypeLocalServiceWrapper(DLFileEntryTypeLocalService dlFileEntryTypeLocalService) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDDMStructureLinks(long fileEntryTypeId, Set<Long> ddmStructureIds) addDLFileEntryType(DLFileEntryType dlFileEntryType) Adds the document library file entry type to the database.booleanaddDLFolderDLFileEntryType(long folderId, long fileEntryTypeId) booleanaddDLFolderDLFileEntryType(long folderId, DLFileEntryType dlFileEntryType) booleanaddDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds) booleanaddDLFolderDLFileEntryTypes(long folderId, List<DLFileEntryType> dlFileEntryTypes) addFileEntryType(String externalReferenceCode, long userId, long groupId, long dataDefinitionId, String fileEntryTypeKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, int scope, ServiceContext serviceContext) addFileEntryType(String externalReferenceCode, long userId, long groupId, long dataDefinitionId, String fileEntryTypeKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, ServiceContext serviceContext) Deprecated.voidcascadeFileEntryTypes(long userId, DLFolder dlFolder) voidclearDLFolderDLFileEntryTypes(long folderId) createDLFileEntryType(long fileEntryTypeId) Creates a new document library file entry type with the primary key.createPersistedModel(Serializable primaryKeyObj) deleteDLFileEntryType(long fileEntryTypeId) Deletes the document library file entry type with the primary key from the database.deleteDLFileEntryType(DLFileEntryType dlFileEntryType) Deletes the document library file entry type from the database.voiddeleteDLFolderDLFileEntryType(long folderId, long fileEntryTypeId) voiddeleteDLFolderDLFileEntryType(long folderId, DLFileEntryType dlFileEntryType) voiddeleteDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds) voiddeleteDLFolderDLFileEntryTypes(long folderId, List<DLFileEntryType> dlFileEntryTypes) voiddeleteFileEntryType(long fileEntryTypeId) deleteFileEntryType(DLFileEntryType dlFileEntryType) voiddeleteFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) voiddeleteFileEntryTypes(long groupId) deletePersistedModel(PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <T> List<T>dynamicQuery(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.fetchDataDefinitionFileEntryType(long groupId, long dataDefinitionId) fetchDLFileEntryType(long fileEntryTypeId) fetchDLFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) fetchDLFileEntryTypeByUuidAndGroupId(String uuid, long groupId) Returns the document library file entry type matching the UUID and group.fetchFileEntryType(long fileEntryTypeId) fetchFileEntryType(long groupId, String fileEntryTypeKey) longgetDefaultFileEntryTypeId(long folderId) getDLFileEntryType(long fileEntryTypeId) Returns the document library file entry type with the primary key.getDLFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) getDLFileEntryTypeByUuidAndGroupId(String uuid, long groupId) Returns the document library file entry type matching the UUID and group.getDLFileEntryTypes(int start, int end) Returns a range of all the document library file entry types.getDLFileEntryTypesByUuidAndCompanyId(String uuid, long companyId) Returns all the document library file entry types matching the UUID and company.getDLFileEntryTypesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) Returns a range of document library file entry types matching the UUID and company.intReturns the number of document library file entry types.getDLFolderDLFileEntryTypes(long folderId) getDLFolderDLFileEntryTypes(long folderId, int start, int end) getDLFolderDLFileEntryTypes(long folderId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) intgetDLFolderDLFileEntryTypesCount(long folderId) long[]getDLFolderPrimaryKeys(long fileEntryTypeId) Returns the folderIds of the document library folders associated with the document library file entry type.getExportActionableDynamicQuery(PortletDataContext portletDataContext) getFileEntryType(long fileEntryTypeId) getFileEntryType(long groupId, String fileEntryTypeKey) getFileEntryTypes(long[] groupIds) getFileEntryTypesByCompanyId(long companyId) getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited) Returns the OSGi service identifier.getPersistedModel(Serializable primaryKeyObj) booleanhasDLFolderDLFileEntryType(long folderId, long fileEntryTypeId) booleanhasDLFolderDLFileEntryTypes(long folderId) search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) intsearchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType) voidsetDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds) voidsetWrappedService(DLFileEntryTypeLocalService dlFileEntryTypeLocalService) voidunsetFolderFileEntryTypes(long folderId) voidupdateDDMStructureLinks(long fileEntryTypeId, Set<Long> ddmStructureIds) updateDLFileEntryType(DLFileEntryType dlFileEntryType) Updates the document library file entry type in the database or adds it if it does not yet exist.updateFileEntryFileEntryType(DLFileEntry dlFileEntry, ServiceContext serviceContext) updateFileEntryType(long fileEntryTypeId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap) voidupdateFolderFileEntryTypes(DLFolder dlFolder, List<Long> fileEntryTypeIds, long defaultFileEntryTypeId, ServiceContext serviceContext) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<DLFileEntryType>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
DLFileEntryTypeLocalServiceWrapper
public DLFileEntryTypeLocalServiceWrapper() -
DLFileEntryTypeLocalServiceWrapper
-
-
Method Details
-
addDDMStructureLinks
- Specified by:
addDDMStructureLinksin interfaceDLFileEntryTypeLocalService
-
addDLFileEntryType
Adds the document library file entry type to the database. Also notifies the appropriate model listeners.Important: Inspect DLFileEntryTypeLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addDLFileEntryTypein interfaceDLFileEntryTypeLocalService- Parameters:
dlFileEntryType- the document library file entry type- Returns:
- the document library file entry type that was added
-
addDLFolderDLFileEntryType
- Specified by:
addDLFolderDLFileEntryTypein interfaceDLFileEntryTypeLocalService
-
addDLFolderDLFileEntryType
public boolean addDLFolderDLFileEntryType(long folderId, long fileEntryTypeId) - Specified by:
addDLFolderDLFileEntryTypein interfaceDLFileEntryTypeLocalService
-
addDLFolderDLFileEntryTypes
- Specified by:
addDLFolderDLFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
addDLFolderDLFileEntryTypes
public boolean addDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds) - Specified by:
addDLFolderDLFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
addFileEntryType
public DLFileEntryType addFileEntryType(String externalReferenceCode, long userId, long groupId, long dataDefinitionId, String fileEntryTypeKey, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap, int scope, ServiceContext serviceContext) - Specified by:
addFileEntryTypein interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
addFileEntryType
@Deprecated public DLFileEntryType addFileEntryType(String externalReferenceCode, long userId, long groupId, long dataDefinitionId, String fileEntryTypeKey, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap, ServiceContext serviceContext) Deprecated.As of Cavanaugh (7.4.x), replaced byaddFileEntryType(String, long, long, long, String, Map, Map, int, ServiceContext)- Specified by:
addFileEntryTypein interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
cascadeFileEntryTypes
- Specified by:
cascadeFileEntryTypesin interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
clearDLFolderDLFileEntryTypes
public void clearDLFolderDLFileEntryTypes(long folderId) - Specified by:
clearDLFolderDLFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
createBasicDocumentDLFileEntryType
- Specified by:
createBasicDocumentDLFileEntryTypein interfaceDLFileEntryTypeLocalService
-
createDLFileEntryType
Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.- Specified by:
createDLFileEntryTypein interfaceDLFileEntryTypeLocalService- Parameters:
fileEntryTypeId- the primary key for the new document library file entry type- Returns:
- the new document library file entry type
-
createPersistedModel
- Specified by:
createPersistedModelin interfaceDLFileEntryTypeLocalService- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
deleteDLFileEntryType
Deletes the document library file entry type from the database. Also notifies the appropriate model listeners.Important: Inspect DLFileEntryTypeLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteDLFileEntryTypein interfaceDLFileEntryTypeLocalService- Parameters:
dlFileEntryType- the document library file entry type- Returns:
- the document library file entry type that was removed
-
deleteDLFileEntryType
Deletes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect DLFileEntryTypeLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteDLFileEntryTypein interfaceDLFileEntryTypeLocalService- Parameters:
fileEntryTypeId- the primary key of the document library file entry type- Returns:
- the document library file entry type that was removed
- Throws:
PortalException- if a document library file entry type with the primary key could not be foundPortalException
-
deleteDLFolderDLFileEntryType
- Specified by:
deleteDLFolderDLFileEntryTypein interfaceDLFileEntryTypeLocalService
-
deleteDLFolderDLFileEntryType
public void deleteDLFolderDLFileEntryType(long folderId, long fileEntryTypeId) - Specified by:
deleteDLFolderDLFileEntryTypein interfaceDLFileEntryTypeLocalService
-
deleteDLFolderDLFileEntryTypes
- Specified by:
deleteDLFolderDLFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
deleteDLFolderDLFileEntryTypes
public void deleteDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds) - Specified by:
deleteDLFolderDLFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
deleteFileEntryType
- Specified by:
deleteFileEntryTypein interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
deleteFileEntryType
- Specified by:
deleteFileEntryTypein interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
deleteFileEntryTypeByExternalReferenceCode
public void deleteFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Specified by:
deleteFileEntryTypeByExternalReferenceCodein interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
deleteFileEntryTypes
- Specified by:
deleteFileEntryTypesin interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfaceDLFileEntryTypeLocalService- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceDLFileEntryTypeLocalService- Specified by:
dslQueryin interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceDLFileEntryTypeLocalService- Specified by:
dslQueryCountin interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceDLFileEntryTypeLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceDLFileEntryTypeLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl.- Specified by:
dynamicQueryin interfaceDLFileEntryTypeLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl.- Specified by:
dynamicQueryin interfaceDLFileEntryTypeLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceDLFileEntryTypeLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceDLFileEntryTypeLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDataDefinitionFileEntryType
- Specified by:
fetchDataDefinitionFileEntryTypein interfaceDLFileEntryTypeLocalService
-
fetchDLFileEntryType
- Specified by:
fetchDLFileEntryTypein interfaceDLFileEntryTypeLocalService
-
fetchDLFileEntryTypeByExternalReferenceCode
public DLFileEntryType fetchDLFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchDLFileEntryTypeByExternalReferenceCodein interfaceDLFileEntryTypeLocalService
-
fetchDLFileEntryTypeByUuidAndGroupId
Returns the document library file entry type matching the UUID and group.- Specified by:
fetchDLFileEntryTypeByUuidAndGroupIdin interfaceDLFileEntryTypeLocalService- Parameters:
uuid- the document library file entry type's UUIDgroupId- the primary key of the group- Returns:
- the matching document library file entry type, or
nullif a matching document library file entry type could not be found
-
fetchFileEntryType
- Specified by:
fetchFileEntryTypein interfaceDLFileEntryTypeLocalService
-
fetchFileEntryType
- Specified by:
fetchFileEntryTypein interfaceDLFileEntryTypeLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceDLFileEntryTypeLocalService
-
getBasicDocumentDLFileEntryType
- Specified by:
getBasicDocumentDLFileEntryTypein interfaceDLFileEntryTypeLocalService- Throws:
NoSuchFileEntryTypeException
-
getDefaultFileEntryTypeId
- Specified by:
getDefaultFileEntryTypeIdin interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
getDLFileEntryType
Returns the document library file entry type with the primary key.- Specified by:
getDLFileEntryTypein interfaceDLFileEntryTypeLocalService- Parameters:
fileEntryTypeId- the primary key of the document library file entry type- Returns:
- the document library file entry type
- Throws:
PortalException- if a document library file entry type with the primary key could not be foundPortalException
-
getDLFileEntryTypeByExternalReferenceCode
public DLFileEntryType getDLFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Specified by:
getDLFileEntryTypeByExternalReferenceCodein interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
getDLFileEntryTypeByUuidAndGroupId
public DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(String uuid, long groupId) throws PortalException Returns the document library file entry type matching the UUID and group.- Specified by:
getDLFileEntryTypeByUuidAndGroupIdin interfaceDLFileEntryTypeLocalService- Parameters:
uuid- the document library file entry type's UUIDgroupId- the primary key of the group- Returns:
- the matching document library file entry type
- Throws:
PortalException- if a matching document library file entry type could not be foundPortalException
-
getDLFileEntryTypes
Returns a range of all the document library file entry types.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl.- Specified by:
getDLFileEntryTypesin interfaceDLFileEntryTypeLocalService- Parameters:
start- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)- Returns:
- the range of document library file entry types
-
getDLFileEntryTypesByUuidAndCompanyId
Returns all the document library file entry types matching the UUID and company.- Specified by:
getDLFileEntryTypesByUuidAndCompanyIdin interfaceDLFileEntryTypeLocalService- Parameters:
uuid- the UUID of the document library file entry typescompanyId- the primary key of the company- Returns:
- the matching document library file entry types, or an empty list if no matches were found
-
getDLFileEntryTypesByUuidAndCompanyId
public List<DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) Returns a range of document library file entry types matching the UUID and company.- Specified by:
getDLFileEntryTypesByUuidAndCompanyIdin interfaceDLFileEntryTypeLocalService- Parameters:
uuid- the UUID of the document library file entry typescompanyId- the primary key of the companystart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the range of matching document library file entry types, or an empty list if no matches were found
-
getDLFileEntryTypesCount
public int getDLFileEntryTypesCount()Returns the number of document library file entry types.- Specified by:
getDLFileEntryTypesCountin interfaceDLFileEntryTypeLocalService- Returns:
- the number of document library file entry types
-
getDLFolderDLFileEntryTypes
- Specified by:
getDLFolderDLFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
getDLFolderDLFileEntryTypes
- Specified by:
getDLFolderDLFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
getDLFolderDLFileEntryTypes
public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) - Specified by:
getDLFolderDLFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
getDLFolderDLFileEntryTypesCount
public int getDLFolderDLFileEntryTypesCount(long folderId) - Specified by:
getDLFolderDLFileEntryTypesCountin interfaceDLFileEntryTypeLocalService
-
getDLFolderPrimaryKeys
public long[] getDLFolderPrimaryKeys(long fileEntryTypeId) Returns the folderIds of the document library folders associated with the document library file entry type.- Specified by:
getDLFolderPrimaryKeysin interfaceDLFileEntryTypeLocalService- Parameters:
fileEntryTypeId- the fileEntryTypeId of the document library file entry type- Returns:
- long[] the folderIds of document library folders associated with the document library file entry type
-
getExportActionableDynamicQuery
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceDLFileEntryTypeLocalService
-
getFileEntryType
- Specified by:
getFileEntryTypein interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
getFileEntryType
public DLFileEntryType getFileEntryType(long groupId, String fileEntryTypeKey) throws PortalException - Specified by:
getFileEntryTypein interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
getFileEntryTypes
- Specified by:
getFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
getFileEntryTypesByCompanyId
- Specified by:
getFileEntryTypesByCompanyIdin interfaceDLFileEntryTypeLocalService
-
getFolderFileEntryTypes
public List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited) throws PortalException - Specified by:
getFolderFileEntryTypesin interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceDLFileEntryTypeLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceDLFileEntryTypeLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfaceDLFileEntryTypeLocalService- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
hasDLFolderDLFileEntryType
public boolean hasDLFolderDLFileEntryType(long folderId, long fileEntryTypeId) - Specified by:
hasDLFolderDLFileEntryTypein interfaceDLFileEntryTypeLocalService
-
hasDLFolderDLFileEntryTypes
public boolean hasDLFolderDLFileEntryTypes(long folderId) - Specified by:
hasDLFolderDLFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
search
public List<DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) - Specified by:
searchin interfaceDLFileEntryTypeLocalService
-
searchCount
public int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType) - Specified by:
searchCountin interfaceDLFileEntryTypeLocalService
-
setDLFolderDLFileEntryTypes
public void setDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds) - Specified by:
setDLFolderDLFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
unsetFolderFileEntryTypes
public void unsetFolderFileEntryTypes(long folderId) - Specified by:
unsetFolderFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
updateDDMStructureLinks
public void updateDDMStructureLinks(long fileEntryTypeId, Set<Long> ddmStructureIds) throws PortalException - Specified by:
updateDDMStructureLinksin interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
updateDLFileEntryType
Updates the document library file entry type in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect DLFileEntryTypeLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateDLFileEntryTypein interfaceDLFileEntryTypeLocalService- Parameters:
dlFileEntryType- the document library file entry type- Returns:
- the document library file entry type that was updated
-
updateFileEntryFileEntryType
public DLFileEntry updateFileEntryFileEntryType(DLFileEntry dlFileEntry, ServiceContext serviceContext) throws PortalException - Specified by:
updateFileEntryFileEntryTypein interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
updateFileEntryType
public DLFileEntryType updateFileEntryType(long fileEntryTypeId, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap) - Specified by:
updateFileEntryTypein interfaceDLFileEntryTypeLocalService- Throws:
PortalException
-
updateFolderFileEntryTypes
public void updateFolderFileEntryTypes(DLFolder dlFolder, List<Long> fileEntryTypeIds, long defaultFileEntryTypeId, ServiceContext serviceContext) - Specified by:
updateFolderFileEntryTypesin interfaceDLFileEntryTypeLocalService
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistencein interfaceCTService<DLFileEntryType>- Specified by:
getCTPersistencein interfaceDLFileEntryTypeLocalService
-
getModelClass
- Specified by:
getModelClassin interfaceCTService<DLFileEntryType>- Specified by:
getModelClassin interfaceDLFileEntryTypeLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<DLFileEntryType>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceCTService<DLFileEntryType>- Specified by:
updateWithUnsafeFunctionin interfaceDLFileEntryTypeLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<DLFileEntryTypeLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<DLFileEntryTypeLocalService>
-
addFileEntryType(String, long, long, long, String, Map, Map, int, ServiceContext)