|
Liferay 6.0.3 | |||||||||
| 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<SCLicense>
com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceImpl
public class SCLicensePersistenceImpl
SCLicensePersistence,
SCLicenseUtil| Nested Class Summary | |
|---|---|
protected class |
SCLicensePersistenceImpl.AddSCProductEntry
|
protected class |
SCLicensePersistenceImpl.ClearSCProductEntries
|
protected class |
SCLicensePersistenceImpl.ContainsSCProductEntry
|
protected class |
SCLicensePersistenceImpl.RemoveSCProductEntry
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, listeners, 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 | |
|---|---|
SCLicensePersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
addSCProductEntries(long pk,
List<SCProductEntry> scProductEntries)
|
void |
addSCProductEntries(long pk,
long[] scProductEntryPKs)
|
void |
addSCProductEntry(long pk,
long scProductEntryPK)
|
void |
addSCProductEntry(long pk,
SCProductEntry scProductEntry)
|
void |
afterPropertiesSet()
|
void |
cacheResult(List<SCLicense> scLicenses)
|
void |
cacheResult(SCLicense scLicense)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(SCLicense scLicense)
Clears the cache for one instance of this model. |
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)
|
SCLicense |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
List<SCLicense> |
findAll()
|
List<SCLicense> |
findAll(int start,
int end)
|
List<SCLicense> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
SCLicense |
findByA_R_First(boolean active,
boolean recommended,
OrderByComparator orderByComparator)
|
SCLicense |
findByA_R_Last(boolean active,
boolean recommended,
OrderByComparator orderByComparator)
|
SCLicense[] |
findByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
OrderByComparator orderByComparator)
|
List<SCLicense> |
findByA_R(boolean active,
boolean recommended)
|
List<SCLicense> |
findByA_R(boolean active,
boolean recommended,
int start,
int end)
|
List<SCLicense> |
findByA_R(boolean active,
boolean recommended,
int start,
int end,
OrderByComparator orderByComparator)
|
SCLicense |
findByActive_First(boolean active,
OrderByComparator orderByComparator)
|
SCLicense |
findByActive_Last(boolean active,
OrderByComparator orderByComparator)
|
SCLicense[] |
findByActive_PrevAndNext(long licenseId,
boolean active,
OrderByComparator orderByComparator)
|
List<SCLicense> |
findByActive(boolean active)
|
List<SCLicense> |
findByActive(boolean active,
int start,
int end)
|
List<SCLicense> |
findByActive(boolean active,
int start,
int end,
OrderByComparator orderByComparator)
|
SCLicense |
findByPrimaryKey(long licenseId)
|
SCLicense |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
protected SCLicense |
getByA_R_PrevAndNext(Session session,
SCLicense scLicense,
boolean active,
boolean recommended,
OrderByComparator orderByComparator,
boolean previous)
|
protected SCLicense |
getByActive_PrevAndNext(Session session,
SCLicense scLicense,
boolean active,
OrderByComparator orderByComparator,
boolean previous)
|
List<SCProductEntry> |
getSCProductEntries(long pk)
|
List<SCProductEntry> |
getSCProductEntries(long pk,
int start,
int end)
|
List<SCProductEntry> |
getSCProductEntries(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getSCProductEntriesSize(long pk)
|
SCLicense |
remove(long licenseId)
|
SCLicense |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByA_R(boolean active,
boolean recommended)
|
void |
removeByActive(boolean active)
|
protected SCLicense |
removeImpl(SCLicense scLicense)
Removes the model instance from the database. |
void |
removeSCProductEntries(long pk,
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,
List<SCProductEntry> scProductEntries)
|
void |
setSCProductEntries(long pk,
long[] scProductEntryPKs)
|
protected SCLicense |
toUnwrappedModel(SCLicense scLicense)
|
SCLicense |
updateImpl(SCLicense scLicense,
boolean merge)
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, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| 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 |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_ACTIVE
public static final FinderPath FINDER_PATH_COUNT_BY_ACTIVE
public static final FinderPath FINDER_PATH_FIND_BY_A_R
public static final FinderPath FINDER_PATH_COUNT_BY_A_R
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_GET_SCPRODUCTENTRIES
public static final FinderPath FINDER_PATH_GET_SCPRODUCTENTRIES_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_SCPRODUCTENTRY
@BeanReference(type=SCLicensePersistence.class) protected SCLicensePersistence scLicensePersistence
@BeanReference(type=SCFrameworkVersionPersistence.class) protected SCFrameworkVersionPersistence scFrameworkVersionPersistence
@BeanReference(type=SCProductEntryPersistence.class) protected SCProductEntryPersistence scProductEntryPersistence
@BeanReference(type=SCProductScreenshotPersistence.class) protected SCProductScreenshotPersistence scProductScreenshotPersistence
@BeanReference(type=SCProductVersionPersistence.class) protected SCProductVersionPersistence scProductVersionPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
protected SCLicensePersistenceImpl.ContainsSCProductEntry containsSCProductEntry
protected SCLicensePersistenceImpl.AddSCProductEntry addSCProductEntry
protected SCLicensePersistenceImpl.ClearSCProductEntries clearSCProductEntries
protected SCLicensePersistenceImpl.RemoveSCProductEntry removeSCProductEntry
| Constructor Detail |
|---|
public SCLicensePersistenceImpl()
| Method Detail |
|---|
public void cacheResult(SCLicense scLicense)
cacheResult in interface SCLicensePersistencepublic void cacheResult(List<SCLicense> scLicenses)
cacheResult in interface SCLicensePersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<SCLicense>clearCache in class BasePersistenceImpl<SCLicense>public void clearCache(SCLicense scLicense)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<SCLicense>clearCache in class BasePersistenceImpl<SCLicense>scLicense - the instance of this model to clear the cache forpublic SCLicense create(long licenseId)
create in interface SCLicensePersistence
public SCLicense remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<SCLicense>remove in class BasePersistenceImpl<SCLicense>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public SCLicense remove(long licenseId)
throws NoSuchLicenseException,
SystemException
remove in interface SCLicensePersistenceNoSuchLicenseException
SystemException
protected SCLicense removeImpl(SCLicense scLicense)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<SCLicense>scLicense - the model instance to remove
SystemException - if a system exception occurred
public SCLicense updateImpl(SCLicense scLicense,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface SCLicensePersistenceupdateImpl in class BasePersistenceImpl<SCLicense>scLicense - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected SCLicense toUnwrappedModel(SCLicense scLicense)
public SCLicense findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<SCLicense>findByPrimaryKey in class BasePersistenceImpl<SCLicense>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public SCLicense findByPrimaryKey(long licenseId)
throws NoSuchLicenseException,
SystemException
findByPrimaryKey in interface SCLicensePersistenceNoSuchLicenseException
SystemException
public SCLicense fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<SCLicense>fetchByPrimaryKey in class BasePersistenceImpl<SCLicense>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public SCLicense fetchByPrimaryKey(long licenseId)
throws SystemException
fetchByPrimaryKey in interface SCLicensePersistenceSystemException
public List<SCLicense> findByActive(boolean active)
throws SystemException
findByActive in interface SCLicensePersistenceSystemException
public List<SCLicense> findByActive(boolean active,
int start,
int end)
throws SystemException
findByActive in interface SCLicensePersistenceSystemException
public List<SCLicense> findByActive(boolean active,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByActive in interface SCLicensePersistenceSystemException
public SCLicense findByActive_First(boolean active,
OrderByComparator orderByComparator)
throws NoSuchLicenseException,
SystemException
findByActive_First in interface SCLicensePersistenceNoSuchLicenseException
SystemException
public SCLicense findByActive_Last(boolean active,
OrderByComparator orderByComparator)
throws NoSuchLicenseException,
SystemException
findByActive_Last in interface SCLicensePersistenceNoSuchLicenseException
SystemException
public SCLicense[] findByActive_PrevAndNext(long licenseId,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchLicenseException,
SystemException
findByActive_PrevAndNext in interface SCLicensePersistenceNoSuchLicenseException
SystemException
protected SCLicense getByActive_PrevAndNext(Session session,
SCLicense scLicense,
boolean active,
OrderByComparator orderByComparator,
boolean previous)
public List<SCLicense> findByA_R(boolean active,
boolean recommended)
throws SystemException
findByA_R in interface SCLicensePersistenceSystemException
public List<SCLicense> findByA_R(boolean active,
boolean recommended,
int start,
int end)
throws SystemException
findByA_R in interface SCLicensePersistenceSystemException
public List<SCLicense> findByA_R(boolean active,
boolean recommended,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByA_R in interface SCLicensePersistenceSystemException
public SCLicense findByA_R_First(boolean active,
boolean recommended,
OrderByComparator orderByComparator)
throws NoSuchLicenseException,
SystemException
findByA_R_First in interface SCLicensePersistenceNoSuchLicenseException
SystemException
public SCLicense findByA_R_Last(boolean active,
boolean recommended,
OrderByComparator orderByComparator)
throws NoSuchLicenseException,
SystemException
findByA_R_Last in interface SCLicensePersistenceNoSuchLicenseException
SystemException
public SCLicense[] findByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
OrderByComparator orderByComparator)
throws NoSuchLicenseException,
SystemException
findByA_R_PrevAndNext in interface SCLicensePersistenceNoSuchLicenseException
SystemException
protected SCLicense getByA_R_PrevAndNext(Session session,
SCLicense scLicense,
boolean active,
boolean recommended,
OrderByComparator orderByComparator,
boolean previous)
public List<SCLicense> findAll()
throws SystemException
findAll in interface SCLicensePersistenceSystemException
public List<SCLicense> findAll(int start,
int end)
throws SystemException
findAll in interface SCLicensePersistenceSystemException
public List<SCLicense> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface SCLicensePersistenceSystemException
public void removeByActive(boolean active)
throws SystemException
removeByActive in interface SCLicensePersistenceSystemException
public void removeByA_R(boolean active,
boolean recommended)
throws SystemException
removeByA_R in interface SCLicensePersistenceSystemException
public void removeAll()
throws SystemException
removeAll in interface SCLicensePersistenceSystemException
public int countByActive(boolean active)
throws SystemException
countByActive in interface SCLicensePersistenceSystemException
public int countByA_R(boolean active,
boolean recommended)
throws SystemException
countByA_R in interface SCLicensePersistenceSystemException
public int countAll()
throws SystemException
countAll in interface SCLicensePersistenceSystemException
public List<SCProductEntry> getSCProductEntries(long pk)
throws SystemException
getSCProductEntries in interface SCLicensePersistenceSystemException
public List<SCProductEntry> getSCProductEntries(long pk,
int start,
int end)
throws SystemException
getSCProductEntries in interface SCLicensePersistenceSystemException
public List<SCProductEntry> getSCProductEntries(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getSCProductEntries in interface SCLicensePersistenceSystemException
public int getSCProductEntriesSize(long pk)
throws SystemException
getSCProductEntriesSize in interface SCLicensePersistenceSystemException
public boolean containsSCProductEntry(long pk,
long scProductEntryPK)
throws SystemException
containsSCProductEntry in interface SCLicensePersistenceSystemException
public boolean containsSCProductEntries(long pk)
throws SystemException
containsSCProductEntries in interface SCLicensePersistenceSystemException
public void addSCProductEntry(long pk,
long scProductEntryPK)
throws SystemException
addSCProductEntry in interface SCLicensePersistenceSystemException
public void addSCProductEntry(long pk,
SCProductEntry scProductEntry)
throws SystemException
addSCProductEntry in interface SCLicensePersistenceSystemException
public void addSCProductEntries(long pk,
long[] scProductEntryPKs)
throws SystemException
addSCProductEntries in interface SCLicensePersistenceSystemException
public void addSCProductEntries(long pk,
List<SCProductEntry> scProductEntries)
throws SystemException
addSCProductEntries in interface SCLicensePersistenceSystemException
public void clearSCProductEntries(long pk)
throws SystemException
clearSCProductEntries in interface SCLicensePersistenceSystemException
public void removeSCProductEntry(long pk,
long scProductEntryPK)
throws SystemException
removeSCProductEntry in interface SCLicensePersistenceSystemException
public void removeSCProductEntry(long pk,
SCProductEntry scProductEntry)
throws SystemException
removeSCProductEntry in interface SCLicensePersistenceSystemException
public void removeSCProductEntries(long pk,
long[] scProductEntryPKs)
throws SystemException
removeSCProductEntries in interface SCLicensePersistenceSystemException
public void removeSCProductEntries(long pk,
List<SCProductEntry> scProductEntries)
throws SystemException
removeSCProductEntries in interface SCLicensePersistenceSystemException
public void setSCProductEntries(long pk,
long[] scProductEntryPKs)
throws SystemException
setSCProductEntries in interface SCLicensePersistenceSystemException
public void setSCProductEntries(long pk,
List<SCProductEntry> scProductEntries)
throws SystemException
setSCProductEntries in interface SCLicensePersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||