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) Caches the export import report entry in the entity cache if it is enabled.static voidcacheResult(List<ExportImportReportEntry> exportImportReportEntries) Caches the export import report entries in the entity cache if it is enabled.static voidstatic voidclearCache(ExportImportReportEntry exportImportReportEntry) static intcountAll()Returns the number of export import report entries.static intcountByC_E(long companyId, long exportImportConfigurationId) Returns the number of export import report entries where companyId = ? and exportImportConfigurationId = ?.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 ExportImportReportEntryfetchByC_E_Last(long companyId, long exportImportConfigurationId, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) Returns the last export import report entry in the ordered set where companyId = ? and exportImportConfigurationId = ?.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> findAll()Returns all the export import report entries.static List<ExportImportReportEntry> findAll(int start, int end) Returns a range of all the export import report entries.static List<ExportImportReportEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) Returns an ordered range of all the export import report entries.static List<ExportImportReportEntry> findAll(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.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 ExportImportReportEntryfindByC_E_Last(long companyId, long exportImportConfigurationId, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) Returns the last export import report entry in the ordered set where companyId = ? and exportImportConfigurationId = ?.static ExportImportReportEntry[]findByC_E_PrevAndNext(long exportImportReportEntryId, long companyId, long exportImportConfigurationId, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) Returns the export import report entries before and after the current export import report entry in the ordered set where companyId = ? and exportImportConfigurationId = ?.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 voidRemoves all the export import report entries 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 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
-
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) 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 bothstartandendtoQueryUtil#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 fromExportImportReportEntryModelImpl.- 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 bothstartandendtoQueryUtil#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 fromExportImportReportEntryModelImpl.- 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
-
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 bothstartandendtoQueryUtil#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 fromExportImportReportEntryModelImpl.- 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
-
findByC_E_Last
public static ExportImportReportEntry findByC_E_Last(long companyId, long exportImportConfigurationId, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) throws NoSuchExportImportReportEntryException Returns the last 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 last matching export import report entry
-
fetchByC_E_Last
public static ExportImportReportEntry fetchByC_E_Last(long companyId, long exportImportConfigurationId, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) Returns the last 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 last matching export import report entry, or
nullif a matching export import report entry could not be found
-
findByC_E_PrevAndNext
public static ExportImportReportEntry[] findByC_E_PrevAndNext(long exportImportReportEntryId, long companyId, long exportImportConfigurationId, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) throws NoSuchExportImportReportEntryException Returns the export import report entries before and after the current export import report entry in the ordered set where companyId = ? and exportImportConfigurationId = ?.- Parameters:
exportImportReportEntryId- the primary key of the current export import report entrycompanyId- the company IDexportImportConfigurationId- the export import configuration IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next export import report entry
-
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
-
cacheResult
Caches the export import report entry in the entity cache if it is enabled.- Parameters:
exportImportReportEntry- the export import report entry
-
cacheResult
Caches the export import report entries in the entity cache if it is enabled.- Parameters:
exportImportReportEntries- the 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
-
findAll
Returns all the export import report entries.- Returns:
- the export import report entries
-
findAll
Returns a range of all the export import report entries.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 bothstartandendtoQueryUtil#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 fromExportImportReportEntryModelImpl.- Parameters:
start- 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 export import report entries
-
findAll
public static List<ExportImportReportEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ExportImportReportEntry> orderByComparator) Returns an ordered range of all the export import report entries.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 bothstartandendtoQueryUtil#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 fromExportImportReportEntryModelImpl.- Parameters:
start- 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 export import report entries
-
findAll
public static List<ExportImportReportEntry> findAll(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.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 bothstartandendtoQueryUtil#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 fromExportImportReportEntryModelImpl.- Parameters:
start- 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 export import report entries
-
removeAll
public static void removeAll()Removes all the export import report entries from the database. -
countAll
public static int countAll()Returns the number of export import report entries.- Returns:
- the number of export import report entries
-
getPersistence
-
setPersistence
-