|
Liferay 6.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface SCProductEntryLocalServiceProvides the local service interface for SCProductEntry. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
SCProductEntryLocalServiceUtil,
com.liferay.portlet.softwarecatalog.service.base.SCProductEntryLocalServiceBaseImpl,
com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryLocalServiceImpl| Method Summary | |
|---|---|
abstract 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)
|
abstract void |
addProductEntryResources(long productEntryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
abstract void |
addProductEntryResources(long productEntryId,
String[] groupPermissions,
String[] guestPermissions)
|
abstract void |
addProductEntryResources(SCProductEntry productEntry,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
abstract void |
addProductEntryResources(SCProductEntry productEntry,
String[] groupPermissions,
String[] guestPermissions)
|
abstract void |
addSCLicenseSCProductEntries(long licenseId,
List<SCProductEntry> SCProductEntries)
|
abstract void |
addSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
|
abstract void |
addSCLicenseSCProductEntry(long licenseId,
long productEntryId)
|
abstract void |
addSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry)
|
abstract SCProductEntry |
addSCProductEntry(SCProductEntry scProductEntry)
Adds the s c product entry to the database. |
abstract void |
clearSCLicenseSCProductEntries(long licenseId)
|
abstract SCProductEntry |
createSCProductEntry(long productEntryId)
Creates a new s c product entry with the primary key. |
abstract void |
deleteProductEntries(long groupId)
|
abstract SCProductEntry |
deleteProductEntry(long productEntryId)
|
abstract SCProductEntry |
deleteProductEntry(SCProductEntry productEntry)
|
abstract void |
deleteSCLicenseSCProductEntries(long licenseId,
List<SCProductEntry> SCProductEntries)
|
abstract void |
deleteSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
|
abstract void |
deleteSCLicenseSCProductEntry(long licenseId,
long productEntryId)
|
abstract void |
deleteSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry)
|
abstract SCProductEntry |
deleteSCProductEntry(long productEntryId)
Deletes the s c product entry with the primary key from the database. |
abstract SCProductEntry |
deleteSCProductEntry(SCProductEntry scProductEntry)
Deletes the s c product entry from the database. |
abstract DynamicQuery |
dynamicQuery()
|
abstract List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
abstract List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
abstract 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. |
abstract long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
abstract long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
abstract SCProductEntry |
fetchSCProductEntry(long productEntryId)
|
abstract String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
abstract List<SCProductEntry> |
getCompanyProductEntries(long companyId,
int start,
int end)
|
abstract int |
getCompanyProductEntriesCount(long companyId)
|
abstract PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
abstract List<SCProductEntry> |
getProductEntries(long groupId,
int start,
int end)
|
abstract List<SCProductEntry> |
getProductEntries(long groupId,
int start,
int end,
OrderByComparator obc)
|
abstract List<SCProductEntry> |
getProductEntries(long groupId,
long userId,
int start,
int end)
|
abstract List<SCProductEntry> |
getProductEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator obc)
|
abstract int |
getProductEntriesCount(long groupId)
|
abstract int |
getProductEntriesCount(long groupId,
long userId)
|
abstract SCProductEntry |
getProductEntry(long productEntryId)
|
abstract String |
getRepositoryXML(long groupId,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
|
abstract String |
getRepositoryXML(long groupId,
String version,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
|
abstract List<SCProductEntry> |
getSCLicenseSCProductEntries(long licenseId)
|
abstract List<SCProductEntry> |
getSCLicenseSCProductEntries(long licenseId,
int start,
int end)
|
abstract List<SCProductEntry> |
getSCLicenseSCProductEntries(long licenseId,
int start,
int end,
OrderByComparator orderByComparator)
|
abstract int |
getSCLicenseSCProductEntriesCount(long licenseId)
|
abstract List<SCProductEntry> |
getSCProductEntries(int start,
int end)
Returns a range of all the s c product entries. |
abstract int |
getSCProductEntriesCount()
Returns the number of s c product entries. |
abstract SCProductEntry |
getSCProductEntry(long productEntryId)
Returns the s c product entry with the primary key. |
abstract boolean |
hasSCLicenseSCProductEntries(long licenseId)
|
abstract boolean |
hasSCLicenseSCProductEntry(long licenseId,
long productEntryId)
|
abstract void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
abstract void |
setSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
|
abstract 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)
|
abstract SCProductEntry |
updateSCProductEntry(SCProductEntry scProductEntry)
Updates the s c product entry in the database or adds it if it does not yet exist. |
| Method Detail |
|---|
@Indexable(type=REINDEX)
SCProductEntry addSCProductEntry(SCProductEntry scProductEntry)
throws SystemException
scProductEntry - the s c product entry
SystemException - if a system exception occurredSCProductEntry createSCProductEntry(long productEntryId)
productEntryId - the primary key for the new s c product entry
@Indexable(type=DELETE)
SCProductEntry deleteSCProductEntry(long productEntryId)
throws PortalException,
SystemException
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 occurred
@Indexable(type=DELETE)
SCProductEntry deleteSCProductEntry(SCProductEntry scProductEntry)
throws SystemException
scProductEntry - the s c product entry
SystemException - if a system exception occurredDynamicQuery dynamicQuery()
List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery - the dynamic query
SystemException - if a system exception occurred
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 - 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 occurred
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 - 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 occurred
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery - the dynamic query
SystemException - if a system exception occurred
long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
throws SystemException
dynamicQuery - the dynamic queryprojection - the projection to apply to the query
SystemException - if a system exception occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry fetchSCProductEntry(long productEntryId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry getSCProductEntry(long productEntryId)
throws PortalException,
SystemException
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 occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicePortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
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.
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 occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getSCProductEntriesCount()
throws SystemException
SystemException - if a system exception occurred
@Indexable(type=REINDEX)
SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry)
throws SystemException
scProductEntry - the s c product entry
SystemException - if a system exception occurred
void addSCLicenseSCProductEntry(long licenseId,
long productEntryId)
throws SystemException
SystemException - if a system exception occurred
void addSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry)
throws SystemException
SystemException - if a system exception occurred
void addSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
throws SystemException
SystemException - if a system exception occurred
void addSCLicenseSCProductEntries(long licenseId,
List<SCProductEntry> SCProductEntries)
throws SystemException
SystemException - if a system exception occurred
void clearSCLicenseSCProductEntries(long licenseId)
throws SystemException
SystemException - if a system exception occurred
void deleteSCLicenseSCProductEntry(long licenseId,
long productEntryId)
throws SystemException
SystemException - if a system exception occurred
void deleteSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry)
throws SystemException
SystemException - if a system exception occurred
void deleteSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
throws SystemException
SystemException - if a system exception occurred
void deleteSCLicenseSCProductEntries(long licenseId,
List<SCProductEntry> SCProductEntries)
throws SystemException
SystemException - if a system exception occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId)
throws SystemException
SystemException - if a system exception occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId,
int start,
int end)
throws SystemException
SystemException - if a system exception occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemException - if a system exception occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getSCLicenseSCProductEntriesCount(long licenseId)
throws SystemException
SystemException - if a system exception occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasSCLicenseSCProductEntry(long licenseId,
long productEntryId)
throws SystemException
SystemException - if a system exception occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasSCLicenseSCProductEntries(long licenseId)
throws SystemException
SystemException - if a system exception occurred
void setSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
throws SystemException
SystemException - if a system exception occurredString getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier - the Spring bean ID for this bean
@Indexable(type=REINDEX)
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
PortalException
SystemException
void addProductEntryResources(long productEntryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
void addProductEntryResources(long productEntryId,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
void addProductEntryResources(SCProductEntry productEntry,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
void addProductEntryResources(SCProductEntry productEntry,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
void deleteProductEntries(long groupId)
throws PortalException,
SystemException
PortalException
SystemException
@Indexable(type=DELETE)
SCProductEntry deleteProductEntry(long productEntryId)
throws PortalException,
SystemException
PortalException
SystemException
@Indexable(type=DELETE)
SCProductEntry deleteProductEntry(SCProductEntry productEntry)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getCompanyProductEntries(long companyId,
int start,
int end)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCompanyProductEntriesCount(long companyId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getProductEntries(long groupId,
int start,
int end)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getProductEntries(long groupId,
int start,
int end,
OrderByComparator obc)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getProductEntries(long groupId,
long userId,
int start,
int end)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getProductEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator obc)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getProductEntriesCount(long groupId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getProductEntriesCount(long groupId,
long userId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry getProductEntry(long productEntryId)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
String getRepositoryXML(long groupId,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
String getRepositoryXML(long groupId,
String version,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
throws SystemException
SystemException
@Indexable(type=REINDEX)
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
PortalException
SystemException
|
Liferay 6.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||