com.liferay.portlet.softwarecatalog.service
Interface SCFrameworkVersionService


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

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.SCFrameworkVersionServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
SCFrameworkVersionServiceUtil

Method Summary
 SCFrameworkVersion addFrameworkVersion(java.lang.String name, java.lang.String url, boolean active, int priority, ServiceContext serviceContext)
           
 void deleteFrameworkVersion(long frameworkVersionId)
           
 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)
           
 SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId, java.lang.String name, java.lang.String url, boolean active, int priority)
           
 

Method Detail

addFrameworkVersion

SCFrameworkVersion addFrameworkVersion(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

deleteFrameworkVersion

void deleteFrameworkVersion(long frameworkVersionId)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
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,
                                                                      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

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