com.liferay.portlet.softwarecatalog.service
Interface SCProductEntryLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface SCProductEntryLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

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.

Author:
Brian Wing Shun Chan
See Also:
SCProductEntryLocalServiceUtil

Method Summary
 SCProductEntry addProductEntry(long userId, java.lang.String name, java.lang.String type, java.lang.String tags, java.lang.String shortDescription, java.lang.String longDescription, java.lang.String pageURL, java.lang.String author, java.lang.String repoGroupId, java.lang.String repoArtifactId, long[] licenseIds, java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages, ServiceContext serviceContext)
           
 void addProductEntryResources(long productEntryId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addProductEntryResources(long productEntryId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addProductEntryResources(SCProductEntry productEntry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addProductEntryResources(SCProductEntry productEntry, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 SCProductEntry addSCProductEntry(SCProductEntry scProductEntry)
           
 SCProductEntry createSCProductEntry(long productEntryId)
           
 void deleteProductEntries(long groupId)
           
 void deleteProductEntry(long productEntryId)
           
 void deleteProductEntry(SCProductEntry productEntry)
           
 void deleteSCProductEntry(long productEntryId)
           
 void deleteSCProductEntry(SCProductEntry scProductEntry)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<SCProductEntry> getProductEntries(long groupId, int start, int end)
           
 java.util.List<SCProductEntry> getProductEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<SCProductEntry> getProductEntries(long groupId, long userId, int start, int end)
           
 java.util.List<SCProductEntry> getProductEntries(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getProductEntriesCount(long groupId)
           
 int getProductEntriesCount(long groupId, long userId)
           
 SCProductEntry getProductEntry(long productEntryId)
           
 java.lang.String getRepositoryXML(long groupId, java.lang.String baseImageURL, java.util.Date oldestDate, int maxNumOfVersions, java.util.Properties repoSettings)
           
 java.lang.String getRepositoryXML(long groupId, java.lang.String version, java.lang.String baseImageURL, java.util.Date oldestDate, int maxNumOfVersions, java.util.Properties repoSettings)
           
 java.util.List<SCProductEntry> getSCProductEntries(int start, int end)
           
 int getSCProductEntriesCount()
           
 SCProductEntry getSCProductEntry(long productEntryId)
           
 void reIndex(long productEntryId)
           
 void reIndex(java.lang.String[] ids)
           
 com.liferay.portal.kernel.search.Hits search(long companyId, long groupId, java.lang.String keywords, java.lang.String type, int start, int end)
           
 SCProductEntry updateProductEntry(long productEntryId, java.lang.String name, java.lang.String type, java.lang.String tags, java.lang.String shortDescription, java.lang.String longDescription, java.lang.String pageURL, java.lang.String author, java.lang.String repoGroupId, java.lang.String repoArtifactId, long[] licenseIds, java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
           
 SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry)
           
 

Method Detail

addSCProductEntry

SCProductEntry addSCProductEntry(SCProductEntry scProductEntry)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createSCProductEntry

SCProductEntry createSCProductEntry(long productEntryId)

deleteSCProductEntry

void deleteSCProductEntry(long productEntryId)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteSCProductEntry

void deleteSCProductEntry(SCProductEntry scProductEntry)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCProductEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCProductEntry getSCProductEntry(long productEntryId)
                                 throws com.liferay.portal.SystemException,
                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getSCProductEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCProductEntry> getSCProductEntries(int start,
                                                                 int end)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCProductEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getSCProductEntriesCount()
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateSCProductEntry

SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addProductEntry

SCProductEntry addProductEntry(long userId,
                               java.lang.String name,
                               java.lang.String type,
                               java.lang.String tags,
                               java.lang.String shortDescription,
                               java.lang.String longDescription,
                               java.lang.String pageURL,
                               java.lang.String author,
                               java.lang.String repoGroupId,
                               java.lang.String repoArtifactId,
                               long[] licenseIds,
                               java.util.List<byte[]> thumbnails,
                               java.util.List<byte[]> fullImages,
                               ServiceContext serviceContext)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addProductEntryResources

void addProductEntryResources(long productEntryId,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addProductEntryResources

void addProductEntryResources(SCProductEntry productEntry,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addProductEntryResources

void addProductEntryResources(long productEntryId,
                              java.lang.String[] communityPermissions,
                              java.lang.String[] guestPermissions)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addProductEntryResources

void addProductEntryResources(SCProductEntry productEntry,
                              java.lang.String[] communityPermissions,
                              java.lang.String[] guestPermissions)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteProductEntries

void deleteProductEntries(long groupId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteProductEntry

void deleteProductEntry(long productEntryId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteProductEntry

void deleteProductEntry(SCProductEntry productEntry)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getProductEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCProductEntry getProductEntry(long productEntryId)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getProductEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCProductEntry> getProductEntries(long groupId,
                                                               int start,
                                                               int end)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCProductEntry> getProductEntries(long groupId,
                                                               int start,
                                                               int end,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCProductEntry> getProductEntries(long groupId,
                                                               long userId,
                                                               int start,
                                                               int end)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCProductEntry> getProductEntries(long groupId,
                                                               long userId,
                                                               int start,
                                                               int end,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getProductEntriesCount(long groupId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getProductEntriesCount(long groupId,
                                         long userId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRepositoryXML

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.lang.String getRepositoryXML(long groupId,
                                                java.lang.String baseImageURL,
                                                java.util.Date oldestDate,
                                                int maxNumOfVersions,
                                                java.util.Properties repoSettings)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRepositoryXML

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.lang.String getRepositoryXML(long groupId,
                                                java.lang.String version,
                                                java.lang.String baseImageURL,
                                                java.util.Date oldestDate,
                                                int maxNumOfVersions,
                                                java.util.Properties repoSettings)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

reIndex

void reIndex(long productEntryId)
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

reIndex

void reIndex(java.lang.String[] ids)
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
com.liferay.portal.kernel.search.Hits search(long companyId,
                                                           long groupId,
                                                           java.lang.String keywords,
                                                           java.lang.String type,
                                                           int start,
                                                           int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateProductEntry

SCProductEntry updateProductEntry(long productEntryId,
                                  java.lang.String name,
                                  java.lang.String type,
                                  java.lang.String tags,
                                  java.lang.String shortDescription,
                                  java.lang.String longDescription,
                                  java.lang.String pageURL,
                                  java.lang.String author,
                                  java.lang.String repoGroupId,
                                  java.lang.String repoArtifactId,
                                  long[] licenseIds,
                                  java.util.List<byte[]> thumbnails,
                                  java.util.List<byte[]> fullImages)
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException