|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionUtil
public class SCFrameworkVersionUtil
The persistence utility for the s c framework version service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
SCFrameworkVersionPersistence,
SCFrameworkVersionPersistenceImpl| Constructor Summary | |
|---|---|
SCFrameworkVersionUtil()
|
|
| Method Summary | |
|---|---|
static void |
addSCProductVersion(long pk,
long scProductVersionPK)
Adds an association between the s c framework version and the s c product version. |
static void |
addSCProductVersion(long pk,
SCProductVersion scProductVersion)
Adds an association between the s c framework version and the s c product version. |
static void |
addSCProductVersions(long pk,
List<SCProductVersion> scProductVersions)
Adds an association between the s c framework version and the s c product versions. |
static void |
addSCProductVersions(long pk,
long[] scProductVersionPKs)
Adds an association between the s c framework version and the s c product versions. |
static void |
cacheResult(List<SCFrameworkVersion> scFrameworkVersions)
Caches the s c framework versions in the entity cache if it is enabled. |
static void |
cacheResult(SCFrameworkVersion scFrameworkVersion)
Caches the s c framework version in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(SCFrameworkVersion scFrameworkVersion)
|
static void |
clearSCProductVersions(long pk)
Clears all associations between the s c framework version and its s c product versions. |
static boolean |
containsSCProductVersion(long pk,
long scProductVersionPK)
Determines whether the s c product version is associated with the s c framework version. |
static boolean |
containsSCProductVersions(long pk)
Determines whether the s c framework version has any s c product versions associated with it. |
static int |
countAll()
Counts all the s c framework versions. |
static int |
countByCompanyId(long companyId)
Counts all the s c framework versions where companyId = ?. |
static int |
countByG_A(long groupId,
boolean active)
Counts all the s c framework versions where groupId = ? and active = ?. |
static int |
countByGroupId(long groupId)
Counts all the s c framework versions where groupId = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static SCFrameworkVersion |
create(long frameworkVersionId)
Creates a new s c framework version with the primary key. |
static SCFrameworkVersion |
fetchByPrimaryKey(long frameworkVersionId)
Finds the s c framework version with the primary key or returns null if it could not be found. |
static int |
filterCountByG_A(long groupId,
boolean active)
Filters by the user's permissions and counts all the s c framework versions where groupId = ? and active = ?. |
static int |
filterCountByGroupId(long groupId)
Filters by the user's permissions and counts all the s c framework versions where groupId = ?. |
static List<SCFrameworkVersion> |
filterFindByG_A(long groupId,
boolean active)
Filters by the user's permissions and finds all the s c framework versions where groupId = ? and active = ?. |
static List<SCFrameworkVersion> |
filterFindByG_A(long groupId,
boolean active,
int start,
int end)
Filters by the user's permissions and finds a range of all the s c framework versions where groupId = ? and active = ?. |
static List<SCFrameworkVersion> |
filterFindByG_A(long groupId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the s c framework versions where groupId = ? and active = ?. |
static List<SCFrameworkVersion> |
filterFindByGroupId(long groupId)
Filters by the user's permissions and finds all the s c framework versions where groupId = ?. |
static List<SCFrameworkVersion> |
filterFindByGroupId(long groupId,
int start,
int end)
Filters by the user's permissions and finds a range of all the s c framework versions where groupId = ?. |
static List<SCFrameworkVersion> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the s c framework versions where groupId = ?. |
static List<SCFrameworkVersion> |
findAll()
Finds all the s c framework versions. |
static List<SCFrameworkVersion> |
findAll(int start,
int end)
Finds a range of all the s c framework versions. |
static List<SCFrameworkVersion> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the s c framework versions. |
static SCFrameworkVersion |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first s c framework version in the ordered set where companyId = ?. |
static SCFrameworkVersion |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last s c framework version in the ordered set where companyId = ?. |
static SCFrameworkVersion[] |
findByCompanyId_PrevAndNext(long frameworkVersionId,
long companyId,
OrderByComparator orderByComparator)
Finds the s c framework versions before and after the current s c framework version in the ordered set where companyId = ?. |
static List<SCFrameworkVersion> |
findByCompanyId(long companyId)
Finds all the s c framework versions where companyId = ?. |
static List<SCFrameworkVersion> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the s c framework versions where companyId = ?. |
static List<SCFrameworkVersion> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the s c framework versions where companyId = ?. |
static SCFrameworkVersion |
findByG_A_First(long groupId,
boolean active,
OrderByComparator orderByComparator)
Finds the first s c framework version in the ordered set where groupId = ? and active = ?. |
static SCFrameworkVersion |
findByG_A_Last(long groupId,
boolean active,
OrderByComparator orderByComparator)
Finds the last s c framework version in the ordered set where groupId = ? and active = ?. |
static SCFrameworkVersion[] |
findByG_A_PrevAndNext(long frameworkVersionId,
long groupId,
boolean active,
OrderByComparator orderByComparator)
Finds the s c framework versions before and after the current s c framework version in the ordered set where groupId = ? and active = ?. |
static List<SCFrameworkVersion> |
findByG_A(long groupId,
boolean active)
Finds all the s c framework versions where groupId = ? and active = ?. |
static List<SCFrameworkVersion> |
findByG_A(long groupId,
boolean active,
int start,
int end)
Finds a range of all the s c framework versions where groupId = ? and active = ?. |
static List<SCFrameworkVersion> |
findByG_A(long groupId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the s c framework versions where groupId = ? and active = ?. |
static SCFrameworkVersion |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first s c framework version in the ordered set where groupId = ?. |
static SCFrameworkVersion |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last s c framework version in the ordered set where groupId = ?. |
static SCFrameworkVersion[] |
findByGroupId_PrevAndNext(long frameworkVersionId,
long groupId,
OrderByComparator orderByComparator)
Finds the s c framework versions before and after the current s c framework version in the ordered set where groupId = ?. |
static List<SCFrameworkVersion> |
findByGroupId(long groupId)
Finds all the s c framework versions where groupId = ?. |
static List<SCFrameworkVersion> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the s c framework versions where groupId = ?. |
static List<SCFrameworkVersion> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the s c framework versions where groupId = ?. |
static SCFrameworkVersion |
findByPrimaryKey(long frameworkVersionId)
Finds the s c framework version with the primary key or throws a NoSuchFrameworkVersionException if it could not be found. |
static List<SCFrameworkVersion> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<SCFrameworkVersion> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<SCFrameworkVersion> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static SCFrameworkVersionPersistence |
getPersistence()
|
static List<SCProductVersion> |
getSCProductVersions(long pk)
Gets all the s c product versions associated with the s c framework version. |
static List<SCProductVersion> |
getSCProductVersions(long pk,
int start,
int end)
Gets a range of all the s c product versions associated with the s c framework version. |
static List<SCProductVersion> |
getSCProductVersions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the s c product versions associated with the s c framework version. |
static int |
getSCProductVersionsSize(long pk)
Gets the number of s c product versions associated with the s c framework version. |
static SCFrameworkVersion |
remove(long frameworkVersionId)
Removes the s c framework version with the primary key from the database. |
static SCFrameworkVersion |
remove(SCFrameworkVersion scFrameworkVersion)
|
static void |
removeAll()
Removes all the s c framework versions from the database. |
static void |
removeByCompanyId(long companyId)
Removes all the s c framework versions where companyId = ? from the database. |
static void |
removeByG_A(long groupId,
boolean active)
Removes all the s c framework versions where groupId = ? and active = ? from the database. |
static void |
removeByGroupId(long groupId)
Removes all the s c framework versions where groupId = ? from the database. |
static void |
removeSCProductVersion(long pk,
long scProductVersionPK)
Removes the association between the s c framework version and the s c product version. |
static void |
removeSCProductVersion(long pk,
SCProductVersion scProductVersion)
Removes the association between the s c framework version and the s c product version. |
static void |
removeSCProductVersions(long pk,
List<SCProductVersion> scProductVersions)
Removes the association between the s c framework version and the s c product versions. |
static void |
removeSCProductVersions(long pk,
long[] scProductVersionPKs)
Removes the association between the s c framework version and the s c product versions. |
void |
setPersistence(SCFrameworkVersionPersistence persistence)
|
static void |
setSCProductVersions(long pk,
List<SCProductVersion> scProductVersions)
Sets the s c product versions associated with the s c framework version, removing and adding associations as necessary. |
static void |
setSCProductVersions(long pk,
long[] scProductVersionPKs)
Sets the s c product versions associated with the s c framework version, removing and adding associations as necessary. |
static SCFrameworkVersion |
update(SCFrameworkVersion scFrameworkVersion,
boolean merge)
|
static SCFrameworkVersion |
update(SCFrameworkVersion scFrameworkVersion,
boolean merge,
ServiceContext serviceContext)
|
static SCFrameworkVersion |
updateImpl(SCFrameworkVersion scFrameworkVersion,
boolean merge)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SCFrameworkVersionUtil()
| Method Detail |
|---|
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(SCFrameworkVersion scFrameworkVersion)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<SCFrameworkVersion> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<SCFrameworkVersion> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<SCFrameworkVersion> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SCFrameworkVersion remove(SCFrameworkVersion scFrameworkVersion)
throws SystemException
SystemExceptionBasePersistence.remove(com.liferay.portal.model.BaseModel)
public static SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion,
boolean merge)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion,
boolean merge,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)public static void cacheResult(SCFrameworkVersion scFrameworkVersion)
scFrameworkVersion - the s c framework version to cachepublic static void cacheResult(List<SCFrameworkVersion> scFrameworkVersions)
scFrameworkVersions - the s c framework versions to cachepublic static SCFrameworkVersion create(long frameworkVersionId)
frameworkVersionId - the primary key for the new s c framework version
public static SCFrameworkVersion remove(long frameworkVersionId)
throws SystemException,
NoSuchFrameworkVersionException
frameworkVersionId - the primary key of the s c framework version to remove
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
public static SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion,
boolean merge)
throws SystemException
SystemException
public static SCFrameworkVersion findByPrimaryKey(long frameworkVersionId)
throws SystemException,
NoSuchFrameworkVersionException
NoSuchFrameworkVersionException if it could not be found.
frameworkVersionId - the primary key of the s c framework version to find
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
public static SCFrameworkVersion fetchByPrimaryKey(long frameworkVersionId)
throws SystemException
null if it could not be found.
frameworkVersionId - the primary key of the s c framework version to find
null if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> findByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> findByGroupId(long groupId,
int start,
int end)
throws 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.
groupId - the group id to search withstart - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
groupId - the group id to search withstart - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static SCFrameworkVersion findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFrameworkVersionException
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred
public static SCFrameworkVersion findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFrameworkVersionException
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred
public static SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFrameworkVersionException
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.
frameworkVersionId - the primary key of the current s c framework versiongroupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> filterFindByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> filterFindByGroupId(long groupId,
int start,
int end)
throws 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.
groupId - the group id to search withstart - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
groupId - the group id to search withstart - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> findByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> findByCompanyId(long companyId,
int start,
int end)
throws 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.
companyId - the company id to search withstart - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
companyId - the company id to search withstart - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static SCFrameworkVersion findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFrameworkVersionException
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.
companyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred
public static SCFrameworkVersion findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFrameworkVersionException
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.
companyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred
public static SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFrameworkVersionException
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.
frameworkVersionId - the primary key of the current s c framework versioncompanyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> findByG_A(long groupId,
boolean active)
throws SystemException
groupId - the group id to search withactive - the active to search with
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> findByG_A(long groupId,
boolean active,
int start,
int end)
throws 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.
groupId - the group id to search withactive - the active to search withstart - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> findByG_A(long groupId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
groupId - the group id to search withactive - the active to search withstart - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static SCFrameworkVersion findByG_A_First(long groupId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFrameworkVersionException
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.
groupId - the group id to search withactive - the active to search withorderByComparator - the comparator to order the set by
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred
public static SCFrameworkVersion findByG_A_Last(long groupId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFrameworkVersionException
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.
groupId - the group id to search withactive - the active to search withorderByComparator - the comparator to order the set by
NoSuchFrameworkVersionException - if a matching s c framework version could not be found
SystemException - if a system exception occurred
public static SCFrameworkVersion[] findByG_A_PrevAndNext(long frameworkVersionId,
long groupId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFrameworkVersionException
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.
frameworkVersionId - the primary key of the current s c framework versiongroupId - the group id to search withactive - the active to search withorderByComparator - the comparator to order the set by
NoSuchFrameworkVersionException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> filterFindByG_A(long groupId,
boolean active)
throws SystemException
groupId - the group id to search withactive - the active to search with
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> filterFindByG_A(long groupId,
boolean active,
int start,
int end)
throws 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.
groupId - the group id to search withactive - the active to search withstart - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> filterFindByG_A(long groupId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
groupId - the group id to search withactive - the active to search withstart - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> findAll()
throws SystemException
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> findAll(int start,
int end)
throws 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.
start - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)
SystemException - if a system exception occurred
public static List<SCFrameworkVersion> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws 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.
start - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static void removeByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static void removeByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
public static void removeByG_A(long groupId,
boolean active)
throws SystemException
groupId - the group id to search withactive - the active to search with
SystemException - if a system exception occurred
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static int filterCountByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static int countByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
public static int countByG_A(long groupId,
boolean active)
throws SystemException
groupId - the group id to search withactive - the active to search with
SystemException - if a system exception occurred
public static int filterCountByG_A(long groupId,
boolean active)
throws SystemException
groupId - the group id to search withactive - the active to search with
SystemException - if a system exception occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurred
public static List<SCProductVersion> getSCProductVersions(long pk)
throws SystemException
pk - the primary key of the s c framework version to get the associated s c product versions for
SystemException - if a system exception occurred
public static List<SCProductVersion> getSCProductVersions(long pk,
int start,
int end)
throws 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.
pk - the primary key of the s c framework version to get the associated s c product versions forstart - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)
SystemException - if a system exception occurred
public static List<SCProductVersion> getSCProductVersions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
pk - the primary key of the s c framework version to get the associated s c product versions forstart - the lower bound of the range of s c framework versions to returnend - the upper bound of the range of s c framework versions to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static int getSCProductVersionsSize(long pk)
throws SystemException
pk - the primary key of the s c framework version to get the number of associated s c product versions for
SystemException - if a system exception occurred
public static boolean containsSCProductVersion(long pk,
long scProductVersionPK)
throws SystemException
pk - the primary key of the s c framework versionscProductVersionPK - the primary key of the s c product version
SystemException - if a system exception occurred
public static boolean containsSCProductVersions(long pk)
throws SystemException
pk - the primary key of the s c framework version to check for associations with s c product versions
SystemException - if a system exception occurred
public static void addSCProductVersion(long pk,
long scProductVersionPK)
throws SystemException
pk - the primary key of the s c framework versionscProductVersionPK - the primary key of the s c product version
SystemException - if a system exception occurred
public static void addSCProductVersion(long pk,
SCProductVersion scProductVersion)
throws SystemException
pk - the primary key of the s c framework versionscProductVersion - the s c product version
SystemException - if a system exception occurred
public static void addSCProductVersions(long pk,
long[] scProductVersionPKs)
throws SystemException
pk - the primary key of the s c framework versionscProductVersionPKs - the primary keys of the s c product versions
SystemException - if a system exception occurred
public static void addSCProductVersions(long pk,
List<SCProductVersion> scProductVersions)
throws SystemException
pk - the primary key of the s c framework versionscProductVersions - the s c product versions
SystemException - if a system exception occurred
public static void clearSCProductVersions(long pk)
throws SystemException
pk - the primary key of the s c framework version to clear the associated s c product versions from
SystemException - if a system exception occurred
public static void removeSCProductVersion(long pk,
long scProductVersionPK)
throws SystemException
pk - the primary key of the s c framework versionscProductVersionPK - the primary key of the s c product version
SystemException - if a system exception occurred
public static void removeSCProductVersion(long pk,
SCProductVersion scProductVersion)
throws SystemException
pk - the primary key of the s c framework versionscProductVersion - the s c product version
SystemException - if a system exception occurred
public static void removeSCProductVersions(long pk,
long[] scProductVersionPKs)
throws SystemException
pk - the primary key of the s c framework versionscProductVersionPKs - the primary keys of the s c product versions
SystemException - if a system exception occurred
public static void removeSCProductVersions(long pk,
List<SCProductVersion> scProductVersions)
throws SystemException
pk - the primary key of the s c framework versionscProductVersions - the s c product versions
SystemException - if a system exception occurred
public static void setSCProductVersions(long pk,
long[] scProductVersionPKs)
throws SystemException
pk - the primary key of the s c framework version to set the associations forscProductVersionPKs - the primary keys of the s c product versions to be associated with the s c framework version
SystemException - if a system exception occurred
public static void setSCProductVersions(long pk,
List<SCProductVersion> scProductVersions)
throws SystemException
pk - the primary key of the s c framework version to set the associations forscProductVersions - the s c product versions to be associated with the s c framework version
SystemException - if a system exception occurredpublic static SCFrameworkVersionPersistence getPersistence()
public void setPersistence(SCFrameworkVersionPersistence persistence)
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||