com.liferay.portlet.softwarecatalog.service.impl
Class SCFrameworkVersionLocalServiceImpl

java.lang.Object
  extended bycom.liferay.portlet.softwarecatalog.service.base.SCFrameworkVersionLocalServiceBaseImpl
      extended bycom.liferay.portlet.softwarecatalog.service.impl.SCFrameworkVersionLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService

public class SCFrameworkVersionLocalServiceImpl
extends SCFrameworkVersionLocalServiceBaseImpl

View Source

Author:
Jorge Ferrer, Brian Wing Shun Chan

Constructor Summary
SCFrameworkVersionLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(long userId, long plid, java.lang.String name, java.lang.String url, boolean active, int priority, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(long userId, long plid, java.lang.String name, java.lang.String url, boolean active, int priority, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(long userId, long plid, java.lang.String name, java.lang.String url, boolean active, int priority, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFrameworkVersionResources(long frameworkVersionId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFrameworkVersionResources(long frameworkVersionId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFrameworkVersionResources(com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFrameworkVersionResources(com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteFrameworkVersion(long frameworkVersionId)
           
 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
           
 java.util.List getFrameworkVersions(long groupId, boolean active)
           
 java.util.List getFrameworkVersions(long groupId, boolean active, int begin, int end)
           
 java.util.List getFrameworkVersions(long groupId, int begin, int end)
           
 int getFrameworkVersionsCount(long groupId)
           
 int getFrameworkVersionsCount(long groupId, boolean active)
           
 java.util.List getProductVersionFrameworkVersions(long productVersionId)
           
 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId, java.lang.String name, java.lang.String url, boolean active, int priority)
           
protected  void validate(java.lang.String name)
           
 
Methods inherited from class com.liferay.portlet.softwarecatalog.service.base.SCFrameworkVersionLocalServiceBaseImpl
addSCFrameworkVersion, dynamicQuery, dynamicQuery, updateSCFrameworkVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCFrameworkVersionLocalServiceImpl

public SCFrameworkVersionLocalServiceImpl()
Method Detail

addFrameworkVersion

public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(long userId,
                                                                                        long plid,
                                                                                        java.lang.String name,
                                                                                        java.lang.String url,
                                                                                        boolean active,
                                                                                        int priority,
                                                                                        boolean addCommunityPermissions,
                                                                                        boolean addGuestPermissions)
                                                                                 throws com.liferay.portal.PortalException,
                                                                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFrameworkVersion

public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(long userId,
                                                                                        long plid,
                                                                                        java.lang.String name,
                                                                                        java.lang.String url,
                                                                                        boolean active,
                                                                                        int priority,
                                                                                        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

addFrameworkVersion

public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(long userId,
                                                                                        long plid,
                                                                                        java.lang.String name,
                                                                                        java.lang.String url,
                                                                                        boolean active,
                                                                                        int priority,
                                                                                        java.lang.Boolean addCommunityPermissions,
                                                                                        java.lang.Boolean addGuestPermissions,
                                                                                        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

public 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

public void addFrameworkVersionResources(com.liferay.portlet.softwarecatalog.model.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

public 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

public void addFrameworkVersionResources(com.liferay.portlet.softwarecatalog.model.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

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

getFrameworkVersion

public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
                                                                                 throws com.liferay.portal.PortalException,
                                                                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFrameworkVersions

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

getFrameworkVersions

public java.util.List getFrameworkVersions(long groupId,
                                           boolean active)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFrameworkVersions

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

getFrameworkVersionsCount

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

getFrameworkVersionsCount

public int getFrameworkVersionsCount(long groupId,
                                     boolean active)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductVersionFrameworkVersions

public java.util.List getProductVersionFrameworkVersions(long productVersionId)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateFrameworkVersion

public com.liferay.portlet.softwarecatalog.model.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

validate

protected void validate(java.lang.String name)
                 throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException