com.liferay.portlet.softwarecatalog.service.persistence
Interface SCProductEntryPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface SCProductEntryPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
addSCLicense(long pk,
long scLicensePK)
|
void |
addSCLicense(long pk,
SCLicense scLicense)
|
void |
addSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
|
void |
addSCLicenses(long pk,
long[] scLicensePKs)
|
void |
clearSCLicenses(long pk)
|
boolean |
containsSCLicense(long pk,
long scLicensePK)
|
boolean |
containsSCLicenses(long pk)
|
int |
countAll()
|
int |
countByCompanyId(long companyId)
|
int |
countByG_U(long groupId,
long userId)
|
int |
countByGroupId(long groupId)
|
int |
countByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
|
SCProductEntry |
create(long productEntryId)
|
SCProductEntry |
fetchByPrimaryKey(long productEntryId)
|
SCProductEntry |
fetchByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
|
java.util.List<SCProductEntry> |
findAll()
|
java.util.List<SCProductEntry> |
findAll(int start,
int end)
|
java.util.List<SCProductEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductEntry[] |
findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SCProductEntry> |
findByCompanyId(long companyId)
|
java.util.List<SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end)
|
java.util.List<SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductEntry |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductEntry |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductEntry[] |
findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SCProductEntry> |
findByG_U(long groupId,
long userId)
|
java.util.List<SCProductEntry> |
findByG_U(long groupId,
long userId,
int start,
int end)
|
java.util.List<SCProductEntry> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductEntry[] |
findByGroupId_PrevAndNext(long productEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SCProductEntry> |
findByGroupId(long groupId)
|
java.util.List<SCProductEntry> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<SCProductEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCProductEntry |
findByPrimaryKey(long productEntryId)
|
SCProductEntry |
findByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List<SCLicense> |
getSCLicenses(long pk)
|
java.util.List<SCLicense> |
getSCLicenses(long pk,
int start,
int end)
|
java.util.List<SCLicense> |
getSCLicenses(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getSCLicensesSize(long pk)
|
SCProductEntry |
remove(long productEntryId)
|
SCProductEntry |
remove(SCProductEntry scProductEntry)
|
void |
removeAll()
|
void |
removeByCompanyId(long companyId)
|
void |
removeByG_U(long groupId,
long userId)
|
void |
removeByGroupId(long groupId)
|
void |
removeByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
|
void |
removeSCLicense(long pk,
long scLicensePK)
|
void |
removeSCLicense(long pk,
SCLicense scLicense)
|
void |
removeSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
|
void |
removeSCLicenses(long pk,
long[] scLicensePKs)
|
void |
setSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
|
void |
setSCLicenses(long pk,
long[] scLicensePKs)
|
SCProductEntry |
update(SCProductEntry scProductEntry)
Deprecated. Use update(SCProductEntry scProductEntry, boolean merge) . |
SCProductEntry |
update(SCProductEntry scProductEntry,
boolean merge)
Add, update, or merge, the entity. |
SCProductEntry |
updateImpl(SCProductEntry scProductEntry,
boolean merge)
|
create
SCProductEntry create(long productEntryId)
remove
SCProductEntry remove(long productEntryId)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
remove
SCProductEntry remove(SCProductEntry scProductEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
SCProductEntry update(SCProductEntry scProductEntry)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(SCProductEntry scProductEntry, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
SCProductEntry update(SCProductEntry scProductEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
scProductEntry
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when scProductEntry is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
SCProductEntry updateImpl(SCProductEntry scProductEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry findByPrimaryKey(long productEntryId)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
fetchByPrimaryKey
SCProductEntry fetchByPrimaryKey(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductEntry> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductEntry> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductEntry> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByGroupId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByGroupId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductEntry> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductEntry> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductEntry> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByCompanyId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByCompanyId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByG_U
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductEntry> findByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductEntry> findByG_U(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductEntry> findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByG_U_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByG_U_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry[] findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByRG_RA
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry findByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
fetchByRG_RA
SCProductEntry fetchByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductEntry> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductEntry> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCProductEntry> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_U
void removeByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByRG_RA
void removeByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_U
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByRG_RA
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCLicenses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCLicense> getSCLicenses(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCLicenses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCLicense> getSCLicenses(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCLicenses
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<SCLicense> getSCLicenses(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCLicensesSize
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getSCLicensesSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCLicense
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean containsSCLicense(long pk,
long scLicensePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCLicenses
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean containsSCLicenses(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCLicense
void addSCLicense(long pk,
long scLicensePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCLicense
void addSCLicense(long pk,
SCLicense scLicense)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCLicenses
void addSCLicenses(long pk,
long[] scLicensePKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCLicenses
void addSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearSCLicenses
void clearSCLicenses(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCLicense
void removeSCLicense(long pk,
long scLicensePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCLicense
void removeSCLicense(long pk,
SCLicense scLicense)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCLicenses
void removeSCLicenses(long pk,
long[] scLicensePKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCLicenses
void removeSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setSCLicenses
void setSCLicenses(long pk,
long[] scLicensePKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setSCLicenses
void setSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException