@ProviderType public interface SCProductEntryPersistence extends BasePersistence<SCProductEntry>
Caching information and settings can be found in portal.properties
com.liferay.portlet.softwarecatalog.service.persistence.impl.SCProductEntryPersistenceImpl,
SCProductEntryUtil| Modifier and Type | Method and Description |
|---|---|
void |
addSCLicense(long pk,
long scLicensePK)
Adds an association between the s c product entry and the s c license.
|
void |
addSCLicense(long pk,
SCLicense scLicense)
Adds an association between the s c product entry and the s c license.
|
void |
addSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
Adds an association between the s c product entry and the s c licenses.
|
void |
addSCLicenses(long pk,
long[] scLicensePKs)
Adds an association between the s c product entry and the s c licenses.
|
void |
cacheResult(java.util.List<SCProductEntry> scProductEntries)
Caches the s c product entries in the entity cache if it is enabled.
|
void |
cacheResult(SCProductEntry scProductEntry)
Caches the s c product entry in the entity cache if it is enabled.
|
void |
clearSCLicenses(long pk)
Clears all associations between the s c product entry and its s c licenses.
|
boolean |
containsSCLicense(long pk,
long scLicensePK)
Returns
true if the s c license is associated with the s c product entry. |
boolean |
containsSCLicenses(long pk)
Returns
true if the s c product entry has any s c licenses associated with it. |
int |
countAll()
Returns the number of s c product entries.
|
int |
countByCompanyId(long companyId)
Returns the number of s c product entries where companyId = ?.
|
int |
countByG_U(long groupId,
long userId)
Returns the number of s c product entries where groupId = ? and userId = ?.
|
int |
countByGroupId(long groupId)
Returns the number of s c product entries where groupId = ?.
|
int |
countByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
Returns the number of s c product entries where repoGroupId = ? and repoArtifactId = ?.
|
SCProductEntry |
create(long productEntryId)
Creates a new s c product entry with the primary key.
|
SCProductEntry |
fetchByCompanyId_First(long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where companyId = ?.
|
SCProductEntry |
fetchByCompanyId_Last(long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where companyId = ?.
|
SCProductEntry |
fetchByG_U_First(long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ? and userId = ?.
|
SCProductEntry |
fetchByG_U_Last(long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ? and userId = ?.
|
SCProductEntry |
fetchByGroupId_First(long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ?.
|
SCProductEntry |
fetchByGroupId_Last(long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ?.
|
SCProductEntry |
fetchByPrimaryKey(long productEntryId)
Returns the s c product entry with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,SCProductEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
SCProductEntry |
fetchByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
Returns the s c product entry where repoGroupId = ? and repoArtifactId = ? or returns
null if it could not be found. |
SCProductEntry |
fetchByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId,
boolean retrieveFromCache)
Returns the s c product entry where repoGroupId = ? and repoArtifactId = ? or returns
null if it could not be found, optionally using the finder cache. |
int |
filterCountByG_U(long groupId,
long userId)
Returns the number of s c product entries that the user has permission to view where groupId = ? and userId = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of s c product entries that the user has permission to view where groupId = ?.
|
SCProductEntry[] |
filterFindByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set of s c product entries that the user has permission to view where groupId = ? and userId = ?.
|
java.util.List<SCProductEntry> |
filterFindByG_U(long groupId,
long userId)
Returns all the s c product entries that the user has permission to view where groupId = ? and userId = ?.
|
java.util.List<SCProductEntry> |
filterFindByG_U(long groupId,
long userId,
int start,
int end)
Returns a range of all the s c product entries that the user has permission to view where groupId = ? and userId = ?.
|
java.util.List<SCProductEntry> |
filterFindByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = ? and userId = ?.
|
SCProductEntry[] |
filterFindByGroupId_PrevAndNext(long productEntryId,
long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set of s c product entries that the user has permission to view where groupId = ?.
|
java.util.List<SCProductEntry> |
filterFindByGroupId(long groupId)
Returns all the s c product entries that the user has permission to view where groupId = ?.
|
java.util.List<SCProductEntry> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the s c product entries that the user has permission to view where groupId = ?.
|
java.util.List<SCProductEntry> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = ?.
|
java.util.List<SCProductEntry> |
findAll()
Returns all the s c product entries.
|
java.util.List<SCProductEntry> |
findAll(int start,
int end)
Returns a range of all the s c product entries.
|
java.util.List<SCProductEntry> |
findAll(int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries.
|
SCProductEntry |
findByCompanyId_First(long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where companyId = ?.
|
SCProductEntry |
findByCompanyId_Last(long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where companyId = ?.
|
SCProductEntry[] |
findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set where companyId = ?.
|
java.util.List<SCProductEntry> |
findByCompanyId(long companyId)
Returns all the s c product entries where companyId = ?.
|
java.util.List<SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the s c product entries where companyId = ?.
|
java.util.List<SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries where companyId = ?.
|
SCProductEntry |
findByG_U_First(long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ? and userId = ?.
|
SCProductEntry |
findByG_U_Last(long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ? and userId = ?.
|
SCProductEntry[] |
findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set where groupId = ? and userId = ?.
|
java.util.List<SCProductEntry> |
findByG_U(long groupId,
long userId)
Returns all the s c product entries where groupId = ? and userId = ?.
|
java.util.List<SCProductEntry> |
findByG_U(long groupId,
long userId,
int start,
int end)
Returns a range of all the s c product entries where groupId = ? and userId = ?.
|
java.util.List<SCProductEntry> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries where groupId = ? and userId = ?.
|
SCProductEntry |
findByGroupId_First(long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ?.
|
SCProductEntry |
findByGroupId_Last(long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ?.
|
SCProductEntry[] |
findByGroupId_PrevAndNext(long productEntryId,
long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set where groupId = ?.
|
java.util.List<SCProductEntry> |
findByGroupId(long groupId)
Returns all the s c product entries where groupId = ?.
|
java.util.List<SCProductEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the s c product entries where groupId = ?.
|
java.util.List<SCProductEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries where groupId = ?.
|
SCProductEntry |
findByPrimaryKey(long productEntryId)
Returns the s c product entry with the primary key or throws a
NoSuchProductEntryException if it could not be found. |
SCProductEntry |
findByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
Returns the s c product entry where repoGroupId = ? and repoArtifactId = ? or throws a
NoSuchProductEntryException if it could not be found. |
long[] |
getSCLicensePrimaryKeys(long pk)
Returns the primaryKeys of s c licenses associated with the s c product entry.
|
java.util.List<SCLicense> |
getSCLicenses(long pk)
Returns all the s c licenses associated with the s c product entry.
|
java.util.List<SCLicense> |
getSCLicenses(long pk,
int start,
int end)
Returns a range of all the s c licenses associated with the s c product entry.
|
java.util.List<SCLicense> |
getSCLicenses(long pk,
int start,
int end,
OrderByComparator<SCLicense> orderByComparator)
Returns an ordered range of all the s c licenses associated with the s c product entry.
|
int |
getSCLicensesSize(long pk)
Returns the number of s c licenses associated with the s c product entry.
|
SCProductEntry |
remove(long productEntryId)
Removes the s c product entry with the primary key from the database.
|
void |
removeAll()
Removes all the s c product entries from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the s c product entries where companyId = ? from the database.
|
void |
removeByG_U(long groupId,
long userId)
Removes all the s c product entries where groupId = ? and userId = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the s c product entries where groupId = ? from the database.
|
SCProductEntry |
removeByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
Removes the s c product entry where repoGroupId = ? and repoArtifactId = ? from the database.
|
void |
removeSCLicense(long pk,
long scLicensePK)
Removes the association between the s c product entry and the s c license.
|
void |
removeSCLicense(long pk,
SCLicense scLicense)
Removes the association between the s c product entry and the s c license.
|
void |
removeSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
Removes the association between the s c product entry and the s c licenses.
|
void |
removeSCLicenses(long pk,
long[] scLicensePKs)
Removes the association between the s c product entry and the s c licenses.
|
void |
setSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
Sets the s c licenses associated with the s c product entry, removing and adding associations as necessary.
|
void |
setSCLicenses(long pk,
long[] scLicensePKs)
Sets the s c licenses associated with the s c product entry, removing and adding associations as necessary.
|
SCProductEntry |
updateImpl(SCProductEntry scProductEntry) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, updatejava.util.List<SCProductEntry> findByGroupId(long groupId)
groupId - the group IDjava.util.List<SCProductEntry> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)java.util.List<SCProductEntry> findByGroupId(long groupId, int start, int end, OrderByComparator<SCProductEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SCProductEntry findByGroupId_First(long groupId, OrderByComparator<SCProductEntry> orderByComparator) throws NoSuchProductEntryException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchProductEntryException - if a matching s c product entry could not be foundSCProductEntry fetchByGroupId_First(long groupId, OrderByComparator<SCProductEntry> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product entry could not be foundSCProductEntry findByGroupId_Last(long groupId, OrderByComparator<SCProductEntry> orderByComparator) throws NoSuchProductEntryException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchProductEntryException - if a matching s c product entry could not be foundSCProductEntry fetchByGroupId_Last(long groupId, OrderByComparator<SCProductEntry> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product entry could not be foundSCProductEntry[] findByGroupId_PrevAndNext(long productEntryId, long groupId, OrderByComparator<SCProductEntry> orderByComparator) throws NoSuchProductEntryException
productEntryId - the primary key of the current s c product entrygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchProductEntryException - if a s c product entry with the primary key could not be foundjava.util.List<SCProductEntry> filterFindByGroupId(long groupId)
groupId - the group IDjava.util.List<SCProductEntry> filterFindByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)java.util.List<SCProductEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<SCProductEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDstart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SCProductEntry[] filterFindByGroupId_PrevAndNext(long productEntryId, long groupId, OrderByComparator<SCProductEntry> orderByComparator) throws NoSuchProductEntryException
productEntryId - the primary key of the current s c product entrygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchProductEntryException - if a s c product entry with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group IDint filterCountByGroupId(long groupId)
groupId - the group IDjava.util.List<SCProductEntry> findByCompanyId(long companyId)
companyId - the company IDjava.util.List<SCProductEntry> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId - the company IDstart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)java.util.List<SCProductEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator<SCProductEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId - the company IDstart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SCProductEntry findByCompanyId_First(long companyId, OrderByComparator<SCProductEntry> orderByComparator) throws NoSuchProductEntryException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchProductEntryException - if a matching s c product entry could not be foundSCProductEntry fetchByCompanyId_First(long companyId, OrderByComparator<SCProductEntry> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product entry could not be foundSCProductEntry findByCompanyId_Last(long companyId, OrderByComparator<SCProductEntry> orderByComparator) throws NoSuchProductEntryException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchProductEntryException - if a matching s c product entry could not be foundSCProductEntry fetchByCompanyId_Last(long companyId, OrderByComparator<SCProductEntry> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product entry could not be foundSCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId, long companyId, OrderByComparator<SCProductEntry> orderByComparator) throws NoSuchProductEntryException
productEntryId - the primary key of the current s c product entrycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchProductEntryException - if a s c product entry with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId - the company IDint countByCompanyId(long companyId)
companyId - the company IDjava.util.List<SCProductEntry> findByG_U(long groupId, long userId)
groupId - the group IDuserId - the user IDjava.util.List<SCProductEntry> findByG_U(long groupId, long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDuserId - the user IDstart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)java.util.List<SCProductEntry> findByG_U(long groupId, long userId, int start, int end, OrderByComparator<SCProductEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDuserId - the user IDstart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SCProductEntry findByG_U_First(long groupId, long userId, OrderByComparator<SCProductEntry> orderByComparator) throws NoSuchProductEntryException
groupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchProductEntryException - if a matching s c product entry could not be foundSCProductEntry fetchByG_U_First(long groupId, long userId, OrderByComparator<SCProductEntry> orderByComparator)
groupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product entry could not be foundSCProductEntry findByG_U_Last(long groupId, long userId, OrderByComparator<SCProductEntry> orderByComparator) throws NoSuchProductEntryException
groupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchProductEntryException - if a matching s c product entry could not be foundSCProductEntry fetchByG_U_Last(long groupId, long userId, OrderByComparator<SCProductEntry> orderByComparator)
groupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product entry could not be foundSCProductEntry[] findByG_U_PrevAndNext(long productEntryId, long groupId, long userId, OrderByComparator<SCProductEntry> orderByComparator) throws NoSuchProductEntryException
productEntryId - the primary key of the current s c product entrygroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchProductEntryException - if a s c product entry with the primary key could not be foundjava.util.List<SCProductEntry> filterFindByG_U(long groupId, long userId)
groupId - the group IDuserId - the user IDjava.util.List<SCProductEntry> filterFindByG_U(long groupId, long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDuserId - the user IDstart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)java.util.List<SCProductEntry> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator<SCProductEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDuserId - the user IDstart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SCProductEntry[] filterFindByG_U_PrevAndNext(long productEntryId, long groupId, long userId, OrderByComparator<SCProductEntry> orderByComparator) throws NoSuchProductEntryException
productEntryId - the primary key of the current s c product entrygroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchProductEntryException - if a s c product entry with the primary key could not be foundvoid removeByG_U(long groupId,
long userId)
groupId - the group IDuserId - the user IDint countByG_U(long groupId,
long userId)
groupId - the group IDuserId - the user IDint filterCountByG_U(long groupId,
long userId)
groupId - the group IDuserId - the user IDSCProductEntry findByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId) throws NoSuchProductEntryException
NoSuchProductEntryException if it could not be found.repoGroupId - the repo group IDrepoArtifactId - the repo artifact IDNoSuchProductEntryException - if a matching s c product entry could not be foundSCProductEntry fetchByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId)
null if it could not be found. Uses the finder cache.repoGroupId - the repo group IDrepoArtifactId - the repo artifact IDnull if a matching s c product entry could not be foundSCProductEntry fetchByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.repoGroupId - the repo group IDrepoArtifactId - the repo artifact IDretrieveFromCache - whether to use the finder cachenull if a matching s c product entry could not be foundSCProductEntry removeByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId) throws NoSuchProductEntryException
repoGroupId - the repo group IDrepoArtifactId - the repo artifact IDNoSuchProductEntryExceptionint countByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
repoGroupId - the repo group IDrepoArtifactId - the repo artifact IDvoid cacheResult(SCProductEntry scProductEntry)
scProductEntry - the s c product entryvoid cacheResult(java.util.List<SCProductEntry> scProductEntries)
scProductEntries - the s c product entriesSCProductEntry create(long productEntryId)
productEntryId - the primary key for the new s c product entrySCProductEntry remove(long productEntryId) throws NoSuchProductEntryException
productEntryId - the primary key of the s c product entryNoSuchProductEntryException - if a s c product entry with the primary key could not be foundSCProductEntry updateImpl(SCProductEntry scProductEntry)
SCProductEntry findByPrimaryKey(long productEntryId) throws NoSuchProductEntryException
NoSuchProductEntryException if it could not be found.productEntryId - the primary key of the s c product entryNoSuchProductEntryException - if a s c product entry with the primary key could not be foundSCProductEntry fetchByPrimaryKey(long productEntryId)
null if it could not be found.productEntryId - the primary key of the s c product entrynull if a s c product entry with the primary key could not be foundjava.util.Map<java.io.Serializable,SCProductEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<SCProductEntry>java.util.List<SCProductEntry> findAll()
java.util.List<SCProductEntry> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)java.util.List<SCProductEntry> findAll(int start, int end, OrderByComparator<SCProductEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)void removeAll()
int countAll()
long[] getSCLicensePrimaryKeys(long pk)
pk - the primary key of the s c product entryjava.util.List<SCLicense> getSCLicenses(long pk)
pk - the primary key of the s c product entryjava.util.List<SCLicense> getSCLicenses(long pk, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk - the primary key of the s c product entrystart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)java.util.List<SCLicense> getSCLicenses(long pk, int start, int end, OrderByComparator<SCLicense> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk - the primary key of the s c product entrystart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)int getSCLicensesSize(long pk)
pk - the primary key of the s c product entryboolean containsSCLicense(long pk,
long scLicensePK)
true if the s c license is associated with the s c product entry.pk - the primary key of the s c product entryscLicensePK - the primary key of the s c licensetrue if the s c license is associated with the s c product entry; false otherwiseboolean containsSCLicenses(long pk)
true if the s c product entry has any s c licenses associated with it.pk - the primary key of the s c product entry to check for associations with s c licensestrue if the s c product entry has any s c licenses associated with it; false otherwisevoid addSCLicense(long pk,
long scLicensePK)
pk - the primary key of the s c product entryscLicensePK - the primary key of the s c licensevoid addSCLicense(long pk,
SCLicense scLicense)
pk - the primary key of the s c product entryscLicense - the s c licensevoid addSCLicenses(long pk,
long[] scLicensePKs)
pk - the primary key of the s c product entryscLicensePKs - the primary keys of the s c licensesvoid addSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
pk - the primary key of the s c product entryscLicenses - the s c licensesvoid clearSCLicenses(long pk)
pk - the primary key of the s c product entry to clear the associated s c licenses fromvoid removeSCLicense(long pk,
long scLicensePK)
pk - the primary key of the s c product entryscLicensePK - the primary key of the s c licensevoid removeSCLicense(long pk,
SCLicense scLicense)
pk - the primary key of the s c product entryscLicense - the s c licensevoid removeSCLicenses(long pk,
long[] scLicensePKs)
pk - the primary key of the s c product entryscLicensePKs - the primary keys of the s c licensesvoid removeSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
pk - the primary key of the s c product entryscLicenses - the s c licensesvoid setSCLicenses(long pk,
long[] scLicensePKs)
pk - the primary key of the s c product entryscLicensePKs - the primary keys of the s c licenses to be associated with the s c product entryvoid setSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
pk - the primary key of the s c product entryscLicenses - the s c licenses to be associated with the s c product entry