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

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portlet.softwarecatalog.service.impl.SCFrameworkVersionServiceImpl
All Implemented Interfaces:
com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService

public class SCFrameworkVersionServiceImpl
extends PrincipalBean
implements com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService

View Source

Author:
Jorge Ferrer, Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.service.impl.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
SCFrameworkVersionServiceImpl()
           
 
Method Summary
 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(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 plid, java.lang.String name, java.lang.String url, boolean active, int priority, 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)
           
 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId, java.lang.String name, java.lang.String url, boolean active, int priority)
           
 
Methods inherited from class com.liferay.portal.service.impl.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCFrameworkVersionServiceImpl

public SCFrameworkVersionServiceImpl()
Method Detail

addFrameworkVersion

public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(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
Specified by:
addFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFrameworkVersion

public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(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
Specified by:
addFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFrameworkVersion

public void deleteFrameworkVersion(long frameworkVersionId)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Specified by:
deleteFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService
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
Specified by:
getFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFrameworkVersions

public java.util.List getFrameworkVersions(long groupId,
                                           boolean active)
                                    throws com.liferay.portal.SystemException
Specified by:
getFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService
Throws:
com.liferay.portal.SystemException

getFrameworkVersions

public java.util.List getFrameworkVersions(long groupId,
                                           boolean active,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Specified by:
getFrameworkVersions in interface com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService
Throws:
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
Specified by:
updateFrameworkVersion in interface com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException