Interface DLFileEntryTypeLocalService
- All Superinterfaces:
BaseLocalService
,CTService<DLFileEntryType>
,PersistedModelLocalService
- All Known Implementing Classes:
DLFileEntryTypeLocalServiceWrapper
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDDMStructureLinks
(long fileEntryTypeId, Set<Long> ddmStructureIds) addDLFileEntryType
(DLFileEntryType dlFileEntryType) Adds the document library file entry type to the database.boolean
addDLFolderDLFileEntryType
(long folderId, long fileEntryTypeId) boolean
addDLFolderDLFileEntryType
(long folderId, DLFileEntryType dlFileEntryType) boolean
addDLFolderDLFileEntryTypes
(long folderId, long[] fileEntryTypeIds) boolean
addDLFolderDLFileEntryTypes
(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.void
cascadeFileEntryTypes
(long userId, DLFolder dlFolder) void
clearDLFolderDLFileEntryTypes
(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.void
deleteDLFolderDLFileEntryType
(long folderId, long fileEntryTypeId) void
deleteDLFolderDLFileEntryType
(long folderId, DLFileEntryType dlFileEntryType) void
deleteDLFolderDLFileEntryTypes
(long folderId, long[] fileEntryTypeIds) void
deleteDLFolderDLFileEntryTypes
(long folderId, List<DLFileEntryType> dlFileEntryTypes) void
deleteFileEntryType
(long fileEntryTypeId) deleteFileEntryType
(DLFileEntryType dlFileEntryType) void
deleteFileEntryTypeByExternalReferenceCode
(String externalReferenceCode, long groupId) void
deleteFileEntryTypes
(long groupId) deletePersistedModel
(PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.long
dynamicQueryCount
(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(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) long
getDefaultFileEntryTypeId
(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.int
Returns 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) int
getDLFolderDLFileEntryTypesCount
(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) boolean
hasDLFolderDLFileEntryType
(long folderId, long fileEntryTypeId) boolean
hasDLFolderDLFileEntryTypes
(long folderId) 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
setDLFolderDLFileEntryTypes
(long folderId, long[] fileEntryTypeIds) void
unsetFolderFileEntryTypes
(long folderId) void
updateDDMStructureLinks
(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) void
updateFolderFileEntryTypes
(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 interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel, getBasePersistence
-
Method Details
-
addDDMStructureLinks
-
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.
- Parameters:
dlFileEntryType
- the document library file entry type- Returns:
- the document library file entry type that was added
-
addDLFolderDLFileEntryType
-
addDLFolderDLFileEntryType
boolean addDLFolderDLFileEntryType(long folderId, long fileEntryTypeId) -
addDLFolderDLFileEntryTypes
-
addDLFolderDLFileEntryTypes
boolean addDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds) -
addFileEntryType
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) - Throws:
PortalException
-
addFileEntryType
@Deprecated 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)
- Throws:
PortalException
-
cascadeFileEntryTypes
- Throws:
PortalException
-
clearDLFolderDLFileEntryTypes
void clearDLFolderDLFileEntryTypes(long folderId) -
createBasicDocumentDLFileEntryType
DLFileEntryType createBasicDocumentDLFileEntryType() -
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.- Parameters:
fileEntryTypeId
- the primary key for the new document library file entry type- Returns:
- the new document library file entry type
-
createPersistedModel
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
-
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.
- Parameters:
dlFileEntryType
- the document library file entry type- Returns:
- the document library file entry type that was removed
-
deleteDLFileEntryType
@Indexable(type=DELETE) DLFileEntryType deleteDLFileEntryType(long fileEntryTypeId) throws PortalException 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.
- 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 found
-
deleteDLFolderDLFileEntryType
-
deleteDLFolderDLFileEntryType
void deleteDLFolderDLFileEntryType(long folderId, long fileEntryTypeId) -
deleteDLFolderDLFileEntryTypes
-
deleteDLFolderDLFileEntryTypes
void deleteDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds) -
deleteFileEntryType
@Indexable(type=DELETE) @SystemEvent(action=1, type=1) DLFileEntryType deleteFileEntryType(DLFileEntryType dlFileEntryType) throws PortalException - Throws:
PortalException
-
deleteFileEntryType
- Throws:
PortalException
-
deleteFileEntryTypeByExternalReferenceCode
void deleteFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Throws:
PortalException
-
deleteFileEntryTypes
- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
-
dslQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfacePersistedModelLocalService
-
dslQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacePersistedModelLocalService
-
dynamicQuery
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl
.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) <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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl
.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDataDefinitionFileEntryType
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType fetchDataDefinitionFileEntryType(long groupId, long dataDefinitionId) -
fetchDLFileEntryType
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType fetchDLFileEntryType(long fileEntryTypeId) -
fetchDLFileEntryTypeByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType fetchDLFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) -
fetchDLFileEntryTypeByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType fetchDLFileEntryTypeByUuidAndGroupId(String uuid, long groupId) Returns the document library file entry type matching the UUID and group.- 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
null
if a matching document library file entry type could not be found
-
fetchFileEntryType
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType fetchFileEntryType(long fileEntryTypeId) -
fetchFileEntryType
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType fetchFileEntryType(long groupId, String fileEntryTypeKey) -
getActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) ActionableDynamicQuery getActionableDynamicQuery() -
getBasicDocumentDLFileEntryType
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType getBasicDocumentDLFileEntryType() throws NoSuchFileEntryTypeException- Throws:
NoSuchFileEntryTypeException
-
getDefaultFileEntryTypeId
@Transactional(propagation=SUPPORTS, readOnly=true) long getDefaultFileEntryTypeId(long folderId) throws PortalException - Throws:
PortalException
-
getDLFileEntryType
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType getDLFileEntryType(long fileEntryTypeId) throws PortalException Returns the document library file entry type with the primary key.- 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 found
-
getDLFileEntryTypeByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType getDLFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Throws:
PortalException
-
getDLFileEntryTypeByUuidAndGroupId
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(String uuid, long groupId) throws PortalException Returns the document library file entry type matching the UUID and group.- 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 found
-
getDLFileEntryTypes
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntryType> getDLFileEntryTypes(int start, int end) Returns a range of all the document library file entry types.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl
.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(String uuid, long companyId) Returns all the document library file entry types matching the UUID and company.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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.- 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
Returns the number of document library file entry types.- Returns:
- the number of document library file entry types
-
getDLFolderDLFileEntryTypes
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId) -
getDLFolderDLFileEntryTypes
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId, int start, int end) -
getDLFolderDLFileEntryTypes
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) -
getDLFolderDLFileEntryTypesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getDLFolderDLFileEntryTypesCount(long folderId) -
getDLFolderPrimaryKeys
@Transactional(propagation=SUPPORTS, readOnly=true) long[] getDLFolderPrimaryKeys(long fileEntryTypeId) Returns the folderIds of the document library folders associated with the document library file entry type.- 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
@Transactional(propagation=SUPPORTS, readOnly=true) ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext) -
getFileEntryType
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType getFileEntryType(long fileEntryTypeId) throws PortalException - Throws:
PortalException
-
getFileEntryType
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntryType getFileEntryType(long groupId, String fileEntryTypeKey) throws PortalException - Throws:
PortalException
-
getFileEntryTypes
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntryType> getFileEntryTypes(long[] groupIds) -
getFileEntryTypesByCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntryType> getFileEntryTypesByCompanyId(long companyId) -
getFolderFileEntryTypes
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited) throws PortalException - Throws:
PortalException
-
getIndexableActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPersistedModel
@Transactional(propagation=SUPPORTS, readOnly=true) PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException - Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
-
hasDLFolderDLFileEntryType
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasDLFolderDLFileEntryType(long folderId, long fileEntryTypeId) -
hasDLFolderDLFileEntryTypes
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasDLFolderDLFileEntryTypes(long folderId) -
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[] groupIds, String keywords, boolean includeBasicFileEntryType) -
setDLFolderDLFileEntryTypes
void setDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds) -
unsetFolderFileEntryTypes
void unsetFolderFileEntryTypes(long folderId) -
updateDDMStructureLinks
void updateDDMStructureLinks(long fileEntryTypeId, Set<Long> ddmStructureIds) throws PortalException - 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.
- Parameters:
dlFileEntryType
- the document library file entry type- Returns:
- the document library file entry type that was updated
-
updateFileEntryFileEntryType
DLFileEntry updateFileEntryFileEntryType(DLFileEntry dlFileEntry, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
updateFileEntryType
DLFileEntryType updateFileEntryType(long fileEntryTypeId, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap) - Throws:
PortalException
-
updateFolderFileEntryTypes
void updateFolderFileEntryTypes(DLFolder dlFolder, List<Long> fileEntryTypeIds, long defaultFileEntryTypeId, ServiceContext serviceContext) -
getCTPersistence
- Specified by:
getCTPersistence
in interfaceCTService<DLFileEntryType>
-
getModelClass
- Specified by:
getModelClass
in interfaceCTService<DLFileEntryType>
-
updateWithUnsafeFunction
@Transactional(rollbackFor=java.lang.Throwable.class) <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<DLFileEntryType>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceCTService<DLFileEntryType>
- Throws:
E extends Throwable
-
addFileEntryType(String, long, long, long, String, Map, Map, int, ServiceContext)