Liferay 6.0.5

com.liferay.portlet.softwarecatalog.service
Class SCProductEntryLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalServiceWrapper
All Implemented Interfaces:
SCProductEntryLocalService

public class SCProductEntryLocalServiceWrapper
extends Object
implements SCProductEntryLocalService

This class is a wrapper for SCProductEntryLocalService.

See Also:
SCProductEntryLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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 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.
 SCProductEntryLocalService getWrappedSCProductEntryLocalService()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCProductEntryLocalServiceWrapper

public SCProductEntryLocalServiceWrapper(SCProductEntryLocalService scProductEntryLocalService)
Method Detail

addSCProductEntry

public SCProductEntry addSCProductEntry(SCProductEntry scProductEntry)
                                 throws SystemException
Adds the s c product entry to the database. Also notifies the appropriate model listeners.

Specified by:
addSCProductEntry in interface SCProductEntryLocalService
Parameters:
scProductEntry - the s c product entry to add
Returns:
the s c product entry that was added
Throws:
SystemException - if a system exception occurred

createSCProductEntry

public SCProductEntry createSCProductEntry(long productEntryId)
Creates a new s c product entry with the primary key. Does not add the s c product entry to the database.

Specified by:
createSCProductEntry in interface SCProductEntryLocalService
Parameters:
productEntryId - the primary key for the new s c product entry
Returns:
the new s c product entry

deleteSCProductEntry

public void deleteSCProductEntry(long productEntryId)
                          throws PortalException,
                                 SystemException
Deletes the s c product entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSCProductEntry in interface SCProductEntryLocalService
Parameters:
productEntryId - the primary key of the s c product entry to delete
Throws:
PortalException - if a s c product entry with the primary key could not be found
SystemException - if a system exception occurred

deleteSCProductEntry

public void deleteSCProductEntry(SCProductEntry scProductEntry)
                          throws SystemException
Deletes the s c product entry from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSCProductEntry in interface SCProductEntryLocalService
Parameters:
scProductEntry - the s c product entry to delete
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface SCProductEntryLocalService
Parameters:
dynamicQuery - the dynamic query to search with
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

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.

Specified by:
dynamicQuery in interface SCProductEntryLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

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.

Specified by:
dynamicQuery in interface SCProductEntryLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Counts the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface SCProductEntryLocalService
Parameters:
dynamicQuery - the dynamic query to search with
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

getSCProductEntry

public SCProductEntry getSCProductEntry(long productEntryId)
                                 throws PortalException,
                                        SystemException
Gets the s c product entry with the primary key.

Specified by:
getSCProductEntry in interface SCProductEntryLocalService
Parameters:
productEntryId - the primary key of the s c product entry to get
Returns:
the s c product entry
Throws:
PortalException - if a s c product entry with the primary key could not be found
SystemException - if a system exception occurred

getSCProductEntries

public List<SCProductEntry> getSCProductEntries(int start,
                                                int end)
                                         throws SystemException
Gets a range of all the s c product entries.

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.

Specified by:
getSCProductEntries in interface SCProductEntryLocalService
Parameters:
start - the lower bound of the range of s c product entries to return
end - the upper bound of the range of s c product entries to return (not inclusive)
Returns:
the range of s c product entries
Throws:
SystemException - if a system exception occurred

getSCProductEntriesCount

public int getSCProductEntriesCount()
                             throws SystemException
Gets the number of s c product entries.

Specified by:
getSCProductEntriesCount in interface SCProductEntryLocalService
Returns:
the number of s c product entries
Throws:
SystemException - if a system exception occurred

updateSCProductEntry

public SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry)
                                    throws SystemException
Updates the s c product entry in the database. Also notifies the appropriate model listeners.

Specified by:
updateSCProductEntry in interface SCProductEntryLocalService
Parameters:
scProductEntry - the s c product entry to update
Returns:
the s c product entry that was updated
Throws:
SystemException - if a system exception occurred

updateSCProductEntry

public SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry,
                                           boolean merge)
                                    throws SystemException
Updates the s c product entry in the database. Also notifies the appropriate model listeners.

Specified by:
updateSCProductEntry in interface SCProductEntryLocalService
Parameters:
scProductEntry - the s c product entry to update
merge - 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.
Returns:
the s c product entry that was updated
Throws:
SystemException - if a system exception occurred

addProductEntry

public 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
Specified by:
addProductEntry in interface SCProductEntryLocalService
Throws:
PortalException
SystemException

addProductEntryResources

public void addProductEntryResources(long productEntryId,
                                     boolean addCommunityPermissions,
                                     boolean addGuestPermissions)
                              throws PortalException,
                                     SystemException
Specified by:
addProductEntryResources in interface SCProductEntryLocalService
Throws:
PortalException
SystemException

