@ProviderType
public class SCProductEntryPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
implements com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Caching information and settings can be found in portal.properties
SCProductEntryPersistence,
SCProductEntryUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.portal.kernel.dao.orm.EntityCache |
entityCache |
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_U |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_RG_RA |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_RG_RA |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
finderCache |
protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence |
scLicensePersistence |
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portlet.softwarecatalog.model.SCProductEntry,com.liferay.portlet.softwarecatalog.model.SCLicense> |
scProductEntryToSCLicenseTableMapper |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
SCProductEntryPersistenceImpl() |
| 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,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
Adds an association between the s c product entry and the s c license.
|
void |
addSCLicenses(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.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 |
afterPropertiesSet()
Initializes the s c product entry persistence.
|
void |
cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
Caches the s c product entries in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
Caches the s c product entry in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(SCProductEntryModelImpl scProductEntryModelImpl,
boolean isNew) |
void |
clearCache()
Clears the cache for all s c product entries.
|
void |
clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries) |
void |
clearCache(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
Clears the cache for the s c product entry.
|
void |
clearSCLicenses(long pk)
Clears all associations between the s c product entry and its s c licenses.
|
protected void |
clearUniqueFindersCache(SCProductEntryModelImpl scProductEntryModelImpl) |
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 = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
create(long productEntryId)
Creates a new s c product entry with the primary key.
|
void |
destroy() |
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where companyId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where companyId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
fetchByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ? and userId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
fetchByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ? and userId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
fetchByPrimaryKey(long productEntryId)
Returns the s c product entry with the primary key or returns
null if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
fetchByPrimaryKey(java.io.Serializable primaryKey)
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,com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
com.liferay.portlet.softwarecatalog.model.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. |
com.liferay.portlet.softwarecatalog.model.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 = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry[] |
filterFindByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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<com.liferay.portlet.softwarecatalog.model.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<com.liferay.portlet.softwarecatalog.model.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<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
filterFindByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = ? and userId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry[] |
filterFindByGroupId_PrevAndNext(long productEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
filterFindByGroupId(long groupId)
Returns all the s c product entries that the user has permission to view where groupId = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.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<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = ?.
|
protected com.liferay.portlet.softwarecatalog.model.SCProductEntry |
filterGetByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean previous) |
protected com.liferay.portlet.softwarecatalog.model.SCProductEntry |
filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean previous) |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findAll()
Returns all the s c product entries.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findAll(int start,
int end)
Returns a range of all the s c product entries.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the s c product entries.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where companyId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where companyId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry[] |
findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findByCompanyId(long companyId)
Returns all the s c product entries where companyId = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the s c product entries where companyId = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries where companyId = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the s c product entries where companyId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ? and userId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ? and userId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry[] |
findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findByG_U(long groupId,
long userId)
Returns all the s c product entries where groupId = ? and userId = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.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<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries where groupId = ? and userId = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the s c product entries where groupId = ? and userId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry[] |
findByGroupId_PrevAndNext(long productEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findByGroupId(long groupId)
Returns all the s c product entries where groupId = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the s c product entries where groupId = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries where groupId = ?.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the s c product entries where groupId = ?.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByPrimaryKey(long productEntryId)
Returns the s c product entry with the primary key or throws a
NoSuchProductEntryException if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the s c product entry with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.portlet.softwarecatalog.model.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. |
java.util.Set<java.lang.String> |
getBadColumnNames() |
protected com.liferay.portlet.softwarecatalog.model.SCProductEntry |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean previous) |
protected com.liferay.portlet.softwarecatalog.model.SCProductEntry |
getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean previous) |
protected com.liferay.portlet.softwarecatalog.model.SCProductEntry |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean previous) |
long[] |
getSCLicensePrimaryKeys(long pk)
Returns the primaryKeys of s c licenses associated with the s c product entry.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
getSCLicenses(long pk)
Returns all the s c licenses associated with the s c product entry.
|
java.util.List<com.liferay.portlet.softwarecatalog.model.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<com.liferay.portlet.softwarecatalog.model.SCLicense> |
getSCLicenses(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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.
|
protected java.util.Map<java.lang.String,java.lang.Integer> |
getTableColumnsMap() |
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
remove(long productEntryId)
Removes the s c product entry with the primary key from the database.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
remove(java.io.Serializable primaryKey)
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.
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
removeByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
Removes the s c product entry where repoGroupId = ? and repoArtifactId = ? from the database.
|
protected com.liferay.portlet.softwarecatalog.model.SCProductEntry |
removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry) |
void |
removeSCLicense(long pk,
long scLicensePK)
Removes the association between the s c product entry and the s c license.
|
void |
removeSCLicense(long pk,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
Removes the association between the s c product entry and the s c license.
|
void |
removeSCLicenses(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.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<com.liferay.portlet.softwarecatalog.model.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.
|
protected com.liferay.portlet.softwarecatalog.model.SCProductEntry |
toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry) |
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_RG_RA
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_RG_RA
protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portlet.softwarecatalog.model.SCProductEntry,com.liferay.portlet.softwarecatalog.model.SCLicense> scProductEntryToSCLicenseTableMapper
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId)
findByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDpublic java.util.List<com.liferay.portlet.softwarecatalog.model.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.
findByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - 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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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.
findByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - 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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean retrieveFromCache)
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.
findByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cachepublic com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByGroupId_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
fetchByGroupId_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByGroupId_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
fetchByGroupId_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByGroupId_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistenceproductEntryId - the primary key of the current s c product entrygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be foundprotected com.liferay.portlet.softwarecatalog.model.SCProductEntry getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(long groupId)
filterFindByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDpublic java.util.List<com.liferay.portlet.softwarecatalog.model.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.
filterFindByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - 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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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.
filterFindByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - 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)public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] filterFindByGroupId_PrevAndNext(long productEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
filterFindByGroupId_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistenceproductEntryId - the primary key of the current s c product entrygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be foundprotected com.liferay.portlet.softwarecatalog.model.SCProductEntry filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDpublic int filterCountByGroupId(long groupId)
filterCountByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencecompanyId - the company IDpublic java.util.List<com.liferay.portlet.softwarecatalog.model.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.
findByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencecompanyId - 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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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.
findByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencecompanyId - 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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean retrieveFromCache)
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.
findByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencecompanyId - 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)retrieveFromCache - whether to retrieve from the finder cachepublic com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByCompanyId_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
fetchByCompanyId_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByCompanyId_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
fetchByCompanyId_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByCompanyId_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistenceproductEntryId - the primary key of the current s c product entrycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be foundprotected com.liferay.portlet.softwarecatalog.model.SCProductEntry getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencecompanyId - the company IDpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId,
long userId)
findByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDuserId - the user IDpublic java.util.List<com.liferay.portlet.softwarecatalog.model.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.
findByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - 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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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.
findByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - 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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean retrieveFromCache)
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.
findByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - 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)retrieveFromCache - whether to retrieve from the finder cachepublic com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByG_U_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
fetchByG_U_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - 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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByG_U_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
fetchByG_U_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - 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 foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByG_U_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistenceproductEntryId - 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)com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be foundprotected com.liferay.portlet.softwarecatalog.model.SCProductEntry getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(long groupId,
long userId)
filterFindByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDuserId - the user IDpublic java.util.List<com.liferay.portlet.softwarecatalog.model.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.
filterFindByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - 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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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.
filterFindByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - 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)public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] filterFindByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
filterFindByG_U_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistenceproductEntryId - 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)com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be foundprotected com.liferay.portlet.softwarecatalog.model.SCProductEntry filterGetByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean previous)
public void removeByG_U(long groupId,
long userId)
removeByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDuserId - the user IDpublic int countByG_U(long groupId,
long userId)
countByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDuserId - the user IDpublic int filterCountByG_U(long groupId,
long userId)
filterCountByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegroupId - the group IDuserId - the user IDpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry findByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
NoSuchProductEntryException if it could not be found.findByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencerepoGroupId - the repo group IDrepoArtifactId - the repo artifact IDcom.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
null if it could not be found. Uses the finder cache.fetchByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencerepoGroupId - the repo group IDrepoArtifactId - the repo artifact IDnull if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.fetchByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencerepoGroupId - the repo group IDrepoArtifactId - the repo artifact IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching s c product entry could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry removeByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
removeByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencerepoGroupId - the repo group IDrepoArtifactId - the repo artifact IDcom.liferay.portlet.softwarecatalog.NoSuchProductEntryExceptionpublic int countByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
countByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencerepoGroupId - the repo group IDrepoArtifactId - the repo artifact IDpublic void cacheResult(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencescProductEntry - the s c product entrypublic void cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencescProductEntries - the s c product entriespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>public void clearCache(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>public void clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>protected void cacheUniqueFindersCache(SCProductEntryModelImpl scProductEntryModelImpl, boolean isNew)
protected void clearUniqueFindersCache(SCProductEntryModelImpl scProductEntryModelImpl)
public com.liferay.portlet.softwarecatalog.model.SCProductEntry create(long productEntryId)
create in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistenceproductEntryId - the primary key for the new s c product entrypublic com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(long productEntryId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
remove in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistenceproductEntryId - the primary key of the s c product entrycom.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>primaryKey - the primary key of the s c product entrycom.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be foundprotected com.liferay.portlet.softwarecatalog.model.SCProductEntry removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
updateImpl in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>protected com.liferay.portlet.softwarecatalog.model.SCProductEntry toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>primaryKey - the primary key of the s c product entrycom.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(long productEntryId)
throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
NoSuchProductEntryException if it could not be found.findByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistenceproductEntryId - the primary key of the s c product entrycom.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(java.io.Serializable primaryKey)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>primaryKey - the primary key of the s c product entrynull if a s c product entry with the primary key could not be foundpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(long productEntryId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistenceproductEntryId - the primary key of the s c product entrynull if a s c product entry with the primary key could not be foundpublic java.util.Map<java.io.Serializable,com.liferay.portlet.softwarecatalog.model.SCProductEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>fetchByPrimaryKeys in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencefetchByPrimaryKeys in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll()
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepublic java.util.List<com.liferay.portlet.softwarecatalog.model.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.
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencestart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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.
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencestart - 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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> orderByComparator,
boolean retrieveFromCache)
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.
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencestart - 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)retrieveFromCache - whether to retrieve from the finder cachepublic void removeAll()
removeAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepublic int countAll()
countAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepublic long[] getSCLicensePrimaryKeys(long pk)
getSCLicensePrimaryKeys in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entrypublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk)
getSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entrypublic java.util.List<com.liferay.portlet.softwarecatalog.model.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.
getSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - 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)public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.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.
getSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - 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)public int getSCLicensesSize(long pk)
getSCLicensesSize in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entrypublic boolean containsSCLicense(long pk,
long scLicensePK)
true if the s c license is associated with the s c product entry.containsSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - 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 otherwisepublic boolean containsSCLicenses(long pk)
true if the s c product entry has any s c licenses associated with it.containsSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - 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 otherwisepublic void addSCLicense(long pk,
long scLicensePK)
addSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entryscLicensePK - the primary key of the s c licensepublic void addSCLicense(long pk,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
addSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entryscLicense - the s c licensepublic void addSCLicenses(long pk,
long[] scLicensePKs)
addSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entryscLicensePKs - the primary keys of the s c licensespublic void addSCLicenses(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
addSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entryscLicenses - the s c licensespublic void clearSCLicenses(long pk)
clearSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entry to clear the associated s c licenses frompublic void removeSCLicense(long pk,
long scLicensePK)
removeSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entryscLicensePK - the primary key of the s c licensepublic void removeSCLicense(long pk,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
removeSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entryscLicense - the s c licensepublic void removeSCLicenses(long pk,
long[] scLicensePKs)
removeSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entryscLicensePKs - the primary keys of the s c licensespublic void removeSCLicenses(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
removeSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entryscLicenses - the s c licensespublic void setSCLicenses(long pk,
long[] scLicensePKs)
setSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - 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 entrypublic void setSCLicenses(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
setSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencepk - the primary key of the s c product entryscLicenses - the s c licenses to be associated with the s c product entrypublic java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>getBadColumnNames in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistencegetBadColumnNames in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>protected java.util.Map<java.lang.String,java.lang.Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>public void afterPropertiesSet()
public void destroy()