Class ExportImportReportEntryUtil
com.liferay.exportimport.report.service.persistence.impl.ExportImportReportEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(ExportImportReportEntry exportImportReportEntry) static voidcacheResult(List<ExportImportReportEntry> exportImportReportEntries) static voidstatic voidclearCache(ExportImportReportEntry exportImportReportEntry) static intcountByC_E(long companyId, long exportImportConfigurationId) Returns the number of export import report entries where companyId = ? and exportImportConfigurationId = ?.static intcountByG_C_C_C_E_T(long groupId, long companyId, String classExternalReferenceCode, long classNameId, long exportImportConfigurationId, int type) Returns the number of export import report entries where groupId = ? and companyId = ? and classExternalReferenceCode = ? and classNameId = ? and exportImportConfigurationId = ? and type = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ExportImportReportEntrycreate(long exportImportReportEntryId) Creates a new export import report entry with the primary key.static ExportImportReportEntryfetchByC_E_First(long companyId, long exportImportConfigurationId, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) Returns the first export import report entry in the ordered set where companyId = ? and exportImportConfigurationId = ?.static ExportImportReportEntryfetchByG_C_C_C_E_T(long groupId, long companyId, String classExternalReferenceCode, long classNameId, long exportImportConfigurationId, int type) Returns the export import report entry where groupId = ? and companyId = ? and classExternalReferenceCode = ? and classNameId = ? and exportImportConfigurationId = ? and type = ? or returnsnullif it could not be found.static ExportImportReportEntryfetchByG_C_C_C_E_T(long groupId, long companyId, String classExternalReferenceCode, long classNameId, long exportImportConfigurationId, int type, boolean useFinderCache) Returns the export import report entry where groupId = ? and companyId = ? and classExternalReferenceCode = ? and classNameId = ? and exportImportConfigurationId = ? and type = ? or returnsnullif it could not be found, optionally using the finder cache.static ExportImportReportEntryfetchByPrimaryKey(long exportImportReportEntryId) Returns the export import report entry with the primary key or returnsnullif it could not be found.static Map<Serializable, ExportImportReportEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<ExportImportReportEntry> findByC_E(long companyId, long exportImportConfigurationId) Returns all the export import report entries where companyId = ? and exportImportConfigurationId = ?.static List<ExportImportReportEntry> findByC_E(long companyId, long exportImportConfigurationId, int start, int end) Returns a range of all the export import report entries where companyId = ? and exportImportConfigurationId = ?.static List<ExportImportReportEntry> findByC_E(long companyId, long exportImportConfigurationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) Returns an ordered range of all the export import report entries where companyId = ? and exportImportConfigurationId = ?.static List<ExportImportReportEntry> findByC_E(long companyId, long exportImportConfigurationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the export import report entries where companyId = ? and exportImportConfigurationId = ?.static ExportImportReportEntryfindByC_E_First(long companyId, long exportImportConfigurationId, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) Returns the first export import report entry in the ordered set where companyId = ? and exportImportConfigurationId = ?.static ExportImportReportEntryfindByG_C_C_C_E_T(long groupId, long companyId, String classExternalReferenceCode, long classNameId, long exportImportConfigurationId, int type) Returns the export import report entry where groupId = ? and companyId = ? and classExternalReferenceCode = ? and classNameId = ? and exportImportConfigurationId = ? and type = ? or throws aNoSuchExportImportReportEntryExceptionif it could not be found.static ExportImportReportEntryfindByPrimaryKey(long exportImportReportEntryId) Returns the export import report entry with the primary key or throws aNoSuchExportImportReportEntryExceptionif it could not be found.static List<ExportImportReportEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ExportImportReportEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ExportImportReportEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) static ExportImportReportEntryremove(long exportImportReportEntryId) Removes the export import report entry with the primary key from the database.static voidremoveByC_E(long companyId, long exportImportConfigurationId) Removes all the export import report entries where companyId = ? and exportImportConfigurationId = ? from the database.static ExportImportReportEntryremoveByG_C_C_C_E_T(long groupId, long companyId, String classExternalReferenceCode, long classNameId, long exportImportConfigurationId, int type) Removes the export import report entry where groupId = ? and companyId = ? and classExternalReferenceCode = ? and classNameId = ? and exportImportConfigurationId = ? and type = ? from the database.static voidsetPersistence(ExportImportReportEntryPersistence persistence) static ExportImportReportEntryupdate(ExportImportReportEntry exportImportReportEntry) static ExportImportReportEntryupdate(ExportImportReportEntry exportImportReportEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ExportImportReportEntryupdateImpl(ExportImportReportEntry exportImportReportEntry)
-
Constructor Details
-
ExportImportReportEntryUtil
public ExportImportReportEntryUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,ExportImportReportEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<ExportImportReportEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<ExportImportReportEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<ExportImportReportEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static ExportImportReportEntry update(ExportImportReportEntry exportImportReportEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByC_E
public static List<ExportImportReportEntry> findByC_E(long companyId, long exportImportConfigurationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the export import report entries where companyId = ? and exportImportConfigurationId = ?.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.exportimport.report.model.impl.ExportImportReportEntryModelImpl.- Parameters:
companyId- the company IDexportImportConfigurationId- the export import configuration IDstart- the lower bound of the range of export import report entriesend- the upper bound of the range of export import report entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching export import report entries
-
findByC_E_First
public static ExportImportReportEntry findByC_E_First(long companyId, long exportImportConfigurationId, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) throws NoSuchExportImportReportEntryException Returns the first export import report entry in the ordered set where companyId = ? and exportImportConfigurationId = ?.- Parameters:
companyId- the company IDexportImportConfigurationId- the export import configuration IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching export import report entry
-
fetchByC_E_First
public static ExportImportReportEntry fetchByC_E_First(long companyId, long exportImportConfigurationId, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) Returns the first export import report entry in the ordered set where companyId = ? and exportImportConfigurationId = ?.- Parameters:
companyId- the company IDexportImportConfigurationId- the export import configuration IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching export import report entry, or
nullif a matching export import report entry could not be found
-
removeByC_E
public static void removeByC_E(long companyId, long exportImportConfigurationId) Removes all the export import report entries where companyId = ? and exportImportConfigurationId = ? from the database.- Parameters:
companyId- the company IDexportImportConfigurationId- the export import configuration ID
-
countByC_E
public static int countByC_E(long companyId, long exportImportConfigurationId) Returns the number of export import report entries where companyId = ? and exportImportConfigurationId = ?.- Parameters:
companyId- the company IDexportImportConfigurationId- the export import configuration ID- Returns:
- the number of matching export import report entries
-
findByG_C_C_C_E_T
public static ExportImportReportEntry findByG_C_C_C_E_T(long groupId, long companyId, String classExternalReferenceCode, long classNameId, long exportImportConfigurationId, int type) throws NoSuchExportImportReportEntryException Returns the export import report entry where groupId = ? and companyId = ? and classExternalReferenceCode = ? and classNameId = ? and exportImportConfigurationId = ? and type = ? or throws aNoSuchExportImportReportEntryExceptionif it could not be found.- Parameters:
groupId- the group IDcompanyId- the company IDclassExternalReferenceCode- the class external reference codeclassNameId- the class name IDexportImportConfigurationId- the export import configuration IDtype- the type- Returns:
- the matching export import report entry
-
fetchByG_C_C_C_E_T
public static ExportImportReportEntry fetchByG_C_C_C_E_T(long groupId, long companyId, String classExternalReferenceCode, long classNameId, long exportImportConfigurationId, int type, boolean useFinderCache) Returns the export import report entry where groupId = ? and companyId = ? and classExternalReferenceCode = ? and classNameId = ? and exportImportConfigurationId = ? and type = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDcompanyId- the company IDclassExternalReferenceCode- the class external reference codeclassNameId- the class name IDexportImportConfigurationId- the export import configuration IDtype- the typeuseFinderCache- whether to use the finder cache- Returns:
- the matching export import report entry, or
nullif a matching export import report entry could not be found
-
removeByG_C_C_C_E_T
public static ExportImportReportEntry removeByG_C_C_C_E_T(long groupId, long companyId, String classExternalReferenceCode, long classNameId, long exportImportConfigurationId, int type) throws NoSuchExportImportReportEntryException Removes the export import report entry where groupId = ? and companyId = ? and classExternalReferenceCode = ? and classNameId = ? and exportImportConfigurationId = ? and type = ? from the database.- Parameters:
groupId- the group IDcompanyId- the company IDclassExternalReferenceCode- the class external reference codeclassNameId- the class name IDexportImportConfigurationId- the export import configuration IDtype- the type- Returns:
- the export import report entry that was removed
- Throws:
NoSuchExportImportReportEntryException
-
countByG_C_C_C_E_T
public static int countByG_C_C_C_E_T(long groupId, long companyId, String classExternalReferenceCode, long classNameId, long exportImportConfigurationId, int type) Returns the number of export import report entries where groupId = ? and companyId = ? and classExternalReferenceCode = ? and classNameId = ? and exportImportConfigurationId = ? and type = ?.- Parameters:
groupId- the group IDcompanyId- the company IDclassExternalReferenceCode- the class external reference codeclassNameId- the class name IDexportImportConfigurationId- the export import configuration IDtype- the type- Returns:
- the number of matching export import report entries
-
create
Creates a new export import report entry with the primary key. Does not add the export import report entry to the database.- Parameters:
exportImportReportEntryId- the primary key for the new export import report entry- Returns:
- the new export import report entry
-
remove
public static ExportImportReportEntry remove(long exportImportReportEntryId) throws NoSuchExportImportReportEntryException Removes the export import report entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
exportImportReportEntryId- the primary key of the export import report entry- Returns:
- the export import report entry that was removed
-
updateImpl
-
findByPrimaryKey
public static ExportImportReportEntry findByPrimaryKey(long exportImportReportEntryId) throws NoSuchExportImportReportEntryException Returns the export import report entry with the primary key or throws aNoSuchExportImportReportEntryExceptionif it could not be found.- Parameters:
exportImportReportEntryId- the primary key of the export import report entry- Returns:
- the export import report entry
-
fetchByPrimaryKey
Returns the export import report entry with the primary key or returnsnullif it could not be found.- Parameters:
exportImportReportEntryId- the primary key of the export import report entry- Returns:
- the export import report entry, or
nullif a export import report entry with the primary key could not be found
-
fetchByG_C_C_C_E_T
public static ExportImportReportEntry fetchByG_C_C_C_E_T(long groupId, long companyId, String classExternalReferenceCode, long classNameId, long exportImportConfigurationId, int type) Returns the export import report entry where groupId = ? and companyId = ? and classExternalReferenceCode = ? and classNameId = ? and exportImportConfigurationId = ? and type = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDcompanyId- the company IDclassExternalReferenceCode- the class external reference codeclassNameId- the class name IDexportImportConfigurationId- the export import configuration IDtype- the type- Returns:
- the matching export import report entry, or
nullif a matching export import report entry could not be found
-
findByC_E
public static List<ExportImportReportEntry> findByC_E(long companyId, long exportImportConfigurationId) Returns all the export import report entries where companyId = ? and exportImportConfigurationId = ?.- Parameters:
companyId- the company IDexportImportConfigurationId- the export import configuration ID- Returns:
- the matching export import report entries
-
findByC_E
public static List<ExportImportReportEntry> findByC_E(long companyId, long exportImportConfigurationId, int start, int end) Returns a range of all the export import report entries where companyId = ? and exportImportConfigurationId = ?.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.exportimport.report.model.impl.ExportImportReportEntryModelImpl.- Parameters:
companyId- the company IDexportImportConfigurationId- the export import configuration IDstart- the lower bound of the range of export import report entriesend- the upper bound of the range of export import report entries (not inclusive)- Returns:
- the range of matching export import report entries
-
findByC_E
public static List<ExportImportReportEntry> findByC_E(long companyId, long exportImportConfigurationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) Returns an ordered range of all the export import report entries where companyId = ? and exportImportConfigurationId = ?.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.exportimport.report.model.impl.ExportImportReportEntryModelImpl.- Parameters:
companyId- the company IDexportImportConfigurationId- the export import configuration IDstart- the lower bound of the range of export import report entriesend- the upper bound of the range of export import report entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching export import report entries
-
getPersistence
-
setPersistence
-