|
|||||||||
| 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<com.liferay.portlet.softwarecatalog.model.SCLicense>
com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceImpl
public class SCLicensePersistenceImpl
The persistence implementation for the s c license service.
Caching information and settings can be found in portal.properties
SCLicensePersistence,
SCLicenseUtil| Nested Class Summary | |
|---|---|
protected class |
SCLicensePersistenceImpl.AddSCProductEntry
|
protected class |
SCLicensePersistenceImpl.ClearSCProductEntries
|
protected class |
SCLicensePersistenceImpl.ContainsSCProductEntry
|
protected class |
SCLicensePersistenceImpl.RemoveSCProductEntry
|
| Field Summary | |
|---|---|
protected SCLicensePersistenceImpl.AddSCProductEntry |
addSCProductEntry
|
protected SCLicensePersistenceImpl.ClearSCProductEntries |
clearSCProductEntries
|
protected SCLicensePersistenceImpl.ContainsSCProductEntry |
containsSCProductEntry
|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_CONTAINS_SCPRODUCTENTRY
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_A_R
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_ACTIVE
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_GET_SCPRODUCTENTRIES
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_GET_SCPRODUCTENTRIES_SIZE
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_A_R
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_ACTIVE
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_A_R
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ACTIVE
|
protected SCLicensePersistenceImpl.RemoveSCProductEntry |
removeSCProductEntry
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence |
scFrameworkVersionPersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence |
scLicensePersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence |
scProductEntryPersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence |
scProductScreenshotPersistence
|
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence |
scProductVersionPersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, 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,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
Adds an association between the s c license and the s c product entries. |
void |
addSCProductEntries(long pk,
long[] scProductEntryPKs)
Adds an association between the s c license and the s c product entries. |
void |
addSCProductEntry(long pk,
long scProductEntryPK)
Adds an association between the s c license and the s c product entry. |
void |
addSCProductEntry(long pk,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
Adds an association between the s c license and the s c product entry. |
void |
afterPropertiesSet()
Initializes the s c license persistence. |
void |
cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
Caches the s c licenses in the entity cache if it is enabled. |
void |
cacheResult(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
Caches the s c license in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all s c licenses. |
void |
clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
|
void |
clearCache(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
Clears the cache for the s c license. |
void |
clearSCProductEntries(long pk)
Clears all associations between the s c license and its s c product entries. |
boolean |
containsSCProductEntries(long pk)
Returns true if the s c license has any s c product entries associated with it. |
boolean |
containsSCProductEntry(long pk,
long scProductEntryPK)
Returns true if the s c product entry is associated with the s c license. |
int |
countAll()
Returns the number of s c licenses. |
int |
countByA_R(boolean active,
boolean recommended)
Returns the number of s c licenses where active = ? and recommended = ?. |
int |
countByActive(boolean active)
Returns the number of s c licenses where active = ?. |
com.liferay.portlet.softwarecatalog.model.SCLicense |
create(long licenseId)
Creates a new s c license with the primary key. |
void |
destroy()
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
fetchByPrimaryKey(long licenseId)
Returns the s c license with the primary key or returns null if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCLicense |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the s c license with the primary key or returns null if it could not be found. |
int |
filterCountByA_R(boolean active,
boolean recommended)
Returns the number of s c licenses that the user has permission to view where active = ? and recommended = ?. |
int |
filterCountByActive(boolean active)
Returns the number of s c licenses that the user has permission to view where active = ?. |
com.liferay.portlet.softwarecatalog.model.SCLicense[] |
filterFindByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the s c licenses before and after the current s c license in the ordered set of s c licenses that the user has permission to view where active = ? and recommended = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
filterFindByA_R(boolean active,
boolean recommended)
Returns all the s c licenses that the user has permission to view where active = ? and recommended = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
filterFindByA_R(boolean active,
boolean recommended,
int start,
int end)
Returns a range of all the s c licenses that the user has permission to view where active = ? and recommended = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
filterFindByA_R(boolean active,
boolean recommended,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c licenses that the user has permissions to view where active = ? and recommended = ?. |
com.liferay.portlet.softwarecatalog.model.SCLicense[] |
filterFindByActive_PrevAndNext(long licenseId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the s c licenses before and after the current s c license in the ordered set of s c licenses that the user has permission to view where active = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
filterFindByActive(boolean active)
Returns all the s c licenses that the user has permission to view where active = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
filterFindByActive(boolean active,
int start,
int end)
Returns a range of all the s c licenses that the user has permission to view where active = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
filterFindByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c licenses that the user has permissions to view where active = ?. |
protected com.liferay.portlet.softwarecatalog.model.SCLicense |
filterGetByA_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.softwarecatalog.model.SCLicense |
filterGetByActive_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findAll()
Returns all the s c licenses. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findAll(int start,
int end)
Returns a range of all the s c licenses. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c licenses. |
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByA_R_First(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first s c license in the ordered set where active = ? and recommended = ?. |
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByA_R_Last(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last s c license in the ordered set where active = ? and recommended = ?. |
com.liferay.portlet.softwarecatalog.model.SCLicense[] |
findByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the s c licenses before and after the current s c license in the ordered set where active = ? and recommended = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findByA_R(boolean active,
boolean recommended)
Returns all the s c licenses where active = ? and recommended = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findByA_R(boolean active,
boolean recommended,
int start,
int end)
Returns a range of all the s c licenses where active = ? and recommended = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findByA_R(boolean active,
boolean recommended,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c licenses where active = ? and recommended = ?. |
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first s c license in the ordered set where active = ?. |
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last s c license in the ordered set where active = ?. |
com.liferay.portlet.softwarecatalog.model.SCLicense[] |
findByActive_PrevAndNext(long licenseId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the s c licenses before and after the current s c license in the ordered set where active = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findByActive(boolean active)
Returns all the s c licenses where active = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findByActive(boolean active,
int start,
int end)
Returns a range of all the s c licenses where active = ?. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c licenses where active = ?. |
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByPrimaryKey(long licenseId)
Returns the s c license with the primary key or throws a NoSuchLicenseException if it could not be found. |
com.liferay.portlet.softwarecatalog.model.SCLicense |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the s c license with the primary key or throws a NoSuchModelException if it could not be found. |
protected com.liferay.portlet.softwarecatalog.model.SCLicense |
getByA_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.softwarecatalog.model.SCLicense |
getByActive_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
getSCProductEntries(long pk)
Returns all the s c product entries associated with the s c license. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
getSCProductEntries(long pk,
int start,
int end)
Returns a range of all the s c product entries associated with the s c license. |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
getSCProductEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the s c product entries associated with the s c license. |
int |
getSCProductEntriesSize(long pk)
Returns the number of s c product entries associated with the s c license. |
com.liferay.portlet.softwarecatalog.model.SCLicense |
remove(long licenseId)
Removes the s c license with the primary key from the database. |
com.liferay.portlet.softwarecatalog.model.SCLicense |
remove(java.io.Serializable primaryKey)
Removes the s c license with the primary key from the database. |
void |
removeAll()
Removes all the s c licenses from the database. |
void |
removeByA_R(boolean active,
boolean recommended)
Removes all the s c licenses where active = ? and recommended = ? from the database. |
void |
removeByActive(boolean active)
Removes all the s c licenses where active = ? from the database. |
protected com.liferay.portlet.softwarecatalog.model.SCLicense |
removeImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
|
void |
removeSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
Removes the association between the s c license and the s c product entries. |
void |
removeSCProductEntries(long pk,
long[] scProductEntryPKs)
Removes the association between the s c license and the s c product entries. |
void |
removeSCProductEntry(long pk,
long scProductEntryPK)
Removes the association between the s c license and the s c product entry. |
void |
removeSCProductEntry(long pk,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
Removes the association between the s c license and the s c product entry. |
void |
setSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
Sets the s c product entries associated with the s c license, removing and adding associations as necessary. |
void |
setSCProductEntries(long pk,
long[] scProductEntryPKs)
Sets the s c product entries associated with the s c license, removing and adding associations as necessary. |
protected com.liferay.portlet.softwarecatalog.model.SCLicense |
toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
|
com.liferay.portlet.softwarecatalog.model.SCLicense |
updateImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, 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 |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ACTIVE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ACTIVE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_ACTIVE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_A_R
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_A_R
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_A_R
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCPRODUCTENTRIES
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCPRODUCTENTRIES_SIZE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_SCPRODUCTENTRY
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence
@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence.class) protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.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(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencescLicense - the s c licensepublic void cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencescLicenses - the s c licensespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>public void clearCache(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>public void clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>public com.liferay.portlet.softwarecatalog.model.SCLicense create(long licenseId)
create in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key for the new s c license
public com.liferay.portlet.softwarecatalog.model.SCLicense remove(long licenseId)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the s c license
com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCLicense remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>primaryKey - the primary key of the s c license
com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.softwarecatalog.model.SCLicense removeImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>com.liferay.portal.kernel.exception.SystemException
public com.liferay.portlet.softwarecatalog.model.SCLicense updateImpl(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.softwarecatalog.model.SCLicense toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
public com.liferay.portlet.softwarecatalog.model.SCLicense findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>primaryKey - the primary key of the s c license
com.liferay.portal.NoSuchModelException - if a s c license with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCLicense findByPrimaryKey(long licenseId)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
NoSuchLicenseException if it could not be found.
findByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the s c license
com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCLicense>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCLicense>primaryKey - the primary key of the s c license
null if a s c license with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(long licenseId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the s c license
null if a s c license with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
findByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the active
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
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.
findByActive_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a matching s c license could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
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.
findByActive_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a matching s c license could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCLicense[] findByActive_PrevAndNext(long licenseId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
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.
findByActive_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the current s c licenseactive - the activeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.softwarecatalog.model.SCLicense getByActive_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the active
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByActive(boolean active,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
filterFindByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
filterFindByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCLicense[] filterFindByActive_PrevAndNext(long licenseId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
filterFindByActive_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the current s c licenseactive - the activeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.softwarecatalog.model.SCLicense filterGetByActive_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.kernel.exception.SystemException
findByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommended
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active,
boolean recommended,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedstart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(boolean active,
boolean recommended,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedstart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_First(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
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.
findByA_R_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a matching s c license could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_Last(boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
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.
findByA_R_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a matching s c license could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCLicense[] findByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
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.
findByA_R_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the current s c licenseactive - the activerecommended - the recommendedorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.softwarecatalog.model.SCLicense getByA_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommended
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByA_R(boolean active,
boolean recommended,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
filterFindByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedstart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> filterFindByA_R(boolean active,
boolean recommended,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
filterFindByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommendedstart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.softwarecatalog.model.SCLicense[] filterFindByA_R_PrevAndNext(long licenseId,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.softwarecatalog.NoSuchLicenseException,
com.liferay.portal.kernel.exception.SystemException
filterFindByA_R_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencelicenseId - the primary key of the current s c licenseactive - the activerecommended - the recommendedorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.softwarecatalog.NoSuchLicenseException - if a s c license with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.softwarecatalog.model.SCLicense filterGetByA_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
boolean active,
boolean recommended,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
removeByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the active
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.kernel.exception.SystemException
removeByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommended
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
countByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the active
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int filterCountByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByActive in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the active
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.kernel.exception.SystemException
countByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommended
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int filterCountByA_R(boolean active,
boolean recommended)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByA_R in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistenceactive - the activerecommended - the recommended
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c license
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
getSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
getSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensestart - the lower bound of the range of s c licensesend - the upper bound of the range of s c licenses (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int getSCProductEntriesSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getSCProductEntriesSize in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c license
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public boolean containsSCProductEntry(long pk,
long scProductEntryPK)
throws com.liferay.portal.kernel.exception.SystemException
true if the s c product entry is associated with the s c license.
containsSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntryPK - the primary key of the s c product entry
true if the s c product entry is associated with the s c license; false otherwise
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public boolean containsSCProductEntries(long pk)
throws com.liferay.portal.kernel.exception.SystemException
true if the s c license has any s c product entries associated with it.
containsSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c license to check for associations with s c product entries
true if the s c license has any s c product entries associated with it; false otherwise
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void addSCProductEntry(long pk,
long scProductEntryPK)
throws com.liferay.portal.kernel.exception.SystemException
addSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntryPK - the primary key of the s c product entry
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void addSCProductEntry(long pk,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
throws com.liferay.portal.kernel.exception.SystemException
addSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntry - the s c product entry
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void addSCProductEntries(long pk,
long[] scProductEntryPKs)
throws com.liferay.portal.kernel.exception.SystemException
addSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntryPKs - the primary keys of the s c product entries
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void addSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
throws com.liferay.portal.kernel.exception.SystemException
addSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntries - the s c product entries
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void clearSCProductEntries(long pk)
throws com.liferay.portal.kernel.exception.SystemException
clearSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c license to clear the associated s c product entries from
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeSCProductEntry(long pk,
long scProductEntryPK)
throws com.liferay.portal.kernel.exception.SystemException
removeSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntryPK - the primary key of the s c product entry
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeSCProductEntry(long pk,
com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
throws com.liferay.portal.kernel.exception.SystemException
removeSCProductEntry in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntry - the s c product entry
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeSCProductEntries(long pk,
long[] scProductEntryPKs)
throws com.liferay.portal.kernel.exception.SystemException
removeSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntryPKs - the primary keys of the s c product entries
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
throws com.liferay.portal.kernel.exception.SystemException
removeSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntries - the s c product entries
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void setSCProductEntries(long pk,
long[] scProductEntryPKs)
throws com.liferay.portal.kernel.exception.SystemException
setSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntryPKs - the primary keys of the s c product entries to be associated with the s c license
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void setSCProductEntries(long pk,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
throws com.liferay.portal.kernel.exception.SystemException
setSCProductEntries in interface com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistencepk - the primary key of the s c licensescProductEntries - the s c product entries to be associated with the s c license
com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||