|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface SCProductEntryLocalService
The interface for the s c product entry local service.
Never modify or reference this interface directly. Always use SCProductEntryLocalServiceUtil
to access the s c product entry local service. Add custom service methods to SCProductEntryLocalServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
This is a local service. 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
,
SCProductEntryLocalServiceBaseImpl
,
SCProductEntryLocalServiceImpl
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 addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addProductEntryResources(long productEntryId,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addProductEntryResources(SCProductEntry productEntry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addProductEntryResources(SCProductEntry productEntry,
String[] communityPermissions,
String[] guestPermissions)
|
SCProductEntry |
addSCProductEntry(SCProductEntry scProductEntry)
Adds the s c product entry to the database. |
SCProductEntry |
createSCProductEntry(long productEntryId)
Creates a new s c product entry with the primary key. |
void |
deleteProductEntries(long groupId)
|
void |
deleteProductEntry(long productEntryId)
|
void |
deleteProductEntry(SCProductEntry productEntry)
|
void |
deleteSCProductEntry(long productEntryId)
Deletes the s c product entry with the primary key from the database. |
void |
deleteSCProductEntry(SCProductEntry scProductEntry)
Deletes the s c product entry from the database. |
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)
Counts the number of rows that match the dynamic query. |
List<SCProductEntry> |
getCompanyProductEntries(long companyId,
int start,
int end)
|
int |
getCompanyProductEntriesCount(long companyId)
|
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> |
getSCProductEntries(int start,
int end)
Gets a range of all the s c product entries. |
int |
getSCProductEntriesCount()
Gets the number of s c product entries. |
SCProductEntry |
getSCProductEntry(long productEntryId)
Gets the s c product entry with the primary key. |
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. |
SCProductEntry |
updateSCProductEntry(SCProductEntry scProductEntry,
boolean merge)
Updates the s c product entry in the database. |
Method Detail |
---|
SCProductEntry addSCProductEntry(SCProductEntry scProductEntry) throws SystemException
scProductEntry
- the s c product entry to add
SystemException
- if a system exception occurredSCProductEntry createSCProductEntry(long productEntryId)
productEntryId
- the primary key for the new s c product entry
void deleteSCProductEntry(long productEntryId) throws PortalException, SystemException
productEntryId
- the primary key of the s c product entry to delete
PortalException
- if a s c product entry with the primary key could not be found
SystemException
- if a system exception occurredvoid deleteSCProductEntry(SCProductEntry scProductEntry) throws SystemException
scProductEntry
- the s c product entry to delete
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredList 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.
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)
SystemException
- if a system exception occurredList 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.
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredlong dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) SCProductEntry getSCProductEntry(long productEntryId) throws PortalException, SystemException
productEntryId
- the primary key of the s c product entry to get
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) 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.
start
- the lower bound of the range of s c product entries to returnend
- the upper bound of the range of s c product entries to return (not inclusive)
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getSCProductEntriesCount() throws SystemException
SystemException
- if a system exception occurredSCProductEntry updateSCProductEntry(SCProductEntry scProductEntry) throws SystemException
scProductEntry
- the s c product entry to update
SystemException
- if a system exception occurredSCProductEntry updateSCProductEntry(SCProductEntry scProductEntry, boolean merge) throws SystemException
scProductEntry
- the s c product entry to updatemerge
- whether to merge the s c product entry with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredSCProductEntry 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 addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
void addProductEntryResources(long productEntryId, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
void addProductEntryResources(SCProductEntry productEntry, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
void addProductEntryResources(SCProductEntry productEntry, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
void deleteProductEntries(long groupId) throws PortalException, SystemException
PortalException
SystemException
void deleteProductEntry(long productEntryId) throws PortalException, SystemException
PortalException
SystemException
void 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
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.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |