com.liferay.portlet.softwarecatalog.service.persistence
Class SCProductEntryUtil
java.lang.Object
com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryUtil
public class SCProductEntryUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
SCProductEntryPersistence
,
SCProductEntryPersistenceImpl
- Generated:
Method Summary |
static void |
addSCLicense(long pk,
long scLicensePK)
|
static void |
addSCLicense(long pk,
SCLicense scLicense)
|
static void |
addSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
|
static void |
addSCLicenses(long pk,
long[] scLicensePKs)
|
static void |
cacheResult(java.util.List<SCProductEntry> scProductEntries)
|
static void |
cacheResult(SCProductEntry scProductEntry)
|
static void |
clearCache()
|
static void |
clearCache(SCProductEntry scProductEntry)
|
static void |
clearSCLicenses(long pk)
|
static boolean |
containsSCLicense(long pk,
long scLicensePK)
|
static boolean |
containsSCLicenses(long pk)
|
static int |
countAll()
|
static int |
countByCompanyId(long companyId)
|
static int |
countByG_U(long groupId,
long userId)
|
static int |
countByGroupId(long groupId)
|
static int |
countByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static SCProductEntry |
create(long productEntryId)
|
static SCProductEntry |
fetchByPrimaryKey(long productEntryId)
|
static SCProductEntry |
fetchByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
|
static SCProductEntry |
fetchByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId,
boolean retrieveFromCache)
|
static java.util.List<SCProductEntry> |
findAll()
|
static java.util.List<SCProductEntry> |
findAll(int start,
int end)
|
static java.util.List<SCProductEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static SCProductEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static SCProductEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static SCProductEntry[] |
findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<SCProductEntry> |
findByCompanyId(long companyId)
|
static java.util.List<SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end)
|
static java.util.List<SCProductEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static SCProductEntry |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static SCProductEntry |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static SCProductEntry[] |
findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<SCProductEntry> |
findByG_U(long groupId,
long userId)
|
static java.util.List<SCProductEntry> |
findByG_U(long groupId,
long userId,
int start,
int end)
|
static java.util.List<SCProductEntry> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static SCProductEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static SCProductEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static SCProductEntry[] |
findByGroupId_PrevAndNext(long productEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<SCProductEntry> |
findByGroupId(long groupId)
|
static java.util.List<SCProductEntry> |
findByGroupId(long groupId,
int start,
int end)
|
static java.util.List<SCProductEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static SCProductEntry |
findByPrimaryKey(long productEntryId)
|
static SCProductEntry |
findByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static SCProductEntryPersistence |
getPersistence()
|
static java.util.List<SCLicense> |
getSCLicenses(long pk)
|
static java.util.List<SCLicense> |
getSCLicenses(long pk,
int start,
int end)
|
static java.util.List<SCLicense> |
getSCLicenses(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
getSCLicensesSize(long pk)
|
static SCProductEntry |
remove(long productEntryId)
|
static SCProductEntry |
remove(SCProductEntry scProductEntry)
|
static void |
removeAll()
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeByG_U(long groupId,
long userId)
|
static void |
removeByGroupId(long groupId)
|
static void |
removeByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
|
static void |
removeSCLicense(long pk,
long scLicensePK)
|
static void |
removeSCLicense(long pk,
SCLicense scLicense)
|
static void |
removeSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
|
static void |
removeSCLicenses(long pk,
long[] scLicensePKs)
|
void |
setPersistence(SCProductEntryPersistence persistence)
|
static void |
setSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
|
static void |
setSCLicenses(long pk,
long[] scLicensePKs)
|
static SCProductEntry |
update(SCProductEntry scProductEntry)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static SCProductEntry |
update(SCProductEntry scProductEntry,
boolean merge)
|
static SCProductEntry |
updateImpl(SCProductEntry scProductEntry,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCProductEntryUtil
public SCProductEntryUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(SCProductEntry scProductEntry)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(SCProductEntry)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static 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
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static 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
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static SCProductEntry remove(SCProductEntry scProductEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static SCProductEntry update(SCProductEntry scProductEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(SCProductEntry scProductEntry)
cacheResult
public static void cacheResult(java.util.List<SCProductEntry> scProductEntries)
create
public static SCProductEntry create(long productEntryId)
remove
public static SCProductEntry remove(long productEntryId)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
update
public static SCProductEntry update(SCProductEntry scProductEntry)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
public static SCProductEntry updateImpl(SCProductEntry scProductEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static SCProductEntry findByPrimaryKey(long productEntryId)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
fetchByPrimaryKey
public static SCProductEntry fetchByPrimaryKey(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<SCProductEntry> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<SCProductEntry> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<SCProductEntry> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public static SCProductEntry findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByGroupId_Last
public static SCProductEntry findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByGroupId_PrevAndNext
public static SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByCompanyId
public static java.util.List<SCProductEntry> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<SCProductEntry> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<SCProductEntry> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static SCProductEntry findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByCompanyId_Last
public static SCProductEntry findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByCompanyId_PrevAndNext
public static SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByG_U
public static java.util.List<SCProductEntry> findByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
public static java.util.List<SCProductEntry> findByG_U(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
public static java.util.List<SCProductEntry> findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U_First
public static SCProductEntry findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByG_U_Last
public static SCProductEntry findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByG_U_PrevAndNext
public static SCProductEntry[] findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
findByRG_RA
public static SCProductEntry findByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
fetchByRG_RA
public static SCProductEntry fetchByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByRG_RA
public static SCProductEntry fetchByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<SCProductEntry> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<SCProductEntry> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<SCProductEntry> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
public static void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_U
public static void removeByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByRG_RA
public static void removeByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
throws com.liferay.portal.SystemException,
NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchProductEntryException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_U
public static int countByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByRG_RA
public static int countByRG_RA(java.lang.String repoGroupId,
java.lang.String repoArtifactId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCLicenses
public static java.util.List<SCLicense> getSCLicenses(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCLicenses
public static java.util.List<SCLicense> getSCLicenses(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCLicenses
public static java.util.List<SCLicense> getSCLicenses(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCLicensesSize
public static int getSCLicensesSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCLicense
public static boolean containsSCLicense(long pk,
long scLicensePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCLicenses
public static boolean containsSCLicenses(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCLicense
public static void addSCLicense(long pk,
long scLicensePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCLicense
public static void addSCLicense(long pk,
SCLicense scLicense)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCLicenses
public static void addSCLicenses(long pk,
long[] scLicensePKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCLicenses
public static void addSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearSCLicenses
public static void clearSCLicenses(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCLicense
public static void removeSCLicense(long pk,
long scLicensePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCLicense
public static void removeSCLicense(long pk,
SCLicense scLicense)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCLicenses
public static void removeSCLicenses(long pk,
long[] scLicensePKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeSCLicenses
public static void removeSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setSCLicenses
public static void setSCLicenses(long pk,
long[] scLicensePKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setSCLicenses
public static void setSCLicenses(long pk,
java.util.List<SCLicense> scLicenses)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static SCProductEntryPersistence getPersistence()
setPersistence
public void setPersistence(SCProductEntryPersistence persistence)