com.liferay.portlet.softwarecatalog.service
Class SCProductEntryLocalServiceUtil
java.lang.Object
com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalServiceUtil
public class SCProductEntryLocalServiceUtil
- extends Object
This class provides static methods for the
SCProductEntryLocalService bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- See Also:
SCProductEntryLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static 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)
|
static void |
addProductEntryResources(long productEntryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addProductEntryResources(long productEntryId,
String[] communityPermissions,
String[] guestPermissions)
|
static void |
addProductEntryResources(SCProductEntry productEntry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addProductEntryResources(SCProductEntry productEntry,
String[] communityPermissions,
String[] guestPermissions)
|
static SCProductEntry |
addSCProductEntry(SCProductEntry scProductEntry)
|
static SCProductEntry |
createSCProductEntry(long productEntryId)
|
static void |
deleteProductEntries(long groupId)
|
static void |
deleteProductEntry(long productEntryId)
|
static void |
deleteProductEntry(SCProductEntry productEntry)
|
static void |
deleteSCProductEntry(long productEntryId)
|
static void |
deleteSCProductEntry(SCProductEntry scProductEntry)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static List<SCProductEntry> |
getCompanyProductEntries(long companyId,
int start,
int end)
|
static int |
getCompanyProductEntriesCount(long companyId)
|
static List<SCProductEntry> |
getProductEntries(long groupId,
int start,
int end)
|
static List<SCProductEntry> |
getProductEntries(long groupId,
int start,
int end,
OrderByComparator obc)
|
static List<SCProductEntry> |
getProductEntries(long groupId,
long userId,
int start,
int end)
|
static List<SCProductEntry> |
getProductEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator obc)
|
static int |
getProductEntriesCount(long groupId)
|
static int |
getProductEntriesCount(long groupId,
long userId)
|
static SCProductEntry |
getProductEntry(long productEntryId)
|
static String |
getRepositoryXML(long groupId,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
|
static String |
getRepositoryXML(long groupId,
String version,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
|
static List<SCProductEntry> |
getSCProductEntries(int start,
int end)
|
static int |
getSCProductEntriesCount()
|
static SCProductEntry |
getSCProductEntry(long productEntryId)
|
static SCProductEntryLocalService |
getService()
|
void |
setService(SCProductEntryLocalService service)
|
static 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)
|
static SCProductEntry |
updateSCProductEntry(SCProductEntry scProductEntry)
|
static SCProductEntry |
updateSCProductEntry(SCProductEntry scProductEntry,
boolean merge)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCProductEntryLocalServiceUtil
public SCProductEntryLocalServiceUtil()
addSCProductEntry
public static SCProductEntry addSCProductEntry(SCProductEntry scProductEntry)
throws SystemException
- Throws:
SystemException
createSCProductEntry
public static SCProductEntry createSCProductEntry(long productEntryId)
deleteSCProductEntry
public static void deleteSCProductEntry(long productEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteSCProductEntry
public static void deleteSCProductEntry(SCProductEntry scProductEntry)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getSCProductEntry
public static SCProductEntry getSCProductEntry(long productEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getSCProductEntries
public static List<SCProductEntry> getSCProductEntries(int start,
int end)
throws SystemException
- Throws:
SystemException
getSCProductEntriesCount
public static int getSCProductEntriesCount()
throws SystemException
- Throws:
SystemException
updateSCProductEntry
public static SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry)
throws SystemException
- Throws:
SystemException
updateSCProductEntry
public static SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry,
boolean merge)
throws SystemException
- Throws:
SystemException
addProductEntry
public static 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
- Throws:
PortalException
SystemException
addProductEntryResources
public static void addProductEntryResources(long productEntryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addProductEntryResources
public static void addProductEntryResources(long productEntryId,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addProductEntryResources
public static void addProductEntryResources(SCProductEntry productEntry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addProductEntryResources
public static void addProductEntryResources(SCProductEntry productEntry,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteProductEntries
public static void deleteProductEntries(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteProductEntry
public static void deleteProductEntry(long productEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteProductEntry
public static void deleteProductEntry(SCProductEntry productEntry)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyProductEntries
public static List<SCProductEntry> getCompanyProductEntries(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyProductEntriesCount
public static int getCompanyProductEntriesCount(long companyId)
throws SystemException
- Throws:
SystemException
getProductEntries
public static List<SCProductEntry> getProductEntries(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getProductEntries
public static List<SCProductEntry> getProductEntries(long groupId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getProductEntries
public static List<SCProductEntry> getProductEntries(long groupId,
long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getProductEntries
public static List<SCProductEntry> getProductEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getProductEntriesCount
public static int getProductEntriesCount(long groupId)
throws SystemException
- Throws:
SystemException
getProductEntriesCount
public static int getProductEntriesCount(long groupId,
long userId)
throws SystemException
- Throws:
SystemException
getProductEntry
public static SCProductEntry getProductEntry(long productEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRepositoryXML
public static String getRepositoryXML(long groupId,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
throws SystemException
- Throws:
SystemException
getRepositoryXML
public static String getRepositoryXML(long groupId,
String version,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
throws SystemException
- Throws:
SystemException
updateProductEntry
public static 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
- Throws:
PortalException
SystemException
getService
public static SCProductEntryLocalService getService()
setService
public void setService(SCProductEntryLocalService service)