com.liferay.portlet.softwarecatalog.service.persistence
Interface SCProductEntryPersistence
- All Known Implementing Classes:
- SCProductEntryPersistenceImpl
- public interface SCProductEntryPersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
addSCLicense(long pk,
long scLicensePK)
|
void |
addSCLicense(long pk,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
|
void |
addSCLicenses(long pk,
java.util.List 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)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
create(long productEntryId)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
fetchByPrimaryKey(long productEntryId)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry[] |
findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByCompanyId(long companyId)
|
java.util.List |
findByCompanyId(long companyId,
int begin,
int end)
|
java.util.List |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry[] |
findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByG_U(long groupId,
long userId)
|
java.util.List |
findByG_U(long groupId,
long userId,
int begin,
int end)
|
java.util.List |
findByG_U(long groupId,
long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry[] |
findByGroupId_PrevAndNext(long productEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByGroupId(long groupId)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByPrimaryKey(long productEntryId)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.util.List |
getSCLicenses(long pk)
|
java.util.List |
getSCLicenses(long pk,
int begin,
int end)
|
java.util.List |
getSCLicenses(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getSCLicensesSize(long pk)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
remove(long productEntryId)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
remove(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
|
void |
removeAll()
|
void |
removeByCompanyId(long companyId)
|
void |
removeByG_U(long groupId,
long userId)
|
void |
removeByGroupId(long groupId)
|
void |
removeSCLicense(long pk,
long scLicensePK)
|
void |
removeSCLicense(long pk,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
|
void |
removeSCLicenses(long pk,
java.util.List scLicenses)
|
void |
removeSCLicenses(long pk,
long[] scLicensePKs)
|
void |
setSCLicenses(long pk,
java.util.List scLicenses)
|
void |
setSCLicenses(long pk,
long[] scLicensePKs)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
update(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
|
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
update(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
boolean merge)
|
create
public com.liferay.portlet.softwarecatalog.model.SCProductEntry create(long productEntryId)
remove
public com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(long productEntryId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
remove
public com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.softwarecatalog.model.SCProductEntry update(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.softwarecatalog.model.SCProductEntry update(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(long productEntryId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
fetchByPrimaryKey
public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByGroupId_Last
public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByGroupId_PrevAndNext
public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByCompanyId
public java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByCompanyId_Last
public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByCompanyId_PrevAndNext
public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByG_U
public java.util.List findByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
public java.util.List findByG_U(long groupId,
long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
public java.util.List findByG_U(long groupId,
long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U_First
public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByG_U_Last
public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByG_U_PrevAndNext
public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
public void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_U
public void removeByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_U
public int countByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCLicenses
public java.util.List getSCLicenses(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
getSCLicenses
public java.util.List getSCLicenses(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
getSCLicenses
public java.util.List getSCLicenses(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
getSCLicensesSize
public int getSCLicensesSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCLicense
public boolean containsSCLicense(long pk,
long scLicensePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCLicenses
public boolean containsSCLicenses(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCLicense
public void addSCLicense(long pk,
long scLicensePK)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
addSCLicense
public void addSCLicense(long pk,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
addSCLicenses
public void addSCLicenses(long pk,
long[] scLicensePKs)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
addSCLicenses
public void addSCLicenses(long pk,
java.util.List scLicenses)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
clearSCLicenses
public void clearSCLicenses(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
removeSCLicense
public void removeSCLicense(long pk,
long scLicensePK)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
removeSCLicense
public void removeSCLicense(long pk,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
removeSCLicenses
public void removeSCLicenses(long pk,
long[] scLicensePKs)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
removeSCLicenses
public void removeSCLicenses(long pk,
java.util.List scLicenses)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
setSCLicenses
public void setSCLicenses(long pk,
long[] scLicensePKs)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
setSCLicenses
public void setSCLicenses(long pk,
java.util.List scLicenses)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException