|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalServiceWrapper
@ProviderType public class SCProductEntryLocalServiceWrapper
Provides a wrapper for SCProductEntryLocalService
.
SCProductEntryLocalService
Constructor Summary | |
---|---|
SCProductEntryLocalServiceWrapper(SCProductEntryLocalService scProductEntryLocalService)
|
Method Summary | |
---|---|
SCProductEntry |
addProductEntry(long userId,
String name,
String type,
String tags,
String shortDescription,
String longDescription,
String pageURL,
String author,
String repoGroupId,
String repoArtifactId,
long[] licenseIds,
List<byte[]> thumbnails,
List<byte[]> fullImages,
ServiceContext serviceContext)
|
void |
addProductEntryResources(long productEntryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addProductEntryResources(long productEntryId,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addProductEntryResources(SCProductEntry productEntry,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addProductEntryResources(SCProductEntry productEntry,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addSCLicenseSCProductEntries(long licenseId,
List<SCProductEntry> SCProductEntries)
|
void |
addSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
|
void |
addSCLicenseSCProductEntry(long licenseId,
long productEntryId)
|
void |
addSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry)
|
SCProductEntry |
addSCProductEntry(SCProductEntry scProductEntry)
Adds the s c product entry to the database. |
void |
clearSCLicenseSCProductEntries(long licenseId)
|
SCProductEntry |
createSCProductEntry(long productEntryId)
Creates a new s c product entry with the primary key. |
void |
deleteProductEntries(long groupId)
|
SCProductEntry |
deleteProductEntry(long productEntryId)
|
SCProductEntry |
deleteProductEntry(SCProductEntry productEntry)
|
void |
deleteSCLicenseSCProductEntries(long licenseId,
List<SCProductEntry> SCProductEntries)
|
void |
deleteSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
|
void |
deleteSCLicenseSCProductEntry(long licenseId,
long productEntryId)
|
void |
deleteSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry)
|
SCProductEntry |
deleteSCProductEntry(long productEntryId)
Deletes the s c product entry with the primary key from the database. |
SCProductEntry |
deleteSCProductEntry(SCProductEntry scProductEntry)
Deletes the s c product entry from the database. |
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator 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 that match the dynamic query. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
SCProductEntry |
fetchSCProductEntry(long productEntryId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<SCProductEntry> |
getCompanyProductEntries(long companyId,
int start,
int end)
|
int |
getCompanyProductEntriesCount(long companyId)
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
List<SCProductEntry> |
getProductEntries(long groupId,
int start,
int end)
|
List<SCProductEntry> |
getProductEntries(long groupId,
int start,
int end,
OrderByComparator obc)
|
List<SCProductEntry> |
getProductEntries(long groupId,
long userId,
int start,
int end)
|
List<SCProductEntry> |
getProductEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator obc)
|
int |
getProductEntriesCount(long groupId)
|
int |
getProductEntriesCount(long groupId,
long userId)
|
SCProductEntry |
getProductEntry(long productEntryId)
|
String |
getRepositoryXML(long groupId,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
|
String |
getRepositoryXML(long groupId,
String version,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
|
List<SCProductEntry> |
getSCLicenseSCProductEntries(long licenseId)
|
List<SCProductEntry> |
getSCLicenseSCProductEntries(long licenseId,
int start,
int end)
|
List<SCProductEntry> |
getSCLicenseSCProductEntries(long licenseId,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getSCLicenseSCProductEntriesCount(long licenseId)
|
List<SCProductEntry> |
getSCProductEntries(int start,
int end)
Returns a range of all the s c product entries. |
int |
getSCProductEntriesCount()
Returns the number of s c product entries. |
SCProductEntry |
getSCProductEntry(long productEntryId)
Returns the s c product entry with the primary key. |
SCProductEntryLocalService |
getWrappedSCProductEntryLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService() |
SCProductEntryLocalService |
getWrappedService()
|
boolean |
hasSCLicenseSCProductEntries(long licenseId)
|
boolean |
hasSCLicenseSCProductEntry(long licenseId,
long productEntryId)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
|
void |
setWrappedSCProductEntryLocalService(SCProductEntryLocalService scProductEntryLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService) |
void |
setWrappedService(SCProductEntryLocalService scProductEntryLocalService)
|
SCProductEntry |
updateProductEntry(long productEntryId,
String name,
String type,
String tags,
String shortDescription,
String longDescription,
String pageURL,
String author,
String repoGroupId,
String repoArtifactId,
long[] licenseIds,
List<byte[]> thumbnails,
List<byte[]> fullImages)
|
SCProductEntry |
updateSCProductEntry(SCProductEntry scProductEntry)
Updates the s c product entry in the database or adds it if it does not yet exist. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SCProductEntryLocalServiceWrapper(SCProductEntryLocalService scProductEntryLocalService)
Method Detail |
---|
public SCProductEntry addSCProductEntry(SCProductEntry scProductEntry) throws SystemException
addSCProductEntry
in interface SCProductEntryLocalService
scProductEntry
- the s c product entry
SystemException
- if a system exception occurredpublic SCProductEntry createSCProductEntry(long productEntryId)
createSCProductEntry
in interface SCProductEntryLocalService
productEntryId
- the primary key for the new s c product entry
public SCProductEntry deleteSCProductEntry(long productEntryId) throws PortalException, SystemException
deleteSCProductEntry
in interface SCProductEntryLocalService
productEntryId
- the primary key of the s c product entry
PortalException
- if a s c product entry with the primary key could not be found
SystemException
- if a system exception occurredpublic SCProductEntry deleteSCProductEntry(SCProductEntry scProductEntry) throws SystemException
deleteSCProductEntry
in interface SCProductEntryLocalService
scProductEntry
- the s c product entry
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface SCProductEntryLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface SCProductEntryLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, 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. 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 SCProductEntryModelImpl
. 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 SCProductEntryLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, 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. 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 SCProductEntryModelImpl
. 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 SCProductEntryLocalService
dynamicQuery
- 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
)
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface SCProductEntryLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface SCProductEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic SCProductEntry fetchSCProductEntry(long productEntryId) throws SystemException
fetchSCProductEntry
in interface SCProductEntryLocalService
SystemException
public SCProductEntry getSCProductEntry(long productEntryId) throws PortalException, SystemException
getSCProductEntry
in interface SCProductEntryLocalService
productEntryId
- the primary key of the s c product entry
PortalException
- if a s c product entry with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface SCProductEntryLocalService
PortalException
SystemException
public List<SCProductEntry> getSCProductEntries(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. 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 SCProductEntryModelImpl
. 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.
getSCProductEntries
in interface SCProductEntryLocalService
start
- the lower bound of the range of s c product entriesend
- the upper bound of the range of s c product entries (not inclusive)
SystemException
- if a system exception occurredpublic int getSCProductEntriesCount() throws SystemException
getSCProductEntriesCount
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry) throws SystemException
updateSCProductEntry
in interface SCProductEntryLocalService
scProductEntry
- the s c product entry
SystemException
- if a system exception occurredpublic void addSCLicenseSCProductEntry(long licenseId, long productEntryId) throws SystemException
addSCLicenseSCProductEntry
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic void addSCLicenseSCProductEntry(long licenseId, SCProductEntry scProductEntry) throws SystemException
addSCLicenseSCProductEntry
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic void addSCLicenseSCProductEntries(long licenseId, long[] productEntryIds) throws SystemException
addSCLicenseSCProductEntries
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic void addSCLicenseSCProductEntries(long licenseId, List<SCProductEntry> SCProductEntries) throws SystemException
addSCLicenseSCProductEntries
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic void clearSCLicenseSCProductEntries(long licenseId) throws SystemException
clearSCLicenseSCProductEntries
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic void deleteSCLicenseSCProductEntry(long licenseId, long productEntryId) throws SystemException
deleteSCLicenseSCProductEntry
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic void deleteSCLicenseSCProductEntry(long licenseId, SCProductEntry scProductEntry) throws SystemException
deleteSCLicenseSCProductEntry
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic void deleteSCLicenseSCProductEntries(long licenseId, long[] productEntryIds) throws SystemException
deleteSCLicenseSCProductEntries
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic void deleteSCLicenseSCProductEntries(long licenseId, List<SCProductEntry> SCProductEntries) throws SystemException
deleteSCLicenseSCProductEntries
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId) throws SystemException
getSCLicenseSCProductEntries
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId, int start, int end) throws SystemException
getSCLicenseSCProductEntries
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId, int start, int end, OrderByComparator orderByComparator) throws SystemException
getSCLicenseSCProductEntries
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic int getSCLicenseSCProductEntriesCount(long licenseId) throws SystemException
getSCLicenseSCProductEntriesCount
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic boolean hasSCLicenseSCProductEntry(long licenseId, long productEntryId) throws SystemException
hasSCLicenseSCProductEntry
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic boolean hasSCLicenseSCProductEntries(long licenseId) throws SystemException
hasSCLicenseSCProductEntries
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic void setSCLicenseSCProductEntries(long licenseId, long[] productEntryIds) throws SystemException
setSCLicenseSCProductEntries
in interface SCProductEntryLocalService
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface SCProductEntryLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface SCProductEntryLocalService
beanIdentifier
- the Spring bean ID for this beanpublic SCProductEntry addProductEntry(long userId, String name, String type, String tags, String shortDescription, String longDescription, String pageURL, String author, String repoGroupId, String repoArtifactId, long[] licenseIds, List<byte[]> thumbnails, List<byte[]> fullImages, ServiceContext serviceContext) throws PortalException, SystemException
addProductEntry
in interface SCProductEntryLocalService
PortalException
SystemException
public void addProductEntryResources(long productEntryId, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addProductEntryResources
in interface SCProductEntryLocalService
PortalException
SystemException
public void addProductEntryResources(long productEntryId, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
addProductEntryResources
in interface SCProductEntryLocalService
PortalException
SystemException
public void addProductEntryResources(SCProductEntry productEntry, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addProductEntryResources
in interface SCProductEntryLocalService
PortalException
SystemException
public void addProductEntryResources(SCProductEntry productEntry, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
addProductEntryResources
in interface SCProductEntryLocalService
PortalException
SystemException
public void deleteProductEntries(long groupId) throws PortalException, SystemException
deleteProductEntries
in interface SCProductEntryLocalService
PortalException
SystemException
public SCProductEntry deleteProductEntry(long productEntryId) throws PortalException, SystemException
deleteProductEntry
in interface SCProductEntryLocalService
PortalException
SystemException
public SCProductEntry deleteProductEntry(SCProductEntry productEntry) throws PortalException, SystemException
deleteProductEntry
in interface SCProductEntryLocalService
PortalException
SystemException
public List<SCProductEntry> getCompanyProductEntries(long companyId, int start, int end) throws SystemException
getCompanyProductEntries
in interface SCProductEntryLocalService
SystemException
public int getCompanyProductEntriesCount(long companyId) throws SystemException
getCompanyProductEntriesCount
in interface SCProductEntryLocalService
SystemException
public List<SCProductEntry> getProductEntries(long groupId, int start, int end) throws SystemException
getProductEntries
in interface SCProductEntryLocalService
SystemException
public List<SCProductEntry> getProductEntries(long groupId, int start, int end, OrderByComparator obc) throws SystemException
getProductEntries
in interface SCProductEntryLocalService
SystemException
public List<SCProductEntry> getProductEntries(long groupId, long userId, int start, int end) throws SystemException
getProductEntries
in interface SCProductEntryLocalService
SystemException
public List<SCProductEntry> getProductEntries(long groupId, long userId, int start, int end, OrderByComparator obc) throws SystemException
getProductEntries
in interface SCProductEntryLocalService
SystemException
public int getProductEntriesCount(long groupId) throws SystemException
getProductEntriesCount
in interface SCProductEntryLocalService
SystemException
public int getProductEntriesCount(long groupId, long userId) throws SystemException
getProductEntriesCount
in interface SCProductEntryLocalService
SystemException
public SCProductEntry getProductEntry(long productEntryId) throws PortalException, SystemException
getProductEntry
in interface SCProductEntryLocalService
PortalException
SystemException
public String getRepositoryXML(long groupId, String baseImageURL, Date oldestDate, int maxNumOfVersions, Properties repoSettings) throws SystemException
getRepositoryXML
in interface SCProductEntryLocalService
SystemException
public String getRepositoryXML(long groupId, String version, String baseImageURL, Date oldestDate, int maxNumOfVersions, Properties repoSettings) throws SystemException
getRepositoryXML
in interface SCProductEntryLocalService
SystemException
public SCProductEntry updateProductEntry(long productEntryId, String name, String type, String tags, String shortDescription, String longDescription, String pageURL, String author, String repoGroupId, String repoArtifactId, long[] licenseIds, List<byte[]> thumbnails, List<byte[]> fullImages) throws PortalException, SystemException
updateProductEntry
in interface SCProductEntryLocalService
PortalException
SystemException
public SCProductEntryLocalService getWrappedSCProductEntryLocalService()
getWrappedService()
public void setWrappedSCProductEntryLocalService(SCProductEntryLocalService scProductEntryLocalService)
setWrappedService(com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService)
public SCProductEntryLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<SCProductEntryLocalService>
public void setWrappedService(SCProductEntryLocalService scProductEntryLocalService)
setWrappedService
in interface ServiceWrapper<SCProductEntryLocalService>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |