com.liferay.portlet.softwarecatalog.service
Interface SCProductEntryLocalService


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:
SCProductEntryServiceFactory, SCProductEntryServiceUtil

Method Summary
 SCProductEntry addProductEntry(long userId, long plid, 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 thumbnails, java.util.List fullImages, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 SCProductEntry addProductEntry(long userId, long plid, 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 thumbnails, java.util.List fullImages, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 SCProductEntry addProductEntry(long userId, long plid, 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 thumbnails, java.util.List fullImages, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 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 model)
           
 void deleteProductEntry(long productEntryId)
           
 void deleteProductEntry(SCProductEntry productEntry)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getProductEntries(long groupId, int begin, int end)
           
 java.util.List getProductEntries(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List getProductEntries(long groupId, long userId, int begin, int end)
           
 java.util.List getProductEntries(long groupId, long userId, int begin, 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)
           
 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)
           
 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 thumbnails, java.util.List fullImages)
           
 SCProductEntry updateSCProductEntry(SCProductEntry model)
           
 

Method Detail

addSCProductEntry

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

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateSCProductEntry

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

addProductEntry

public SCProductEntry addProductEntry(long userId,
                                      long plid,
                                      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 thumbnails,
                                      java.util.List fullImages,
                                      boolean addCommunityPermissions,
                                      boolean addGuestPermissions)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addProductEntry

public SCProductEntry addProductEntry(long userId,
                                      long plid,
                                      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 thumbnails,
                                      java.util.List fullImages,
                                      java.lang.String[] communityPermissions,
                                      java.lang.String[] guestPermissions)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addProductEntry

public SCProductEntry addProductEntry(long userId,
                                      long plid,
                                      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 thumbnails,
                                      java.util.List fullImages,
                                      java.lang.Boolean addCommunityPermissions,
                                      java.lang.Boolean addGuestPermissions,
                                      java.lang.String[] communityPermissions,
                                      java.lang.String[] guestPermissions)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addProductEntryResources

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

addProductEntryResources

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

addProductEntryResources

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

addProductEntryResources

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

deleteProductEntry

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

deleteProductEntry

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

getProductEntry

public SCProductEntry getProductEntry(long productEntryId)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getProductEntries

public java.util.List getProductEntries(long groupId,
                                        int begin,
                                        int end)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntries

public java.util.List getProductEntries(long groupId,
                                        int begin,
                                        int end,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntries

public java.util.List getProductEntries(long groupId,
                                        long userId,
                                        int begin,
                                        int end)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntries

public java.util.List getProductEntries(long groupId,
                                        long userId,
                                        int begin,
                                        int end,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntriesCount

public int getProductEntriesCount(long groupId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntriesCount

public int getProductEntriesCount(long groupId,
                                  long userId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRepositoryXML

public 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,
                                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getRepositoryXML

public 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,
                                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

reIndex

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

search

public com.liferay.portal.kernel.search.Hits search(long companyId,
                                                    long groupId,
                                                    java.lang.String keywords,
                                                    java.lang.String type)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateProductEntry

public 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 thumbnails,
                                         java.util.List fullImages)
                                  throws com.liferay.portal.SystemException,
                                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException