com.liferay.portlet.softwarecatalog.service.persistence
Interface SCLicensePersistence
- All Superinterfaces:
- BasePersistence
public interface SCLicensePersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
addSCProductEntries(long pk,
java.util.List<SCProductEntry> scProductEntries)
|
void |
addSCProductEntries(long pk,
long[] scProductEntryPKs)
|
void |
addSCProductEntry(long pk,
long scProductEntryPK)
|
void |
addSCProductEntry(long pk,
SCProductEntry scProductEntry)
|
void |
cacheResult(java.util.List<SCLicense> scLicenses)
|
void |
cacheResult(SCLicense scLicense)
|
void |
clearCache()
|
void |
clearSCProductEntries(long pk)
|
boolean |
containsSCProductEntries(long pk)
|
boolean |
containsSCProductEntry(long pk,
long scProductEntryPK)
|
int |
countAll()
|
int |
countByA_R(boolean active,
boolean recommended)
|
int |
countByActive(boolean active)
|
SCLicense |
create(long licenseId)
|
SCLicense |
fetchByPrimaryKey(long licenseId)
|
java.util.List<SCLicense> |
findAll()
|
java.util.List<SCLicense> |
findAll(int start,
int end)
|
java.util.List<SCLicense> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCLicense |
findByA_R_First(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCLicense |
findByA_R_Last(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCLicense[] |
findByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SCLicense> |
findByA_R(boolean active,
boolean recommended)
|
java.util.List<SCLicense> |
findByA_R(boolean active,
boolean recommended,
int start,
int end)
|
java.util.List<SCLicense> |
findByA_R(boolean active,
boolean recommended,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCLicense |
findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCLicense |
findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCLicense[] |
findByActive_PrevAndNext(long licenseId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<SCLicense> |
findByActive(boolean active)
|
java.util.List<SCLicense> |
findByActive(boolean active,
int start,
int end)
|
java.util.List<SCLicense> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
SCLicense |
findByPrimaryKey(long licenseId)
|
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<SCProductEntry> |
getSCProductEntries(long pk)
|
java.util.List<SCProductEntry> |
getSCProductEntries(long pk,
int start,
int end)
|
java.util.List<SCProductEntry> |
getSCProductEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getSCProductEntriesSize(long pk)
|
SCLicense |
remove(long licenseId)
|
SCLicense |
remove(SCLicense scLicense)
|
void |
removeAll()
|
void |
removeByA_R(boolean active,
boolean recommended)
|
void |
removeByActive(boolean active)
|
void |
removeSCProductEntries(long pk,
java.util.List<SCProductEntry> scProductEntries)
|
void |
removeSCProductEntries(long pk,
long[] scProductEntryPKs)
|
void |
removeSCProductEntry(long pk,
long scProductEntryPK)
|
void |
removeSCProductEntry(long pk,
SCProductEntry scProductEntry)
|
void |
setSCProductEntries(long pk,
java.util.List<SCProductEntry> scProductEntries)
|
void |
setSCProductEntries(long pk,
long[] scProductEntryPKs)
|
SCLicense |
update(SCLicense scLicense)
Deprecated. Use update(SCLicense scLicense, boolean merge) . |
SCLicense |
update(SCLicense scLicense,
boolean merge)
Add, update, or merge, the entity. |
SCLicense |
updateImpl(SCLicense scLicense,
boolean merge)
|
cacheResult
void cacheResult(SCLicense scLicense)
cacheResult
void cacheResult(java.util.List<SCLicense> scLicenses)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
SCLicense create(long licenseId)
remove
SCLicense remove(long licenseId)
throws com.liferay.portal.SystemException,
NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
NoSuchLicenseException
remove
SCLicense remove(SCLicense scLicense)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
SCLicense update(SCLicense scLicense)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(SCLicense scLicense, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
SCLicense update(SCLicense scLicense,
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:
scLicense
- 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 scLicense 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
SCLicense updateImpl(SCLicense scLicense,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
SCLicense findByPrimaryKey(long licenseId)
throws com.liferay.portal.SystemException,
NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
NoSuchLicenseException
fetchByPrimaryKey
SCLicense fetchByPrimaryKey(long licenseId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
java.util.List<SCLicense> findByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
java.util.List<SCLicense> findByActive(boolean active,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
java.util.List<SCLicense> findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive_First
SCLicense findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
NoSuchLicenseException
findByActive_Last
SCLicense findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
NoSuchLicenseException
findByActive_PrevAndNext
SCLicense[] findByActive_PrevAndNext(long licenseId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
NoSuchLicenseException
findByA_R
java.util.List<SCLicense> findByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByA_R
java.util.List<SCLicense> findByA_R(boolean active,
boolean recommended,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByA_R
java.util.List<SCLicense> findByA_R(boolean active,
boolean recommended,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByA_R_First
SCLicense findByA_R_First(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
NoSuchLicenseException
findByA_R_Last
SCLicense findByA_R_Last(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
NoSuchLicenseException
findByA_R_PrevAndNext
SCLicense[] findByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
NoSuchLicenseException
findWithDynamicQuery
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
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
java.util.List<SCLicense> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<SCLicense> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<SCLicense> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByActive
void removeByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByA_R
void removeByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByActive
int countByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByA_R
int countByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCProductEntries
java.util.List<SCProductEntry> getSCProductEntries(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCProductEntries
java.util.List<SCProductEntry> getSCProductEntries(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCProductEntries
java.util.List<SCProductEntry> getSCProductEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCProductEntriesSize
int getSCProductEntriesSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCProductEntry
boolean containsSCProductEntry(long pk,
long scProductEntryPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCProductEntries
boolean containsSCProductEntries(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCProductEntry
void addSCProductEntry(long pk,
long scProductEntryPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCProductEntry
void addSCProductEntry(long pk,
SCProductEntry scProductEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCProductEntries
void addSCProductEntries(long pk,
long[] scProductEntryPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCProductEntries
void addSCProductEntries(long pk,
java.util.List<SCProductEntry> scProductEntries)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearSCProductEntries
void clearSCProductEntries(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCProductEntry
void removeSCProductEntry(long pk,
long scProductEntryPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCProductEntry
void removeSCProductEntry(long pk,
SCProductEntry scProductEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCProductEntries
void removeSCProductEntries(long pk,
long[] scProductEntryPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCProductEntries
void removeSCProductEntries(long pk,
java.util.List<SCProductEntry> scProductEntries)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setSCProductEntries
void setSCProductEntries(long pk,
long[] scProductEntryPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setSCProductEntries
void setSCProductEntries(long pk,
java.util.List<SCProductEntry> scProductEntries)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException