@ProviderType public class SCProductVersionLocalServiceWrapper extends java.lang.Object implements SCProductVersionLocalService, ServiceWrapper<SCProductVersionLocalService>
SCProductVersionLocalService.SCProductVersionLocalService| Constructor and Description |
|---|
SCProductVersionLocalServiceWrapper(SCProductVersionLocalService scProductVersionLocalService) |
| Modifier and Type | Method and Description |
|---|---|
SCProductVersion |
addProductVersion(long userId,
long productEntryId,
java.lang.String version,
java.lang.String changeLog,
java.lang.String downloadPageURL,
java.lang.String directDownloadURL,
boolean testDirectDownloadURL,
boolean repoStoreArtifact,
long[] frameworkVersionIds,
ServiceContext serviceContext) |
void |
addSCFrameworkVersionSCProductVersion(long frameworkVersionId,
long productVersionId) |
void |
addSCFrameworkVersionSCProductVersion(long frameworkVersionId,
SCProductVersion scProductVersion) |
void |
addSCFrameworkVersionSCProductVersions(long frameworkVersionId,
java.util.List<SCProductVersion> SCProductVersions) |
void |
addSCFrameworkVersionSCProductVersions(long frameworkVersionId,
long[] productVersionIds) |
SCProductVersion |
addSCProductVersion(SCProductVersion scProductVersion)
Adds the s c product version to the database.
|
void |
clearSCFrameworkVersionSCProductVersions(long frameworkVersionId) |
SCProductVersion |
createSCProductVersion(long productVersionId)
Creates a new s c product version with the primary key.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
void |
deleteProductVersion(long productVersionId) |
void |
deleteProductVersion(SCProductVersion productVersion) |
void |
deleteProductVersions(long productEntryId) |
void |
deleteSCFrameworkVersionSCProductVersion(long frameworkVersionId,
long productVersionId) |
void |
deleteSCFrameworkVersionSCProductVersion(long frameworkVersionId,
SCProductVersion scProductVersion) |
void |
deleteSCFrameworkVersionSCProductVersions(long frameworkVersionId,
java.util.List<SCProductVersion> SCProductVersions) |
void |
deleteSCFrameworkVersionSCProductVersions(long frameworkVersionId,
long[] productVersionIds) |
SCProductVersion |
deleteSCProductVersion(long productVersionId)
Deletes the s c product version with the primary key from the database.
|
SCProductVersion |
deleteSCProductVersion(SCProductVersion scProductVersion)
Deletes the s c product version from the database.
|
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
SCProductVersion |
fetchSCProductVersion(long productVersionId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
SCProductVersion |
getProductVersion(long productVersionId) |
SCProductVersion |
getProductVersionByDirectDownloadURL(java.lang.String directDownloadURL) |
java.util.List<SCProductVersion> |
getProductVersions(long productEntryId,
int start,
int end) |
int |
getProductVersionsCount(long productEntryId) |
long[] |
getSCFrameworkVersionPrimaryKeys(long productVersionId)
Returns the frameworkVersionIds of the s c framework versions associated with the s c product version.
|
java.util.List<SCProductVersion> |
getSCFrameworkVersionSCProductVersions(long frameworkVersionId) |
java.util.List<SCProductVersion> |
getSCFrameworkVersionSCProductVersions(long frameworkVersionId,
int start,
int end) |
java.util.List<SCProductVersion> |
getSCFrameworkVersionSCProductVersions(long frameworkVersionId,
int start,
int end,
OrderByComparator<SCProductVersion> orderByComparator) |
int |
getSCFrameworkVersionSCProductVersionsCount(long frameworkVersionId) |
SCProductVersion |
getSCProductVersion(long productVersionId)
Returns the s c product version with the primary key.
|
java.util.List<SCProductVersion> |
getSCProductVersions(int start,
int end)
Returns a range of all the s c product versions.
|
int |
getSCProductVersionsCount()
Returns the number of s c product versions.
|
SCProductVersionLocalService |
getWrappedSCProductVersionLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
SCProductVersionLocalService |
getWrappedService() |
boolean |
hasSCFrameworkVersionSCProductVersion(long frameworkVersionId,
long productVersionId) |
boolean |
hasSCFrameworkVersionSCProductVersions(long frameworkVersionId) |
void |
setSCFrameworkVersionSCProductVersions(long frameworkVersionId,
long[] productVersionIds) |
void |
setWrappedSCProductVersionLocalService(SCProductVersionLocalService scProductVersionLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService) |
void |
setWrappedService(SCProductVersionLocalService scProductVersionLocalService) |
SCProductVersion |
updateProductVersion(long productVersionId,
java.lang.String version,
java.lang.String changeLog,
java.lang.String downloadPageURL,
java.lang.String directDownloadURL,
boolean testDirectDownloadURL,
boolean repoStoreArtifact,
long[] frameworkVersionIds) |
SCProductVersion |
updateSCProductVersion(SCProductVersion scProductVersion)
Updates the s c product version in the database or adds it if it does not yet exist.
|
public SCProductVersionLocalServiceWrapper(SCProductVersionLocalService scProductVersionLocalService)
public SCProductVersion addProductVersion(long userId, long productEntryId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean testDirectDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds, ServiceContext serviceContext) throws PortalException
addProductVersion in interface SCProductVersionLocalServicePortalExceptionpublic void addSCFrameworkVersionSCProductVersion(long frameworkVersionId,
long productVersionId)
addSCFrameworkVersionSCProductVersion in interface SCProductVersionLocalServicepublic void addSCFrameworkVersionSCProductVersion(long frameworkVersionId,
SCProductVersion scProductVersion)
addSCFrameworkVersionSCProductVersion in interface SCProductVersionLocalServicepublic void addSCFrameworkVersionSCProductVersions(long frameworkVersionId,
java.util.List<SCProductVersion> SCProductVersions)
addSCFrameworkVersionSCProductVersions in interface SCProductVersionLocalServicepublic void addSCFrameworkVersionSCProductVersions(long frameworkVersionId,
long[] productVersionIds)
addSCFrameworkVersionSCProductVersions in interface SCProductVersionLocalServicepublic SCProductVersion addSCProductVersion(SCProductVersion scProductVersion)
addSCProductVersion in interface SCProductVersionLocalServicescProductVersion - the s c product versionpublic void clearSCFrameworkVersionSCProductVersions(long frameworkVersionId)
clearSCFrameworkVersionSCProductVersions in interface SCProductVersionLocalServicepublic SCProductVersion createSCProductVersion(long productVersionId)
createSCProductVersion in interface SCProductVersionLocalServiceproductVersionId - the primary key for the new s c product versionpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface SCProductVersionLocalServicePortalExceptionpublic void deleteProductVersion(SCProductVersion productVersion)
deleteProductVersion in interface SCProductVersionLocalServicepublic void deleteProductVersion(long productVersionId)
throws PortalException
deleteProductVersion in interface SCProductVersionLocalServicePortalExceptionpublic void deleteProductVersions(long productEntryId)
deleteProductVersions in interface SCProductVersionLocalServicepublic void deleteSCFrameworkVersionSCProductVersion(long frameworkVersionId,
long productVersionId)
deleteSCFrameworkVersionSCProductVersion in interface SCProductVersionLocalServicepublic void deleteSCFrameworkVersionSCProductVersion(long frameworkVersionId,
SCProductVersion scProductVersion)
deleteSCFrameworkVersionSCProductVersion in interface SCProductVersionLocalServicepublic void deleteSCFrameworkVersionSCProductVersions(long frameworkVersionId,
java.util.List<SCProductVersion> SCProductVersions)
deleteSCFrameworkVersionSCProductVersions in interface SCProductVersionLocalServicepublic void deleteSCFrameworkVersionSCProductVersions(long frameworkVersionId,
long[] productVersionIds)
deleteSCFrameworkVersionSCProductVersions in interface SCProductVersionLocalServicepublic SCProductVersion deleteSCProductVersion(long productVersionId) throws PortalException
deleteSCProductVersion in interface SCProductVersionLocalServiceproductVersionId - the primary key of the s c product versionPortalException - if a s c product version with the primary key could not be foundpublic SCProductVersion deleteSCProductVersion(SCProductVersion scProductVersion)
deleteSCProductVersion in interface SCProductVersionLocalServicescProductVersion - the s c product versionpublic DynamicQuery dynamicQuery()
dynamicQuery in interface SCProductVersionLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface SCProductVersionLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface SCProductVersionLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface SCProductVersionLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface SCProductVersionLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface SCProductVersionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic SCProductVersion fetchSCProductVersion(long productVersionId)
fetchSCProductVersion in interface SCProductVersionLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface SCProductVersionLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface SCProductVersionLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface SCProductVersionLocalServicePortalExceptionpublic SCProductVersion getProductVersion(long productVersionId) throws PortalException
getProductVersion in interface SCProductVersionLocalServicePortalExceptionpublic SCProductVersion getProductVersionByDirectDownloadURL(java.lang.String directDownloadURL) throws PortalException
getProductVersionByDirectDownloadURL in interface SCProductVersionLocalServicePortalExceptionpublic java.util.List<SCProductVersion> getProductVersions(long productEntryId, int start, int end)
getProductVersions in interface SCProductVersionLocalServicepublic int getProductVersionsCount(long productEntryId)
getProductVersionsCount in interface SCProductVersionLocalServicepublic long[] getSCFrameworkVersionPrimaryKeys(long productVersionId)
getSCFrameworkVersionPrimaryKeys in interface SCProductVersionLocalServiceproductVersionId - the productVersionId of the s c product versionpublic java.util.List<SCProductVersion> getSCFrameworkVersionSCProductVersions(long frameworkVersionId)
getSCFrameworkVersionSCProductVersions in interface SCProductVersionLocalServicepublic java.util.List<SCProductVersion> getSCFrameworkVersionSCProductVersions(long frameworkVersionId, int start, int end)
getSCFrameworkVersionSCProductVersions in interface SCProductVersionLocalServicepublic java.util.List<SCProductVersion> getSCFrameworkVersionSCProductVersions(long frameworkVersionId, int start, int end, OrderByComparator<SCProductVersion> orderByComparator)
getSCFrameworkVersionSCProductVersions in interface SCProductVersionLocalServicepublic int getSCFrameworkVersionSCProductVersionsCount(long frameworkVersionId)
getSCFrameworkVersionSCProductVersionsCount in interface SCProductVersionLocalServicepublic SCProductVersion getSCProductVersion(long productVersionId) throws PortalException
getSCProductVersion in interface SCProductVersionLocalServiceproductVersionId - the primary key of the s c product versionPortalException - if a s c product version with the primary key could not be foundpublic java.util.List<SCProductVersion> getSCProductVersions(int start, int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.softwarecatalog.model.impl.SCProductVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getSCProductVersions in interface SCProductVersionLocalServicestart - the lower bound of the range of s c product versionsend - the upper bound of the range of s c product versions (not inclusive)public int getSCProductVersionsCount()
getSCProductVersionsCount in interface SCProductVersionLocalServicepublic boolean hasSCFrameworkVersionSCProductVersion(long frameworkVersionId,
long productVersionId)
hasSCFrameworkVersionSCProductVersion in interface SCProductVersionLocalServicepublic boolean hasSCFrameworkVersionSCProductVersions(long frameworkVersionId)
hasSCFrameworkVersionSCProductVersions in interface SCProductVersionLocalServicepublic void setSCFrameworkVersionSCProductVersions(long frameworkVersionId,
long[] productVersionIds)
setSCFrameworkVersionSCProductVersions in interface SCProductVersionLocalServicepublic SCProductVersion updateProductVersion(long productVersionId, java.lang.String version, java.lang.String changeLog, java.lang.String downloadPageURL, java.lang.String directDownloadURL, boolean testDirectDownloadURL, boolean repoStoreArtifact, long[] frameworkVersionIds) throws PortalException
updateProductVersion in interface SCProductVersionLocalServicePortalExceptionpublic SCProductVersion updateSCProductVersion(SCProductVersion scProductVersion)
updateSCProductVersion in interface SCProductVersionLocalServicescProductVersion - the s c product version@Deprecated public SCProductVersionLocalService getWrappedSCProductVersionLocalService()
getWrappedService()@Deprecated public void setWrappedSCProductVersionLocalService(SCProductVersionLocalService scProductVersionLocalService)
setWrappedService(com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService)public SCProductVersionLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<SCProductVersionLocalService>public void setWrappedService(SCProductVersionLocalService scProductVersionLocalService)
setWrappedService in interface ServiceWrapper<SCProductVersionLocalService>