Interface SAPEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SAPEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(SAPEntry sapEntry) Caches the sap entry in the entity cache if it is enabled.void
cacheResult
(List<SAPEntry> sapEntries) Caches the sap entries in the entity cache if it is enabled.int
countAll()
Returns the number of sap entries.int
countByC_D
(long companyId, boolean defaultSAPEntry) Returns the number of sap entries where companyId = ? and defaultSAPEntry = ?.int
countByC_N
(long companyId, String name) Returns the number of sap entries where companyId = ? and name = ?.int
countByCompanyId
(long companyId) Returns the number of sap entries where companyId = ?.int
countByUuid
(String uuid) Returns the number of sap entries where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of sap entries where uuid = ? and companyId = ?.create
(long sapEntryId) Creates a new sap entry with the primary key.fetchByC_D_First
(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the first sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.fetchByC_D_Last
(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the last sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.fetchByC_N
(long companyId, String name) Returns the sap entry where companyId = ? and name = ? or returnsnull
if it could not be found.fetchByC_N
(long companyId, String name, boolean useFinderCache) Returns the sap entry where companyId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the first sap entry in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the last sap entry in the ordered set where companyId = ?.fetchByPrimaryKey
(long sapEntryId) Returns the sap entry with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the first sap entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the last sap entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the first sap entry in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the last sap entry in the ordered set where uuid = ?.int
filterCountByC_D
(long companyId, boolean defaultSAPEntry) Returns the number of sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.int
filterCountByCompanyId
(long companyId) Returns the number of sap entries that the user has permission to view where companyId = ?.int
filterCountByUuid
(String uuid) Returns the number of sap entries that the user has permission to view where uuid = ?.int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of sap entries that the user has permission to view where uuid = ? and companyId = ?.filterFindByC_D
(long companyId, boolean defaultSAPEntry) Returns all the sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.filterFindByC_D
(long companyId, boolean defaultSAPEntry, int start, int end) Returns a range of all the sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.filterFindByC_D
(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries that the user has permissions to view where companyId = ? and defaultSAPEntry = ?.SAPEntry[]
filterFindByC_D_PrevAndNext
(long sapEntryId, long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.filterFindByCompanyId
(long companyId) Returns all the sap entries that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end) Returns a range of all the sap entries that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries that the user has permissions to view where companyId = ?.SAPEntry[]
filterFindByCompanyId_PrevAndNext
(long sapEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where companyId = ?.filterFindByUuid
(String uuid) Returns all the sap entries that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end) Returns a range of all the sap entries that the user has permission to view where uuid = ?.filterFindByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries that the user has permissions to view where uuid = ?.filterFindByUuid_C
(String uuid, long companyId) Returns all the sap entries that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the sap entries that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries that the user has permissions to view where uuid = ? and companyId = ?.SAPEntry[]
filterFindByUuid_C_PrevAndNext
(long sapEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where uuid = ? and companyId = ?.SAPEntry[]
filterFindByUuid_PrevAndNext
(long sapEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where uuid = ?.findAll()
Returns all the sap entries.findAll
(int start, int end) Returns a range of all the sap entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sap entries.findByC_D
(long companyId, boolean defaultSAPEntry) Returns all the sap entries where companyId = ? and defaultSAPEntry = ?.findByC_D
(long companyId, boolean defaultSAPEntry, int start, int end) Returns a range of all the sap entries where companyId = ? and defaultSAPEntry = ?.findByC_D
(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries where companyId = ? and defaultSAPEntry = ?.findByC_D
(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sap entries where companyId = ? and defaultSAPEntry = ?.findByC_D_First
(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the first sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.findByC_D_Last
(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the last sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.SAPEntry[]
findByC_D_PrevAndNext
(long sapEntryId, long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the sap entries before and after the current sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.Returns the sap entry where companyId = ? and name = ? or throws aNoSuchEntryException
if it could not be found.findByCompanyId
(long companyId) Returns all the sap entries where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the sap entries where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sap entries where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the first sap entry in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the last sap entry in the ordered set where companyId = ?.SAPEntry[]
findByCompanyId_PrevAndNext
(long sapEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the sap entries before and after the current sap entry in the ordered set where companyId = ?.findByPrimaryKey
(long sapEntryId) Returns the sap entry with the primary key or throws aNoSuchEntryException
if it could not be found.findByUuid
(String uuid) Returns all the sap entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the sap entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sap entries where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the sap entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the sap entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sap entries where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the first sap entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the last sap entry in the ordered set where uuid = ? and companyId = ?.SAPEntry[]
findByUuid_C_PrevAndNext
(long sapEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the sap entries before and after the current sap entry in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the first sap entry in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the last sap entry in the ordered set where uuid = ?.SAPEntry[]
findByUuid_PrevAndNext
(long sapEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the sap entries before and after the current sap entry in the ordered set where uuid = ?.remove
(long sapEntryId) Removes the sap entry with the primary key from the database.void
Removes all the sap entries from the database.void
removeByC_D
(long companyId, boolean defaultSAPEntry) Removes all the sap entries where companyId = ? and defaultSAPEntry = ? from the database.removeByC_N
(long companyId, String name) Removes the sap entry where companyId = ? and name = ? from the database.void
removeByCompanyId
(long companyId) Removes all the sap entries where companyId = ? from the database.void
removeByUuid
(String uuid) Removes all the sap entries where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the sap entries where uuid = ? and companyId = ? from the database.updateImpl
(SAPEntry sapEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the sap entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching sap entries
-
findByUuid
Returns a range of all the sap entries where uuid = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)- Returns:
- the range of matching sap entries
-
findByUuid
List<SAPEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries where uuid = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching sap entries
-
findByUuid
List<SAPEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sap entries where uuid = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap 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 sap entries
-
findByUuid_First
SAPEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the first sap entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be found
-
fetchByUuid_First
SAPEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the first sap entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching sap entry, or
null
if a matching sap entry could not be found
-
findByUuid_Last
SAPEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the last sap entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be found
-
fetchByUuid_Last
SAPEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the last sap entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching sap entry, or
null
if a matching sap entry could not be found
-
findByUuid_PrevAndNext
SAPEntry[] findByUuid_PrevAndNext(long sapEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the sap entries before and after the current sap entry in the ordered set where uuid = ?.- Parameters:
sapEntryId
- the primary key of the current sap entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be found
-
filterFindByUuid
Returns all the sap entries that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching sap entries that the user has permission to view
-
filterFindByUuid
Returns a range of all the sap entries that the user has permission to view where uuid = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)- Returns:
- the range of matching sap entries that the user has permission to view
-
filterFindByUuid
List<SAPEntry> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries that the user has permissions to view where uuid = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching sap entries that the user has permission to view
-
filterFindByUuid_PrevAndNext
SAPEntry[] filterFindByUuid_PrevAndNext(long sapEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where uuid = ?.- Parameters:
sapEntryId
- the primary key of the current sap entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be found
-
removeByUuid
Removes all the sap entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of sap entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching sap entries
-
filterCountByUuid
Returns the number of sap entries that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching sap entries that the user has permission to view
-
findByUuid_C
Returns all the sap entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching sap entries
-
findByUuid_C
Returns a range of all the sap entries where uuid = ? and companyId = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)- Returns:
- the range of matching sap entries
-
findByUuid_C
List<SAPEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries where uuid = ? and companyId = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching sap entries
-
findByUuid_C
List<SAPEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sap entries where uuid = ? and companyId = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap 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 sap entries
-
findByUuid_C_First
SAPEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the first sap entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be found
-
fetchByUuid_C_First
SAPEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the first sap entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching sap entry, or
null
if a matching sap entry could not be found
-
findByUuid_C_Last
SAPEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the last sap entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be found
-
fetchByUuid_C_Last
SAPEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the last sap entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching sap entry, or
null
if a matching sap entry could not be found
-
findByUuid_C_PrevAndNext
SAPEntry[] findByUuid_C_PrevAndNext(long sapEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the sap entries before and after the current sap entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
sapEntryId
- the primary key of the current sap entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be found
-
filterFindByUuid_C
Returns all the sap entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching sap entries that the user has permission to view
-
filterFindByUuid_C
Returns a range of all the sap entries that the user has permission to view where uuid = ? and companyId = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)- Returns:
- the range of matching sap entries that the user has permission to view
-
filterFindByUuid_C
List<SAPEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries that the user has permissions to view where uuid = ? and companyId = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching sap entries that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
SAPEntry[] filterFindByUuid_C_PrevAndNext(long sapEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
sapEntryId
- the primary key of the current sap entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be found
-
removeByUuid_C
Removes all the sap entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of sap entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching sap entries
-
filterCountByUuid_C
Returns the number of sap entries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching sap entries that the user has permission to view
-
findByCompanyId
Returns all the sap entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching sap entries
-
findByCompanyId
Returns a range of all the sap entries where companyId = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)- Returns:
- the range of matching sap entries
-
findByCompanyId
List<SAPEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries where companyId = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching sap entries
-
findByCompanyId
List<SAPEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sap entries where companyId = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap 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 sap entries
-
findByCompanyId_First
SAPEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the first sap entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be found
-
fetchByCompanyId_First
SAPEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the first sap entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching sap entry, or
null
if a matching sap entry could not be found
-
findByCompanyId_Last
SAPEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the last sap entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be found
-
fetchByCompanyId_Last
SAPEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the last sap entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching sap entry, or
null
if a matching sap entry could not be found
-
findByCompanyId_PrevAndNext
SAPEntry[] findByCompanyId_PrevAndNext(long sapEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the sap entries before and after the current sap entry in the ordered set where companyId = ?.- Parameters:
sapEntryId
- the primary key of the current sap entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be found
-
filterFindByCompanyId
Returns all the sap entries that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching sap entries that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the sap entries that the user has permission to view where companyId = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)- Returns:
- the range of matching sap entries that the user has permission to view
-
filterFindByCompanyId
List<SAPEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries that the user has permissions to view where companyId = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching sap entries that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
SAPEntry[] filterFindByCompanyId_PrevAndNext(long sapEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where companyId = ?.- Parameters:
sapEntryId
- the primary key of the current sap entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the sap entries where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of sap entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching sap entries
-
filterCountByCompanyId
int filterCountByCompanyId(long companyId) Returns the number of sap entries that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching sap entries that the user has permission to view
-
findByC_D
Returns all the sap entries where companyId = ? and defaultSAPEntry = ?.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entry- Returns:
- the matching sap entries
-
findByC_D
Returns a range of all the sap entries where companyId = ? and defaultSAPEntry = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entrystart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)- Returns:
- the range of matching sap entries
-
findByC_D
List<SAPEntry> findByC_D(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries where companyId = ? and defaultSAPEntry = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entrystart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching sap entries
-
findByC_D
List<SAPEntry> findByC_D(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sap entries where companyId = ? and defaultSAPEntry = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entrystart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap 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 sap entries
-
findByC_D_First
SAPEntry findByC_D_First(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the first sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be found
-
fetchByC_D_First
SAPEntry fetchByC_D_First(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the first sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching sap entry, or
null
if a matching sap entry could not be found
-
findByC_D_Last
SAPEntry findByC_D_Last(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the last sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be found
-
fetchByC_D_Last
SAPEntry fetchByC_D_Last(long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns the last sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching sap entry, or
null
if a matching sap entry could not be found
-
findByC_D_PrevAndNext
SAPEntry[] findByC_D_PrevAndNext(long sapEntryId, long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the sap entries before and after the current sap entry in the ordered set where companyId = ? and defaultSAPEntry = ?.- Parameters:
sapEntryId
- the primary key of the current sap entrycompanyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be found
-
filterFindByC_D
Returns all the sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entry- Returns:
- the matching sap entries that the user has permission to view
-
filterFindByC_D
Returns a range of all the sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entrystart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)- Returns:
- the range of matching sap entries that the user has permission to view
-
filterFindByC_D
List<SAPEntry> filterFindByC_D(long companyId, boolean defaultSAPEntry, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries that the user has permissions to view where companyId = ? and defaultSAPEntry = ?.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entrystart
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching sap entries that the user has permission to view
-
filterFindByC_D_PrevAndNext
SAPEntry[] filterFindByC_D_PrevAndNext(long sapEntryId, long companyId, boolean defaultSAPEntry, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) throws NoSuchEntryException Returns the sap entries before and after the current sap entry in the ordered set of sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.- Parameters:
sapEntryId
- the primary key of the current sap entrycompanyId
- the company IDdefaultSAPEntry
- the default sap entryorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be found
-
removeByC_D
void removeByC_D(long companyId, boolean defaultSAPEntry) Removes all the sap entries where companyId = ? and defaultSAPEntry = ? from the database.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entry
-
countByC_D
int countByC_D(long companyId, boolean defaultSAPEntry) Returns the number of sap entries where companyId = ? and defaultSAPEntry = ?.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entry- Returns:
- the number of matching sap entries
-
filterCountByC_D
int filterCountByC_D(long companyId, boolean defaultSAPEntry) Returns the number of sap entries that the user has permission to view where companyId = ? and defaultSAPEntry = ?.- Parameters:
companyId
- the company IDdefaultSAPEntry
- the default sap entry- Returns:
- the number of matching sap entries that the user has permission to view
-
findByC_N
Returns the sap entry where companyId = ? and name = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching sap entry
- Throws:
NoSuchEntryException
- if a matching sap entry could not be found
-
fetchByC_N
Returns the sap entry where companyId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching sap entry, or
null
if a matching sap entry could not be found
-
fetchByC_N
Returns the sap entry where companyId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
companyId
- the company IDname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching sap entry, or
null
if a matching sap entry could not be found
-
removeByC_N
Removes the sap entry where companyId = ? and name = ? from the database.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the sap entry that was removed
- Throws:
NoSuchEntryException
-
countByC_N
Returns the number of sap entries where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the number of matching sap entries
-
cacheResult
Caches the sap entry in the entity cache if it is enabled.- Parameters:
sapEntry
- the sap entry
-
cacheResult
Caches the sap entries in the entity cache if it is enabled.- Parameters:
sapEntries
- the sap entries
-
create
Creates a new sap entry with the primary key. Does not add the sap entry to the database.- Parameters:
sapEntryId
- the primary key for the new sap entry- Returns:
- the new sap entry
-
remove
Removes the sap entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
sapEntryId
- the primary key of the sap entry- Returns:
- the sap entry that was removed
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the sap entry with the primary key or throws aNoSuchEntryException
if it could not be found.- Parameters:
sapEntryId
- the primary key of the sap entry- Returns:
- the sap entry
- Throws:
NoSuchEntryException
- if a sap entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the sap entry with the primary key or returnsnull
if it could not be found.- Parameters:
sapEntryId
- the primary key of the sap entry- Returns:
- the sap entry, or
null
if a sap entry with the primary key could not be found
-
findAll
Returns all the sap entries.- Returns:
- the sap entries
-
findAll
Returns a range of all the sap entries.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
start
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)- Returns:
- the range of sap entries
-
findAll
List<SAPEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator) Returns an ordered range of all the sap entries.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
start
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of sap entries
-
findAll
List<SAPEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SAPEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the sap entries.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
toQueryUtil#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 fromSAPEntryModelImpl
.- Parameters:
start
- the lower bound of the range of sap entriesend
- the upper bound of the range of sap entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of sap entries
-
removeAll
void removeAll()Removes all the sap entries from the database. -
countAll
int countAll()Returns the number of sap entries.- Returns:
- the number of sap entries
-