addProductEntryResources

public void addProductEntryResources(long productEntryId,
                                     String[] communityPermissions,
                                     String[] guestPermissions)
                              throws PortalException,
                                     SystemException
Specified by:
addProductEntryResources in interface SCProductEntryLocalService
Throws:
PortalException
SystemException

addProductEntryResources

public void addProductEntryResources(SCProductEntry productEntry,
                                     boolean addCommunityPermissions,
                                     boolean addGuestPermissions)
                              throws PortalException,
                                     SystemException
Specified by:
addProductEntryResources in interface SCProductEntryLocalService
Throws:
PortalException
SystemException

addProductEntryResources

public void addProductEntryResources(SCProductEntry productEntry,
                                     String[] communityPermissions,
                                     String[] guestPermissions)
                              throws PortalException,
                                     SystemException
Specified by:
addProductEntryResources in interface SCProductEntryLocalService
Throws:
PortalException
SystemException

deleteProductEntries

public void deleteProductEntries(long groupId)
                          throws PortalException,
                                 SystemException
Specified by:
deleteProductEntries in interface SCProductEntryLocalService
Throws:
PortalException
SystemException

deleteProductEntry

public void deleteProductEntry(long productEntryId)
                        throws PortalException,
                               SystemException
Specified by:
deleteProductEntry in interface SCProductEntryLocalService
Throws:
PortalException
SystemException

deleteProductEntry

public void deleteProductEntry(SCProductEntry productEntry)
                        throws PortalException,
                               SystemException
Specified by:
deleteProductEntry in interface SCProductEntryLocalService
Throws:
PortalException
SystemException

getCompanyProductEntries

public List<SCProductEntry> getCompanyProductEntries(long companyId,
                                                     int start,
                                                     int end)
                                              throws SystemException
Specified by:
getCompanyProductEntries in interface SCProductEntryLocalService
Throws:
SystemException

getCompanyProductEntriesCount

public int getCompanyProductEntriesCount(long companyId)
                                  throws SystemException
Specified by:
getCompanyProductEntriesCount in interface SCProductEntryLocalService
Throws:
SystemException

getProductEntries

public List<SCProductEntry> getProductEntries(long groupId,
                                              int start,
                                              int end)
                                       throws SystemException
Specified by:
getProductEntries in interface SCProductEntryLocalService
Throws:
SystemException

getProductEntries

public List<SCProductEntry> getProductEntries(long groupId,
                                              int start,
                                              int end,
                                              OrderByComparator obc)
                                       throws SystemException
Specified by:
getProductEntries in interface SCProductEntryLocalService
Throws:
SystemException

getProductEntries

public List<SCProductEntry> getProductEntries(long groupId,
                                              long userId,
                                              int start,
                                              int end)
                                       throws SystemException
Specified by:
getProductEntries in interface SCProductEntryLocalService
Throws:
SystemException

getProductEntries

public List<SCProductEntry> getProductEntries(long groupId,
                                              long userId,
                                              int start,
                                              int end,
                                              OrderByComparator obc)
                                       throws SystemException
Specified by:
getProductEntries in interface SCProductEntryLocalService
Throws:
SystemException

getProductEntriesCount

public int getProductEntriesCount(long groupId)
                           throws SystemException
Specified by:
getProductEntriesCount in interface SCProductEntryLocalService
Throws:
SystemException

getProductEntriesCount

public int getProductEntriesCount(long groupId,
                                  long userId)
                           throws SystemException
Specified by:
getProductEntriesCount in interface SCProductEntryLocalService
Throws:
SystemException

getProductEntry

public SCProductEntry getProductEntry(long productEntryId)
                               throws PortalException,
                                      SystemException
Specified by:
getProductEntry in interface SCProductEntryLocalService
Throws:
PortalException
SystemException

getRepositoryXML

public String getRepositoryXML(long groupId,
                               String baseImageURL,
                               Date oldestDate,
                               int maxNumOfVersions,
                               Properties repoSettings)
                        throws SystemException
Specified by:
getRepositoryXML in interface SCProductEntryLocalService
Throws:
SystemException

getRepositoryXML

public String getRepositoryXML(long groupId,
                               String version,
                               String baseImageURL,
                               Date oldestDate,
                               int maxNumOfVersions,
                               Properties repoSettings)
                        throws SystemException
Specified by:
getRepositoryXML in interface SCProductEntryLocalService
Throws:
SystemException

updateProductEntry

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
Specified by:
updateProductEntry in interface SCProductEntryLocalService
Throws:
PortalException
SystemException

getWrappedSCProductEntryLocalService

public SCProductEntryLocalService getWrappedSCProductEntryLocalService()

Liferay 6.0.5