|
Liferay 7.0-ce-a2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<SCProductEntry>
com.liferay.portlet.softwarecatalog.service.persistence.impl.SCProductEntryPersistenceImpl
@ProviderType public class SCProductEntryPersistenceImpl
The persistence implementation for the s c product entry service.
Caching information and settings can be found in portal.properties
SCProductEntryPersistence,
SCProductEntryUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
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 Summary | |
|---|---|
SCProductEntryPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
addSCLicense(long pk,
long scLicensePK)
Adds an association between the s c product entry and the s c license. |
void |
addSCLicense(long pk,
SCLicense scLicense)
Adds an association between the s c product entry and the s c license. |
void |
addSCLicenses(long pk,
List<SCLicense> scLicenses)
Adds an association between the s c product entry and the s c licenses. |
void |
addSCLicenses(long pk,
long[] scLicensePKs)
Adds an association between the s c product entry and the s c licenses. |
void |
afterPropertiesSet()
Initializes the s c product entry persistence. |
void |
cacheResult(List<SCProductEntry> scProductEntries)
Caches the s c product entries in the entity cache if it is enabled. |
void |
cacheResult(SCProductEntry scProductEntry)
Caches the s c product entry in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(SCProductEntryModelImpl scProductEntryModelImpl,
boolean isNew)
|
void |
clearCache()
Clears the cache for all s c product entries. |
void |
clearCache(List<SCProductEntry> scProductEntries)
Clears the cache for a List instances of this model. |
void |
clearCache(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(String repoGroupId,
String repoArtifactId)
Returns the number of s c product entries where repoGroupId = ? and repoArtifactId = ?. |
SCProductEntry |
create(long productEntryId)
Creates a new s c product entry with the primary key. |
void |
destroy()
|
SCProductEntry |
fetchByCompanyId_First(long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where companyId = ?. |
SCProductEntry |
fetchByCompanyId_Last(long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where companyId = ?. |
SCProductEntry |
fetchByG_U_First(long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ? and userId = ?. |
SCProductEntry |
fetchByG_U_Last(long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ? and userId = ?. |
SCProductEntry |
fetchByGroupId_First(long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ?. |
SCProductEntry |
fetchByGroupId_Last(long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ?. |
SCProductEntry |
fetchByPrimaryKey(long productEntryId)
Returns the s c product entry with the primary key or returns null if it could not be found. |
SCProductEntry |
fetchByPrimaryKey(Serializable primaryKey)
Returns the s c product entry with the primary key or returns null if it could not be found. |
Map<Serializable,SCProductEntry> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
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. |
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. |
int |
filterCountByG_U(long groupId,
long userId)
Returns the number of s c product entries that the user has permission to view where groupId = ? and userId = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of s c product entries that the user has permission to view where groupId = ?. |
SCProductEntry[] |
filterFindByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set of s c product entries that the user has permission to view where groupId = ? and userId = ?. |
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 = ?. |
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 = ?. |
List<SCProductEntry> |
filterFindByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = ? and userId = ?. |
SCProductEntry[] |
filterFindByGroupId_PrevAndNext(long productEntryId,
long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set of s c product entries that the user has permission to view where groupId = ?. |
List<SCProductEntry> |
filterFindByGroupId(long groupId)
Returns all the s c product entries that the user has permission to view where groupId = ?. |
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 = ?. |
List<SCProductEntry> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = ?. |
protected SCProductEntry |
filterGetByG_U_PrevAndNext(Session session,
SCProductEntry scProductEntry,
long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator,
boolean previous)
|
protected SCProductEntry |
filterGetByGroupId_PrevAndNext(Session session,
SCProductEntry scProductEntry,
long groupId,
OrderByComparator<SCProductEntry> orderByComparator,
boolean previous)
|
List<SCProductEntry> |
findAll()
Returns all the s c product entries. |
List<SCProductEntry> |
findAll(int start,
int end)
Returns a range of all the s c product entries. |
List<SCProductEntry> |
findAll(int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries. |
List<SCProductEntry> |
findAll(int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the s c product entries. |
SCProductEntry |
findByCompanyId_First(long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where companyId = ?. |
SCProductEntry |
findByCompanyId_Last(long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where companyId = ?. |
SCProductEntry[] |
findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set where companyId = ?. |
List<SCProductEntry> |
findByCompanyId(long companyId)
Returns all the s c product entries where companyId = ?. |
List<SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the s c product entries where companyId = ?. |
List<SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries where companyId = ?. |
List<SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the s c product entries where companyId = ?. |
SCProductEntry |
findByG_U_First(long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ? and userId = ?. |
SCProductEntry |
findByG_U_Last(long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ? and userId = ?. |
SCProductEntry[] |
findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set where groupId = ? and userId = ?. |
List<SCProductEntry> |
findByG_U(long groupId,
long userId)
Returns all the s c product entries where groupId = ? and userId = ?. |
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 = ?. |
List<SCProductEntry> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries where groupId = ? and userId = ?. |
List<SCProductEntry> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the s c product entries where groupId = ? and userId = ?. |
SCProductEntry |
findByGroupId_First(long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the first s c product entry in the ordered set where groupId = ?. |
SCProductEntry |
findByGroupId_Last(long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the last s c product entry in the ordered set where groupId = ?. |
SCProductEntry[] |
findByGroupId_PrevAndNext(long productEntryId,
long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
Returns the s c product entries before and after the current s c product entry in the ordered set where groupId = ?. |
List<SCProductEntry> |
findByGroupId(long groupId)
Returns all the s c product entries where groupId = ?. |
List<SCProductEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the s c product entries where groupId = ?. |
List<SCProductEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Returns an ordered range of all the s c product entries where groupId = ?. |
List<SCProductEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the s c product entries where groupId = ?. |
SCProductEntry |
findByPrimaryKey(long productEntryId)
Returns the s c product entry with the primary key or throws a NoSuchProductEntryException if it could not be found. |
SCProductEntry |
findByPrimaryKey(Serializable primaryKey)
Returns the s c product entry with the primary key or throws a NoSuchModelException if it could not be found. |
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. |
Set<String> |
getBadColumnNames()
|
protected SCProductEntry |
getByCompanyId_PrevAndNext(Session session,
SCProductEntry scProductEntry,
long companyId,
OrderByComparator<SCProductEntry> orderByComparator,
boolean previous)
|
protected SCProductEntry |
getByG_U_PrevAndNext(Session session,
SCProductEntry scProductEntry,
long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator,
boolean previous)
|
protected SCProductEntry |
getByGroupId_PrevAndNext(Session session,
SCProductEntry scProductEntry,
long groupId,
OrderByComparator<SCProductEntry> orderByComparator,
boolean previous)
|
long[] |
getSCLicensePrimaryKeys(long pk)
Returns the primaryKeys of s c licenses associated with the s c product entry. |
List<SCLicense> |
getSCLicenses(long pk)
Returns all the s c licenses associated with the s c product entry. |
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. |
List<SCLicense> |
getSCLicenses(long pk,
int start,
int end,
OrderByComparator<SCLicense> orderByComparator)
Returns an ordered range of all the s c licenses associated with the s c product entry. |
int |
getSCLicensesSize(long pk)
Returns the number of s c licenses associated with the s c product entry. |
protected Map<String,Integer> |
getTableColumnsMap()
|
SCProductEntry |
remove(long productEntryId)
Removes the s c product entry with the primary key from the database. |
SCProductEntry |
remove(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. |
SCProductEntry |
removeByRG_RA(String repoGroupId,
String repoArtifactId)
Removes the s c product entry where repoGroupId = ? and repoArtifactId = ? from the database. |
protected SCProductEntry |
removeImpl(SCProductEntry scProductEntry)
Removes the model instance from the database. |
void |
removeSCLicense(long pk,
long scLicensePK)
Removes the association between the s c product entry and the s c license. |
void |
removeSCLicense(long pk,
SCLicense scLicense)
Removes the association between the s c product entry and the s c license. |
void |
removeSCLicenses(long pk,
List<SCLicense> scLicenses)
Removes the association between the s c product entry and the s c licenses. |
void |
removeSCLicenses(long pk,
long[] scLicensePKs)
Removes the association between the s c product entry and the s c licenses. |
void |
setSCLicenses(long pk,
List<SCLicense> scLicenses)
Sets the s c licenses associated with the s c product entry, removing and adding associations as necessary. |
void |
setSCLicenses(long pk,
long[] scLicensePKs)
Sets the s c licenses associated with the s c product entry, removing and adding associations as necessary. |
protected SCProductEntry |
toUnwrappedModel(SCProductEntry scProductEntry)
|
SCProductEntry |
updateImpl(SCProductEntry scProductEntry)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
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, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U
public static final FinderPath FINDER_PATH_COUNT_BY_G_U
public static final FinderPath FINDER_PATH_FETCH_BY_RG_RA
public static final FinderPath FINDER_PATH_COUNT_BY_RG_RA
protected EntityCache entityCache
protected FinderCache finderCache
@BeanReference(type=SCLicensePersistence.class) protected SCLicensePersistence scLicensePersistence
protected TableMapper<SCProductEntry,SCLicense> scProductEntryToSCLicenseTableMapper
| Constructor Detail |
|---|
public SCProductEntryPersistenceImpl()
| Method Detail |
|---|
public List<SCProductEntry> findByGroupId(long groupId)
findByGroupId in interface SCProductEntryPersistencegroupId - the group ID
public List<SCProductEntry> findByGroupId(long groupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId in interface 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 List<SCProductEntry> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId in interface 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 List<SCProductEntry> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<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 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 cache
public SCProductEntry findByGroupId_First(long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
throws NoSuchProductEntryException
findByGroupId_First in interface SCProductEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchProductEntryException - if a matching s c product entry could not be found
public SCProductEntry fetchByGroupId_First(long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
fetchByGroupId_First in interface SCProductEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c product entry could not be found
public SCProductEntry findByGroupId_Last(long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
throws NoSuchProductEntryException
findByGroupId_Last in interface SCProductEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchProductEntryException - if a matching s c product entry could not be found
public SCProductEntry fetchByGroupId_Last(long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
fetchByGroupId_Last in interface SCProductEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c product entry could not be found
public SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId,
long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
throws NoSuchProductEntryException
findByGroupId_PrevAndNext in interface SCProductEntryPersistenceproductEntryId - 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
protected SCProductEntry getByGroupId_PrevAndNext(Session session,
SCProductEntry scProductEntry,
long groupId,
OrderByComparator<SCProductEntry> orderByComparator,
boolean previous)
public List<SCProductEntry> filterFindByGroupId(long groupId)
filterFindByGroupId in interface SCProductEntryPersistencegroupId - the group ID
public List<SCProductEntry> filterFindByGroupId(long groupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId in interface 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 List<SCProductEntry> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId in interface 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 SCProductEntry[] filterFindByGroupId_PrevAndNext(long productEntryId,
long groupId,
OrderByComparator<SCProductEntry> orderByComparator)
throws NoSuchProductEntryException
filterFindByGroupId_PrevAndNext in interface SCProductEntryPersistenceproductEntryId - 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
protected SCProductEntry filterGetByGroupId_PrevAndNext(Session session,
SCProductEntry scProductEntry,
long groupId,
OrderByComparator<SCProductEntry> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface SCProductEntryPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface SCProductEntryPersistencegroupId - the group ID
public int filterCountByGroupId(long groupId)
filterCountByGroupId in interface SCProductEntryPersistencegroupId - the group ID
public List<SCProductEntry> findByCompanyId(long companyId)
findByCompanyId in interface SCProductEntryPersistencecompanyId - the company ID
public List<SCProductEntry> findByCompanyId(long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface 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 List<SCProductEntry> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface 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 List<SCProductEntry> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<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 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 cache
public SCProductEntry findByCompanyId_First(long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
throws NoSuchProductEntryException
findByCompanyId_First in interface SCProductEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchProductEntryException - if a matching s c product entry could not be found
public SCProductEntry fetchByCompanyId_First(long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
fetchByCompanyId_First in interface SCProductEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c product entry could not be found
public SCProductEntry findByCompanyId_Last(long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
throws NoSuchProductEntryException
findByCompanyId_Last in interface SCProductEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchProductEntryException - if a matching s c product entry could not be found
public SCProductEntry fetchByCompanyId_Last(long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
fetchByCompanyId_Last in interface SCProductEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching s c product entry could not be found
public SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
OrderByComparator<SCProductEntry> orderByComparator)
throws NoSuchProductEntryException
findByCompanyId_PrevAndNext in interface SCProductEntryPersistenceproductEntryId - 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
protected SCProductEntry getByCompanyId_PrevAndNext(Session session,
SCProductEntry scProductEntry,
long companyId,
OrderByComparator<SCProductEntry> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface SCProductEntryPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface SCProductEntryPersistencecompanyId - the company ID
public List<SCProductEntry> findByG_U(long groupId,
long userId)
findByG_U in interface SCProductEntryPersistencegroupId - the group IDuserId - the user ID
public List<SCProductEntry> findByG_U(long groupId,
long userId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U in interface 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 List<SCProductEntry> findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U in interface 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 List<SCProductEntry> findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<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 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 cache
public SCProductEntry findByG_U_First(long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
throws NoSuchProductEntryException
findByG_U_First in interface SCProductEntryPersistencegroupId - 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
public SCProductEntry fetchByG_U_First(long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
fetchByG_U_First in interface 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 found
public SCProductEntry findByG_U_Last(long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
throws NoSuchProductEntryException
findByG_U_Last in interface SCProductEntryPersistencegroupId - 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
public SCProductEntry fetchByG_U_Last(long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
fetchByG_U_Last in interface 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 found
public SCProductEntry[] findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
throws NoSuchProductEntryException
findByG_U_PrevAndNext in interface 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)
NoSuchProductEntryException - if a s c product entry with the primary key could not be found
protected SCProductEntry getByG_U_PrevAndNext(Session session,
SCProductEntry scProductEntry,
long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator,
boolean previous)
public List<SCProductEntry> filterFindByG_U(long groupId,
long userId)
filterFindByG_U in interface SCProductEntryPersistencegroupId - the group IDuserId - the user ID
public List<SCProductEntry> filterFindByG_U(long groupId,
long userId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_U in interface 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 List<SCProductEntry> filterFindByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_U in interface 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 SCProductEntry[] filterFindByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator)
throws NoSuchProductEntryException
filterFindByG_U_PrevAndNext in interface 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)
NoSuchProductEntryException - if a s c product entry with the primary key could not be found
protected SCProductEntry filterGetByG_U_PrevAndNext(Session session,
SCProductEntry scProductEntry,
long groupId,
long userId,
OrderByComparator<SCProductEntry> orderByComparator,
boolean previous)
public void removeByG_U(long groupId,
long userId)
removeByG_U in interface SCProductEntryPersistencegroupId - the group IDuserId - the user ID
public int countByG_U(long groupId,
long userId)
countByG_U in interface SCProductEntryPersistencegroupId - the group IDuserId - the user ID
public int filterCountByG_U(long groupId,
long userId)
filterCountByG_U in interface SCProductEntryPersistencegroupId - the group IDuserId - the user ID
public SCProductEntry findByRG_RA(String repoGroupId,
String repoArtifactId)
throws NoSuchProductEntryException
NoSuchProductEntryException if it could not be found.
findByRG_RA in interface SCProductEntryPersistencerepoGroupId - the repo group IDrepoArtifactId - the repo artifact ID
NoSuchProductEntryException - if a matching s c product entry could not be found
public SCProductEntry fetchByRG_RA(String repoGroupId,
String repoArtifactId)
null if it could not be found. Uses the finder cache.
fetchByRG_RA in interface SCProductEntryPersistencerepoGroupId - the repo group IDrepoArtifactId - the repo artifact ID
null if a matching s c product entry could not be found
public SCProductEntry fetchByRG_RA(String repoGroupId,
String repoArtifactId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByRG_RA in interface SCProductEntryPersistencerepoGroupId - the repo group IDrepoArtifactId - the repo artifact IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching s c product entry could not be found
public SCProductEntry removeByRG_RA(String repoGroupId,
String repoArtifactId)
throws NoSuchProductEntryException
removeByRG_RA in interface SCProductEntryPersistencerepoGroupId - the repo group IDrepoArtifactId - the repo artifact ID
NoSuchProductEntryException
public int countByRG_RA(String repoGroupId,
String repoArtifactId)
countByRG_RA in interface SCProductEntryPersistencerepoGroupId - the repo group IDrepoArtifactId - the repo artifact ID
public void cacheResult(SCProductEntry scProductEntry)
cacheResult in interface SCProductEntryPersistencescProductEntry - the s c product entrypublic void cacheResult(List<SCProductEntry> scProductEntries)
cacheResult in interface SCProductEntryPersistencescProductEntries - the s c product entriespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<SCProductEntry>clearCache in class BasePersistenceImpl<SCProductEntry>public void clearCache(SCProductEntry scProductEntry)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<SCProductEntry>clearCache in class BasePersistenceImpl<SCProductEntry>scProductEntry - the instance of this model to clear the cache forpublic void clearCache(List<SCProductEntry> scProductEntries)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<SCProductEntry>clearCache in class BasePersistenceImpl<SCProductEntry>scProductEntries - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(SCProductEntryModelImpl scProductEntryModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(SCProductEntryModelImpl scProductEntryModelImpl)
public SCProductEntry create(long productEntryId)
create in interface SCProductEntryPersistenceproductEntryId - the primary key for the new s c product entry
public SCProductEntry remove(long productEntryId)
throws NoSuchProductEntryException
remove in interface SCProductEntryPersistenceproductEntryId - the primary key of the s c product entry
NoSuchProductEntryException - if a s c product entry with the primary key could not be found
public SCProductEntry remove(Serializable primaryKey)
throws NoSuchProductEntryException
remove in interface BasePersistence<SCProductEntry>remove in class BasePersistenceImpl<SCProductEntry>primaryKey - the primary key of the s c product entry
NoSuchProductEntryException - if a s c product entry with the primary key could not be foundprotected SCProductEntry removeImpl(SCProductEntry scProductEntry)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<SCProductEntry>scProductEntry - the model instance to remove
public SCProductEntry updateImpl(SCProductEntry scProductEntry)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface SCProductEntryPersistenceupdateImpl in class BasePersistenceImpl<SCProductEntry>scProductEntry - the model instance to update
protected SCProductEntry toUnwrappedModel(SCProductEntry scProductEntry)
public SCProductEntry findByPrimaryKey(Serializable primaryKey)
throws NoSuchProductEntryException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<SCProductEntry>findByPrimaryKey in class BasePersistenceImpl<SCProductEntry>primaryKey - the primary key of the s c product entry
NoSuchProductEntryException - if a s c product entry with the primary key could not be found
public SCProductEntry findByPrimaryKey(long productEntryId)
throws NoSuchProductEntryException
NoSuchProductEntryException if it could not be found.
findByPrimaryKey in interface SCProductEntryPersistenceproductEntryId - the primary key of the s c product entry
NoSuchProductEntryException - if a s c product entry with the primary key could not be foundpublic SCProductEntry fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<SCProductEntry>fetchByPrimaryKey in class BasePersistenceImpl<SCProductEntry>primaryKey - the primary key of the s c product entry
null if a s c product entry with the primary key could not be foundpublic SCProductEntry fetchByPrimaryKey(long productEntryId)
null if it could not be found.
fetchByPrimaryKey in interface SCProductEntryPersistenceproductEntryId - the primary key of the s c product entry
null if a s c product entry with the primary key could not be foundpublic Map<Serializable,SCProductEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<SCProductEntry>fetchByPrimaryKeys in interface SCProductEntryPersistencefetchByPrimaryKeys in class BasePersistenceImpl<SCProductEntry>public List<SCProductEntry> findAll()
findAll in interface SCProductEntryPersistence
public List<SCProductEntry> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface 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 List<SCProductEntry> findAll(int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface 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 List<SCProductEntry> findAll(int start,
int end,
OrderByComparator<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 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 cache
public void removeAll()
removeAll in interface SCProductEntryPersistencepublic int countAll()
countAll in interface SCProductEntryPersistencepublic long[] getSCLicensePrimaryKeys(long pk)
getSCLicensePrimaryKeys in interface SCProductEntryPersistencepk - the primary key of the s c product entry
public List<SCLicense> getSCLicenses(long pk)
getSCLicenses in interface SCProductEntryPersistencepk - the primary key of the s c product entry
public List<SCLicense> getSCLicenses(long pk,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getSCLicenses in interface 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 List<SCLicense> getSCLicenses(long pk,
int start,
int end,
OrderByComparator<SCLicense> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getSCLicenses in interface 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 SCProductEntryPersistencepk - the primary key of the s c product entry
public boolean containsSCLicense(long pk,
long scLicensePK)
true if the s c license is associated with the s c product entry.
containsSCLicense in interface SCProductEntryPersistencepk - 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 otherwisepublic boolean containsSCLicenses(long pk)
true if the s c product entry has any s c licenses associated with it.
containsSCLicenses in interface SCProductEntryPersistencepk - 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
public void addSCLicense(long pk,
long scLicensePK)
addSCLicense in interface SCProductEntryPersistencepk - the primary key of the s c product entryscLicensePK - the primary key of the s c license
public void addSCLicense(long pk,
SCLicense scLicense)
addSCLicense in interface SCProductEntryPersistencepk - the primary key of the s c product entryscLicense - the s c license
public void addSCLicenses(long pk,
long[] scLicensePKs)
addSCLicenses in interface SCProductEntryPersistencepk - the primary key of the s c product entryscLicensePKs - the primary keys of the s c licenses
public void addSCLicenses(long pk,
List<SCLicense> scLicenses)
addSCLicenses in interface SCProductEntryPersistencepk - the primary key of the s c product entryscLicenses - the s c licensespublic void clearSCLicenses(long pk)
clearSCLicenses in interface SCProductEntryPersistencepk - the primary key of the s c product entry to clear the associated s c licenses from
public void removeSCLicense(long pk,
long scLicensePK)
removeSCLicense in interface SCProductEntryPersistencepk - the primary key of the s c product entryscLicensePK - the primary key of the s c license
public void removeSCLicense(long pk,
SCLicense scLicense)
removeSCLicense in interface SCProductEntryPersistencepk - the primary key of the s c product entryscLicense - the s c license
public void removeSCLicenses(long pk,
long[] scLicensePKs)
removeSCLicenses in interface SCProductEntryPersistencepk - the primary key of the s c product entryscLicensePKs - the primary keys of the s c licenses
public void removeSCLicenses(long pk,
List<SCLicense> scLicenses)
removeSCLicenses in interface SCProductEntryPersistencepk - the primary key of the s c product entryscLicenses - the s c licenses
public void setSCLicenses(long pk,
long[] scLicensePKs)
setSCLicenses in interface 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 entry
public void setSCLicenses(long pk,
List<SCLicense> scLicenses)
setSCLicenses in interface SCProductEntryPersistencepk - the primary key of the s c product entryscLicenses - the s c licenses to be associated with the s c product entrypublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<SCProductEntry>getBadColumnNames in interface SCProductEntryPersistencegetBadColumnNames in class BasePersistenceImpl<SCProductEntry>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<SCProductEntry>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-a2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||