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

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

public class SCLicenseServiceImpl
extends PrincipalBean
implements com.liferay.portlet.softwarecatalog.service.SCLicenseService

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
SCLicenseServiceImpl()
           
 
Method Summary
 com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended)
           
 void deleteLicense(long licenseId)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(long licenseId)
           
 com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(long licenseId, java.lang.String name, java.lang.String url, boolean openSource, boolean active, boolean recommended)
           
 
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

SCLicenseServiceImpl

public SCLicenseServiceImpl()
Method Detail

addLicense

public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(java.lang.String name,
                                                                      java.lang.String url,
                                                                      boolean openSource,
                                                                      boolean active,
                                                                      boolean recommended)
                                                               throws com.liferay.portal.PortalException,
                                                                      com.liferay.portal.SystemException
Specified by:
addLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteLicense

public void deleteLicense(long licenseId)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Specified by:
deleteLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getLicense

public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(long licenseId)
                                                               throws com.liferay.portal.PortalException,
                                                                      com.liferay.portal.SystemException
Specified by:
getLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLicense

public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(long licenseId,
                                                                         java.lang.String name,
                                                                         java.lang.String url,
                                                                         boolean openSource,
                                                                         boolean active,
                                                                         boolean recommended)
                                                                  throws com.liferay.portal.PortalException,
                                                                         com.liferay.portal.SystemException
Specified by:
updateLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException