com.liferay.portlet.softwarecatalog.service
Interface SCFrameworkVersionLocalService


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

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.SCFrameworkVersionLocalServiceImpl. 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:
SCFrameworkVersionLocalServiceUtil

Method Summary
 SCFrameworkVersion addFrameworkVersion(long userId, java.lang.String name, java.lang.String url, boolean active, int priority, ServiceContext serviceContext)
           
 void addFrameworkVersionResources(long frameworkVersionId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFrameworkVersionResources(long frameworkVersionId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFrameworkVersionResources(SCFrameworkVersion frameworkVersion, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFrameworkVersionResources(SCFrameworkVersion frameworkVersion, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 SCFrameworkVersion addSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
           
 SCFrameworkVersion createSCFrameworkVersion(long frameworkVersionId)
           
 void deleteFrameworkVersion(long frameworkVersionId)
           
 void deleteFrameworkVersion(SCFrameworkVersion frameworkVersion)
           
 void deleteFrameworkVersions(long groupId)
           
 void deleteSCFrameworkVersion(long frameworkVersionId)
           
 void deleteSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
           
 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)
           
 SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
           
 java.util.List<SCFrameworkVersion> getFrameworkVersions(long groupId, boolean active)
           
 java.util.List<SCFrameworkVersion> getFrameworkVersions(long groupId, boolean active, int start, int end)
           
 java.util.List<SCFrameworkVersion> getFrameworkVersions(long groupId, int start, int end)
           
 int getFrameworkVersionsCount(long groupId)
           
 int getFrameworkVersionsCount(long groupId, boolean active)
           
 java.util.List<SCFrameworkVersion> getProductVersionFrameworkVersions(long productVersionId)
           
 SCFrameworkVersion getSCFrameworkVersion(long frameworkVersionId)
           
 java.util.List<SCFrameworkVersion> getSCFrameworkVersions(int start, int end)
           
 int getSCFrameworkVersionsCount()
           
 SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId, java.lang.String name, java.lang.String url, boolean active, int priority)
           
 SCFrameworkVersion updateSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
           
 

Method Detail

addSCFrameworkVersion

SCFrameworkVersion addSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createSCFrameworkVersion

SCFrameworkVersion createSCFrameworkVersion(long frameworkVersionId)

deleteSCFrameworkVersion

void deleteSCFrameworkVersion(long frameworkVersionId)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteSCFrameworkVersion

void deleteSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
                              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

getSCFrameworkVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCFrameworkVersion getSCFrameworkVersion(long frameworkVersionId)
                                         throws com.liferay.portal.SystemException,
                                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getSCFrameworkVersions

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

getSCFrameworkVersionsCount

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

updateSCFrameworkVersion

SCFrameworkVersion updateSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addFrameworkVersion

SCFrameworkVersion addFrameworkVersion(long userId,
                                       java.lang.String name,
                                       java.lang.String url,
                                       boolean active,
                                       int priority,
                                       ServiceContext serviceContext)
                                       throws com.liferay.portal.PortalException,
                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFrameworkVersionResources

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

addFrameworkVersionResources

void addFrameworkVersionResources(SCFrameworkVersion frameworkVersion,
                                  boolean addCommunityPermissions,
                                  boolean addGuestPermissions)
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFrameworkVersionResources

void addFrameworkVersionResources(long frameworkVersionId,
                                  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

addFrameworkVersionResources

void addFrameworkVersionResources(SCFrameworkVersion frameworkVersion,
                                  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

deleteFrameworkVersion

void deleteFrameworkVersion(long frameworkVersionId)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFrameworkVersion

void deleteFrameworkVersion(SCFrameworkVersion frameworkVersion)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteFrameworkVersions

void deleteFrameworkVersions(long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFrameworkVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
                                       throws com.liferay.portal.PortalException,
                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFrameworkVersions

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

getFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                                      boolean active)
                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFrameworkVersions

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

getFrameworkVersionsCount

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

getFrameworkVersionsCount

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

getProductVersionFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<SCFrameworkVersion> getProductVersionFrameworkVersions(long productVersionId)
                                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateFrameworkVersion

SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId,
                                          java.lang.String name,
                                          java.lang.String url,
                                          boolean active,
                                          int priority)
                                          throws com.liferay.portal.PortalException,
                                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException