|
Liferay 6.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface SCProductEntryPersistence
The persistence interface for the s c product entry service.
Caching information and settings can be found in portal.properties
SCProductEntryPersistenceImpl,
SCProductEntryUtil| Method Summary | |
|---|---|
abstract void |
addSCLicense(long pk,
long scLicensePK)
Adds an association between the s c product entry and the s c license. |
abstract void |
addSCLicense(long pk,
SCLicense scLicense)
Adds an association between the s c product entry and the s c license. |
abstract void |
addSCLicenses(long pk,
List<SCLicense> scLicenses)
Adds an association between the s c product entry and the s c licenses. |
abstract void |
addSCLicenses(long pk,
long[] scLicensePKs)
Adds an association between the s c product entry and the s c licenses. |
abstract void |
cacheResult(List<SCProductEntry> scProductEntries)
Caches the s c product entries in the entity cache if it is enabled. |
abstract void |
cacheResult(SCProductEntry scProductEntry)
Caches the s c product entry in the entity cache if it is enabled. |
abstract void |
clearSCLicenses(long pk)
Clears all associations between the s c product entry and its s c licenses. |
abstract boolean |
containsSCLicense(long pk,
long scLicensePK)
Returns true if the s c license is associated with the s c product entry. |
abstract boolean |
containsSCLicenses(long pk)
Returns true if the s c product entry has any s c licenses associated with it. |
abstract int |
countAll()
Returns the number of s c product entries. |
abstract int |
countByCompanyId(long companyId)
Returns the number of s c product entries where companyId = ?. |
abstract int |
countByG_U(long groupId,
long userId)
Returns the number of s c product entries where groupId = ? and userId = ?. |
abstract int |
countByGroupId(long groupId)
Returns the number of s c product entries where groupId = ?. |
abstract int |
countByRG_RA(String repoGroupId,
String repoArtifactId)
Returns the number of s c product entries where repoGroupId = ? and repoArtifactId = ?. |
abstract SCProductEntry |
create(long productEntryId)
Creates a new s c product entry with the primary key. |
abstract SCProductEntry |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first s c product entry in the ordered set where companyId = ?. |
abstract SCProductEntry |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last s c product entry in the ordered set where companyId = ?. |
abstract SCProductEntry |
fetchByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ? and userId = ?. |
abstract SCProductEntry |
fetchByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ? and userId = ?. |
abstract SCProductEntry |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ?. |
abstract SCProductEntry |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ?. |
abstract SCProductEntry |
fetchByPrimaryKey(long productEntryId)
Returns the s c product entry with the primary key or returns null if it could not be found. |
abstract SCProductEntry |
fetchByRG_RA(String repoGroupId,
String repoArtifactId)
Returns the s c product entry where repoGroupId = ? and repoArtifactId = ? or returns null if it could not be found. |
abstract SCProductEntry |
fetchByRG_RA(String repoGroupId,
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. |
abstract 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 = ?. |
abstract int |
filterCountByGroupId(long groupId)
Returns the number of s c product entries that the user has permission to view where groupId = ?. |
abstract SCProductEntry[] |
filterFindByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
OrderByComparator 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 = ?. |
abstract 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 = ?. |
abstract 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 = ?. |
abstract List<SCProductEntry> |
filterFindByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = ? and userId = ?. |
abstract SCProductEntry[] |
filterFindByGroupId_PrevAndNext(long productEntryId,
long groupId,
OrderByComparator 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 = ?. |
abstract List<SCProductEntry> |
filterFindByGroupId(long groupId)
Returns all the s c product entries that the user has permission to view where groupId = ?. |
abstract 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 = ?. |
abstract List<SCProductEntry> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = ?. |
abstract List<SCProductEntry> |
findAll()
Returns all the s c product entries. |
abstract List<SCProductEntry> |
findAll(int start,
int end)
Returns a range of all the s c product entries. |
abstract List<SCProductEntry> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c product entries. |
abstract SCProductEntry |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first s c product entry in the ordered set where companyId = ?. |
abstract SCProductEntry |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last s c product entry in the ordered set where companyId = ?. |
abstract SCProductEntry[] |
findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
OrderByComparator orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set where companyId = ?. |
abstract List<SCProductEntry> |
findByCompanyId(long companyId)
Returns all the s c product entries where companyId = ?. |
abstract List<SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the s c product entries where companyId = ?. |
abstract List<SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c product entries where companyId = ?. |
abstract SCProductEntry |
findByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ? and userId = ?. |
abstract SCProductEntry |
findByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ? and userId = ?. |
abstract SCProductEntry[] |
findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set where groupId = ? and userId = ?. |
abstract List<SCProductEntry> |
findByG_U(long groupId,
long userId)
Returns all the s c product entries where groupId = ? and userId = ?. |
abstract 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 = ?. |
abstract List<SCProductEntry> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c product entries where groupId = ? and userId = ?. |
abstract SCProductEntry |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ?. |
abstract SCProductEntry |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ?. |
abstract SCProductEntry[] |
findByGroupId_PrevAndNext(long productEntryId,
long groupId,
OrderByComparator orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set where groupId = ?. |
abstract List<SCProductEntry> |
findByGroupId(long groupId)
Returns all the s c product entries where groupId = ?. |
abstract List<SCProductEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the s c product entries where groupId = ?. |
abstract List<SCProductEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c product entries where groupId = ?. |
abstract SCProductEntry |
findByPrimaryKey(long productEntryId)
Returns the s c product entry with the primary key or throws a NoSuchProductEntryException if it could not be found. |
abstract SCProductEntry |
findByRG_RA(String repoGroupId,
String repoArtifactId)
Returns the s c product entry where repoGroupId = ? and repoArtifactId = ? or throws a NoSuchProductEntryException if it could not be found. |
abstract List<SCLicense> |
getSCLicenses(long pk)
Returns all the s c licenses associated with the s c product entry. |
abstract 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. |
abstract List<SCLicense> |
getSCLicenses(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the s c licenses associated with the s c product entry. |
abstract int |
getSCLicensesSize(long pk)
Returns the number of s c licenses associated with the s c product entry. |
abstract SCProductEntry |
remove(long productEntryId)
Removes the s c product entry with the primary key from the database. |
abstract void |
removeAll()
Removes all the s c product entries from the database. |
abstract void |
removeByCompanyId(long companyId)
Removes all the s c product entries where companyId = ? from the database. |
abstract void |
removeByG_U(long groupId,
long userId)
Removes all the s c product entries where groupId = ? and userId = ? from the database. |
abstract void |
removeByGroupId(long groupId)
Removes all the s c product entries where groupId = ? from the database. |
abstract SCProductEntry |
removeByRG_RA(String repoGroupId,
String repoArtifactId)
Removes the s c product entry where repoGroupId = ? and repoArtifactId = ? from the database. |
abstract void |
removeSCLicense(long pk,
long scLicensePK)
Removes the association between the s c product entry and the s c license. |
abstract void |
removeSCLicense(long pk,
SCLicense scLicense)
Removes the association between the s c product entry and the s c license. |
abstract void |
removeSCLicenses(long pk,
List<SCLicense> scLicenses)
Removes the association between the s c product entry and the s c licenses. |
abstract void |
removeSCLicenses(long pk,
long[] scLicensePKs)
Removes the association between the s c product entry and the s c licenses. |
abstract void |
setSCLicenses(long pk,
List<SCLicense> scLicenses)
Sets the s c licenses associated with the s c product entry, removing and adding associations as necessary. |
abstract void |
setSCLicenses(long pk,
long[] scLicensePKs)
Sets the s c licenses associated with the s c product entry, removing and adding associations as necessary. |
abstract SCProductEntry |
updateImpl(SCProductEntry scProductEntry)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
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, update |
| Method Detail |
|---|
List<SCProductEntry> findByGroupId(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
List<SCProductEntry> findByGroupId(long groupId,
int start,
int end)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
List<SCProductEntry> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
SCProductEntry findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
SCProductEntry fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c product entry could not be found
SystemException - if a system exception occurred
SCProductEntry findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
SCProductEntry fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c product entry could not be found
SystemException - if a system exception occurred
SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
List<SCProductEntry> filterFindByGroupId(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
List<SCProductEntry> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
List<SCProductEntry> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
SCProductEntry[] filterFindByGroupId_PrevAndNext(long productEntryId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
void removeByGroupId(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
int countByGroupId(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
int filterCountByGroupId(long groupId)
throws SystemException
groupId - the group ID
SystemException - if a system exception occurred
List<SCProductEntry> findByCompanyId(long companyId)
throws SystemException
companyId - the company ID
SystemException - if a system exception occurred
List<SCProductEntry> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
List<SCProductEntry> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
SCProductEntry findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
SCProductEntry fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c product entry could not be found
SystemException - if a system exception occurred
SCProductEntry findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
SCProductEntry fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c product entry could not be found
SystemException - if a system exception occurred
SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
void removeByCompanyId(long companyId)
throws SystemException
companyId - the company ID
SystemException - if a system exception occurred
int countByCompanyId(long companyId)
throws SystemException
companyId - the company ID
SystemException - if a system exception occurred
List<SCProductEntry> findByG_U(long groupId,
long userId)
throws SystemException
groupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
List<SCProductEntry> findByG_U(long groupId,
long userId,
int start,
int end)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
List<SCProductEntry> findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
SCProductEntry findByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
SCProductEntry fetchByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException
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 found
SystemException - if a system exception occurred
SCProductEntry findByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
SCProductEntry fetchByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException
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 found
SystemException - if a system exception occurred
SCProductEntry[] findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
List<SCProductEntry> filterFindByG_U(long groupId,
long userId)
throws SystemException
groupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
List<SCProductEntry> filterFindByG_U(long groupId,
long userId,
int start,
int end)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
List<SCProductEntry> filterFindByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
SCProductEntry[] filterFindByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
void removeByG_U(long groupId,
long userId)
throws SystemException
groupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
int countByG_U(long groupId,
long userId)
throws SystemException
groupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
int filterCountByG_U(long groupId,
long userId)
throws SystemException
groupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
SCProductEntry findByRG_RA(String repoGroupId,
String repoArtifactId)
throws SystemException,
NoSuchProductEntryException
NoSuchProductEntryException if it could not be found.
repoGroupId - the repo group IDrepoArtifactId - the repo artifact ID
NoSuchProductEntryException - if a matching s c product entry could not be found
SystemException - if a system exception occurred
SCProductEntry fetchByRG_RA(String repoGroupId,
String repoArtifactId)
throws SystemException
null if it could not be found. Uses the finder cache.
repoGroupId - the repo group IDrepoArtifactId - the repo artifact ID
null if a matching s c product entry could not be found
SystemException - if a system exception occurred
SCProductEntry fetchByRG_RA(String repoGroupId,
String repoArtifactId,
boolean retrieveFromCache)
throws SystemException
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 cache
null if a matching s c product entry could not be found
SystemException - if a system exception occurred
SCProductEntry removeByRG_RA(String repoGroupId,
String repoArtifactId)
throws SystemException,
NoSuchProductEntryException
repoGroupId - the repo group IDrepoArtifactId - the repo artifact ID
SystemException - if a system exception occurred
NoSuchProductEntryException
int countByRG_RA(String repoGroupId,
String repoArtifactId)
throws SystemException
repoGroupId - the repo group IDrepoArtifactId - the repo artifact ID
SystemException - if a system exception occurredvoid cacheResult(SCProductEntry scProductEntry)
scProductEntry - the s c product entryvoid cacheResult(List<SCProductEntry> scProductEntries)
scProductEntries - the s c product entriesSCProductEntry create(long productEntryId)
productEntryId - the primary key for the new s c product entry
SCProductEntry remove(long productEntryId)
throws SystemException,
NoSuchProductEntryException
productEntryId - the primary key of the s c product entry
NoSuchProductEntryException - if a s c product entry with the primary key could not be found
SystemException - if a system exception occurred
SCProductEntry updateImpl(SCProductEntry scProductEntry)
throws SystemException
SystemException
SCProductEntry findByPrimaryKey(long productEntryId)
throws SystemException,
NoSuchProductEntryException
NoSuchProductEntryException if it could not be found.
productEntryId - the primary key of the s c product entry
NoSuchProductEntryException - if a s c product entry with the primary key could not be found
SystemException - if a system exception occurred
SCProductEntry fetchByPrimaryKey(long productEntryId)
throws SystemException
null if it could not be found.
productEntryId - the primary key of the s c product entry
null if a s c product entry with the primary key could not be found
SystemException - if a system exception occurred
List<SCProductEntry> findAll()
throws SystemException
SystemException - if a system exception occurred
List<SCProductEntry> findAll(int start,
int end)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
List<SCProductEntry> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
void removeAll()
throws SystemException
SystemException - if a system exception occurred
int countAll()
throws SystemException
SystemException - if a system exception occurred
List<SCLicense> getSCLicenses(long pk)
throws SystemException
pk - the primary key of the s c product entry
SystemException - if a system exception occurred
List<SCLicense> getSCLicenses(long pk,
int start,
int end)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
List<SCLicense> getSCLicenses(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 com.liferay.portlet.softwarecatalog.model.impl.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)
SystemException - if a system exception occurred
int getSCLicensesSize(long pk)
throws SystemException
pk - the primary key of the s c product entry
SystemException - if a system exception occurred
boolean containsSCLicense(long pk,
long scLicensePK)
throws SystemException
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 license
true if the s c license is associated with the s c product entry; false otherwise
SystemException - if a system exception occurred
boolean containsSCLicenses(long pk)
throws SystemException
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 licenses
true if the s c product entry has any s c licenses associated with it; false otherwise
SystemException - if a system exception occurred
void addSCLicense(long pk,
long scLicensePK)
throws SystemException
pk - the primary key of the s c product entryscLicensePK - the primary key of the s c license
SystemException - if a system exception occurred
void addSCLicense(long pk,
SCLicense scLicense)
throws SystemException
pk - the primary key of the s c product entryscLicense - the s c license
SystemException - if a system exception occurred
void addSCLicenses(long pk,
long[] scLicensePKs)
throws SystemException
pk - the primary key of the s c product entryscLicensePKs - the primary keys of the s c licenses
SystemException - if a system exception occurred
void addSCLicenses(long pk,
List<SCLicense> scLicenses)
throws SystemException
pk - the primary key of the s c product entryscLicenses - the s c licenses
SystemException - if a system exception occurred
void clearSCLicenses(long pk)
throws SystemException
pk - the primary key of the s c product entry to clear the associated s c licenses from
SystemException - if a system exception occurred
void removeSCLicense(long pk,
long scLicensePK)
throws SystemException
pk - the primary key of the s c product entryscLicensePK - the primary key of the s c license
SystemException - if a system exception occurred
void removeSCLicense(long pk,
SCLicense scLicense)
throws SystemException
pk - the primary key of the s c product entryscLicense - the s c license
SystemException - if a system exception occurred
void removeSCLicenses(long pk,
long[] scLicensePKs)
throws SystemException
pk - the primary key of the s c product entryscLicensePKs - the primary keys of the s c licenses
SystemException - if a system exception occurred
void removeSCLicenses(long pk,
List<SCLicense> scLicenses)
throws SystemException
pk - the primary key of the s c product entryscLicenses - the s c licenses
SystemException - if a system exception occurred
void setSCLicenses(long pk,
long[] scLicensePKs)
throws SystemException
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 entry
SystemException - if a system exception occurred
void setSCLicenses(long pk,
List<SCLicense> scLicenses)
throws SystemException
pk - the primary key of the s c product entryscLicenses - the s c licenses to be associated with the s c product entry
SystemException - if a system exception occurred
|
Liferay 6.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||