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 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
setWrappedService
(DLFileEntryTypeLocalService dlFileEntryTypeLocalService) 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
DLFileEntryTypeLocalServiceWrapper
public DLFileEntryTypeLocalServiceWrapper() -
DLFileEntryTypeLocalServiceWrapper
-
-
Method Details
-
addDDMStructureLinks
- Specified by:
addDDMStructureLinks
in 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:
addDLFileEntryType
in interfaceDLFileEntryTypeLocalService
- Parameters:
dlFileEntryType
- the document library file entry type- Returns:
- the document library file entry type that was added
-
addDLFolderDLFileEntryType
- Specified by:
addDLFolderDLFileEntryType
in interfaceDLFileEntryTypeLocalService
-
addDLFolderDLFileEntryType
public boolean addDLFolderDLFileEntryType(long folderId, long fileEntryTypeId) - Specified by:
addDLFolderDLFileEntryType
in interfaceDLFileEntryTypeLocalService
-
addDLFolderDLFileEntryTypes
- Specified by:
addDLFolderDLFileEntryTypes
in interfaceDLFileEntryTypeLocalService
-
addDLFolderDLFileEntryTypes
public boolean addDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds) - Specified by:
addDLFolderDLFileEntryTypes
in 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:
addFileEntryType
in 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:
addFileEntryType
in interfaceDLFileEntryTypeLocalService
- Throws:
PortalException
-
cascadeFileEntryTypes
- Specified by:
cascadeFileEntryTypes
in interfaceDLFileEntryTypeLocalService
- Throws:
PortalException
-
clearDLFolderDLFileEntryTypes
public void clearDLFolderDLFileEntryTypes(long folderId) - Specified by:
clearDLFolderDLFileEntryTypes
in interfaceDLFileEntryTypeLocalService
-
createBasicDocumentDLFileEntryType
- Specified by:
createBasicDocumentDLFileEntryType
in 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:
createDLFileEntryType
in 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:
createPersistedModel
in interfaceDLFileEntryTypeLocalService
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
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.
- Specified by:
deleteDLFileEntryType
in 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:
deleteDLFileEntryType
in 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:
deleteDLFolderDLFileEntryType
in interfaceDLFileEntryTypeLocalService
-
deleteDLFolderDLFileEntryType
public void deleteDLFolderDLFileEntryType(long folderId, long fileEntryTypeId) - Specified by:
deleteDLFolderDLFileEntryType
in interfaceDLFileEntryTypeLocalService
-
deleteDLFolderDLFileEntryTypes
- Specified by:
deleteDLFolderDLFileEntryTypes
in interfaceDLFileEntryTypeLocalService
-
deleteDLFolderDLFileEntryTypes
public void deleteDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds) - Specified by:
deleteDLFolderDLFileEntryTypes
in interfaceDLFileEntryTypeLocalService
-
deleteFileEntryType
- Specified by:
deleteFileEntryType
in interfaceDLFileEntryTypeLocalService
- Throws:
PortalException
-
deleteFileEntryType
- Specified by:
deleteFileEntryType
in interfaceDLFileEntryTypeLocalService
- Throws:
PortalException
-
deleteFileEntryTypeByExternalReferenceCode
public void deleteFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Specified by:
deleteFileEntryTypeByExternalReferenceCode
in interfaceDLFileEntryTypeLocalService
- Throws:
PortalException
-
deleteFileEntryTypes
- Specified by:
deleteFileEntryTypes
in interfaceDLFileEntryTypeLocalService
- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfaceDLFileEntryTypeLocalService
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceDLFileEntryTypeLocalService
- Specified by:
dslQuery
in interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceDLFileEntryTypeLocalService
- Specified by:
dslQueryCount
in interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceDLFileEntryTypeLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - 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
.- Specified by:
dynamicQuery
in 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 - 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
.- Specified by:
dynamicQuery
in 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchDataDefinitionFileEntryType
in interfaceDLFileEntryTypeLocalService
-
fetchDLFileEntryType
- Specified by:
fetchDLFileEntryType
in interfaceDLFileEntryTypeLocalService
-
fetchDLFileEntryTypeByExternalReferenceCode
public DLFileEntryType fetchDLFileEntryTypeByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchDLFileEntryTypeByExternalReferenceCode
in interfaceDLFileEntryTypeLocalService
-
fetchDLFileEntryTypeByUuidAndGroupId
Returns the document library file entry type matching the UUID and group.- Specified by:
fetchDLFileEntryTypeByUuidAndGroupId
in 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
null
if a matching document library file entry type could not be found
-
fetchFileEntryType
- Specified by:
fetchFileEntryType
in interfaceDLFileEntryTypeLocalService
-
fetchFileEntryType
- Specified by:
fetchFileEntryType
in interfaceDLFileEntryTypeLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceDLFileEntryTypeLocalService
-
getBasicDocumentDLFileEntryType
- Specified by:
getBasicDocumentDLFileEntryType
in interfaceDLFileEntryTypeLocalService
- Throws:
NoSuchFileEntryTypeException
-
getDefaultFileEntryTypeId
- Specified by:
getDefaultFileEntryTypeId
in interfaceDLFileEntryTypeLocalService
- Throws:
PortalException
-
getDLFileEntryType
Returns the document library file entry type with the primary key.- Specified by:
getDLFileEntryType
in 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:
getDLFileEntryTypeByExternalReferenceCode
in 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:
getDLFileEntryTypeByUuidAndGroupId
in 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 - 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
.- Specified by:
getDLFileEntryTypes
in 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:
getDLFileEntryTypesByUuidAndCompanyId
in 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:
getDLFileEntryTypesByUuidAndCompanyId
in 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:
getDLFileEntryTypesCount
in interfaceDLFileEntryTypeLocalService
- Returns:
- the number of document library file entry types
-
getDLFolderDLFileEntryTypes
- Specified by:
getDLFolderDLFileEntryTypes
in interfaceDLFileEntryTypeLocalService
-
getDLFolderDLFileEntryTypes
- Specified by:
getDLFolderDLFileEntryTypes
in interfaceDLFileEntryTypeLocalService
-
getDLFolderDLFileEntryTypes
public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) - Specified by:
getDLFolderDLFileEntryTypes
in interfaceDLFileEntryTypeLocalService
-
getDLFolderDLFileEntryTypesCount
public int getDLFolderDLFileEntryTypesCount(long folderId) - Specified by:
getDLFolderDLFileEntryTypesCount
in 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:
getDLFolderPrimaryKeys
in 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:
getExportActionableDynamicQuery
in interfaceDLFileEntryTypeLocalService
-
getFileEntryType
- Specified by:
getFileEntryType
in interfaceDLFileEntryTypeLocalService
- Throws:
PortalException
-
getFileEntryType
public DLFileEntryType getFileEntryType(long groupId, String fileEntryTypeKey) throws PortalException - Specified by:
getFileEntryType
in interfaceDLFileEntryTypeLocalService
- Throws:
PortalException
-
getFileEntryTypes
- Specified by:
getFileEntryTypes
in interfaceDLFileEntryTypeLocalService
-
getFileEntryTypesByCompanyId
- Specified by:
getFileEntryTypesByCompanyId
in interfaceDLFileEntryTypeLocalService
-
getFolderFileEntryTypes
public List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited) throws PortalException - Specified by:
getFolderFileEntryTypes
in interfaceDLFileEntryTypeLocalService
- Throws:
PortalException
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceDLFileEntryTypeLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceDLFileEntryTypeLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfaceDLFileEntryTypeLocalService
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
hasDLFolderDLFileEntryType
public boolean hasDLFolderDLFileEntryType(long folderId, long fileEntryTypeId) - Specified by:
hasDLFolderDLFileEntryType
in interfaceDLFileEntryTypeLocalService
-
hasDLFolderDLFileEntryTypes
public boolean hasDLFolderDLFileEntryTypes(long folderId) - Specified by:
hasDLFolderDLFileEntryTypes
in interfaceDLFileEntryTypeLocalService
-
search
public List<DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator) - Specified by:
search
in interfaceDLFileEntryTypeLocalService
-
searchCount
public int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType) - Specified by:
searchCount
in interfaceDLFileEntryTypeLocalService
-
setDLFolderDLFileEntryTypes
public void setDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds) - Specified by:
setDLFolderDLFileEntryTypes
in interfaceDLFileEntryTypeLocalService
-
unsetFolderFileEntryTypes
public void unsetFolderFileEntryTypes(long folderId) - Specified by:
unsetFolderFileEntryTypes
in interfaceDLFileEntryTypeLocalService
-
updateDDMStructureLinks
public void updateDDMStructureLinks(long fileEntryTypeId, Set<Long> ddmStructureIds) throws PortalException - Specified by:
updateDDMStructureLinks
in 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:
updateDLFileEntryType
in 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:
updateFileEntryFileEntryType
in interfaceDLFileEntryTypeLocalService
- Throws:
PortalException
-
updateFileEntryType
public DLFileEntryType updateFileEntryType(long fileEntryTypeId, Map<Locale, String> nameMap, Map<Locale, throws PortalExceptionString> descriptionMap) - Specified by:
updateFileEntryType
in interfaceDLFileEntryTypeLocalService
- Throws:
PortalException
-
updateFolderFileEntryTypes
public void updateFolderFileEntryTypes(DLFolder dlFolder, List<Long> fileEntryTypeIds, long defaultFileEntryTypeId, ServiceContext serviceContext) - Specified by:
updateFolderFileEntryTypes
in interfaceDLFileEntryTypeLocalService
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistence
in interfaceCTService<DLFileEntryType>
- Specified by:
getCTPersistence
in interfaceDLFileEntryTypeLocalService
-
getModelClass
- Specified by:
getModelClass
in interfaceCTService<DLFileEntryType>
- Specified by:
getModelClass
in interfaceDLFileEntryTypeLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<DLFileEntryType>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceCTService<DLFileEntryType>
- Specified by:
updateWithUnsafeFunction
in interfaceDLFileEntryTypeLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<DLFileEntryTypeLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<DLFileEntryTypeLocalService>
-
addFileEntryType(String, long, long, long, String, Map, Map, int, ServiceContext)