Liferay 6.0.5

com.liferay.portlet.softwarecatalog.service
Class SCFrameworkVersionLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalServiceWrapper
All Implemented Interfaces:
SCFrameworkVersionLocalService

public class SCFrameworkVersionLocalServiceWrapper
extends Object
implements SCFrameworkVersionLocalService

This class is a wrapper for SCFrameworkVersionLocalService.

See Also:
SCFrameworkVersionLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
SCFrameworkVersionLocalServiceWrapper(SCFrameworkVersionLocalService scFrameworkVersionLocalService)
           
 
Method Summary
 SCFrameworkVersion addFrameworkVersion(long userId, String name, String url, boolean active, int priority, ServiceContext serviceContext)
           
 void addFrameworkVersionResources(long frameworkVersionId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFrameworkVersionResources(long frameworkVersionId, String[] communityPermissions, String[] guestPermissions)
           
 void addFrameworkVersionResources(SCFrameworkVersion frameworkVersion, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFrameworkVersionResources(SCFrameworkVersion frameworkVersion, String[] communityPermissions, String[] guestPermissions)
           
 SCFrameworkVersion addSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
          Adds the s c framework version to the database.
 SCFrameworkVersion createSCFrameworkVersion(long frameworkVersionId)
          Creates a new s c framework version with the primary key.
 void deleteFrameworkVersion(long frameworkVersionId)
           
 void deleteFrameworkVersion(SCFrameworkVersion frameworkVersion)
           
 void deleteFrameworkVersions(long groupId)
           
 void deleteSCFrameworkVersion(long frameworkVersionId)
          Deletes the s c framework version with the primary key from the database.
 void deleteSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
          Deletes the s c framework version from the database.
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Counts the number of rows that match the dynamic query.
 SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
           
 List<SCFrameworkVersion> getFrameworkVersions(long groupId, boolean active)
           
 List<SCFrameworkVersion> getFrameworkVersions(long groupId, boolean active, int start, int end)
           
 List<SCFrameworkVersion> getFrameworkVersions(long groupId, int start, int end)
           
 int getFrameworkVersionsCount(long groupId)
           
 int getFrameworkVersionsCount(long groupId, boolean active)
           
 List<SCFrameworkVersion> getProductVersionFrameworkVersions(long productVersionId)
           
 SCFrameworkVersion getSCFrameworkVersion(long frameworkVersionId)
          Gets the s c framework version with the primary key.
 List<SCFrameworkVersion> getSCFrameworkVersions(int start, int end)
          Gets a range of all the s c framework versions.
 int getSCFrameworkVersionsCount()
          Gets the number of s c framework versions.
 SCFrameworkVersionLocalService getWrappedSCFrameworkVersionLocalService()
           
 SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId, String name, String url, boolean active, int priority)
           
 SCFrameworkVersion updateSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
          Updates the s c framework version in the database.
 SCFrameworkVersion updateSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion, boolean merge)
          Updates the s c framework version in the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCFrameworkVersionLocalServiceWrapper

public SCFrameworkVersionLocalServiceWrapper(SCFrameworkVersionLocalService scFrameworkVersionLocalService)
Method Detail

addSCFrameworkVersion

public SCFrameworkVersion addSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
                                         throws SystemException
Adds the s c framework version to the database. Also notifies the appropriate model listeners.

Specified by:
addSCFrameworkVersion in interface SCFrameworkVersionLocalService
Parameters:
scFrameworkVersion - the s c framework version to add
Returns:
the s c framework version that was added
Throws:
SystemException - if a system exception occurred

createSCFrameworkVersion

public SCFrameworkVersion createSCFrameworkVersion(long frameworkVersionId)
Creates a new s c framework version with the primary key. Does not add the s c framework version to the database.

Specified by:
createSCFrameworkVersion in interface SCFrameworkVersionLocalService
Parameters:
frameworkVersionId - the primary key for the new s c framework version
Returns:
the new s c framework version

deleteSCFrameworkVersion

public void deleteSCFrameworkVersion(long frameworkVersionId)
                              throws PortalException,
                                     SystemException
Deletes the s c framework version with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSCFrameworkVersion in interface SCFrameworkVersionLocalService
Parameters:
frameworkVersionId - the primary key of the s c framework version to delete
Throws:
PortalException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred

deleteSCFrameworkVersion

public void deleteSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
                              throws SystemException
Deletes the s c framework version from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSCFrameworkVersion in interface SCFrameworkVersionLocalService
Parameters:
scFrameworkVersion - the s c framework version to delete
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface SCFrameworkVersionLocalService
Parameters:
dynamicQuery - the dynamic query to search with
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface SCFrameworkVersionLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface SCFrameworkVersionLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Counts the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface SCFrameworkVersionLocalService
Parameters:
dynamicQuery - the dynamic query to search with
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

getSCFrameworkVersion

public SCFrameworkVersion getSCFrameworkVersion(long frameworkVersionId)
                                         throws PortalException,
                                                SystemException
Gets the s c framework version with the primary key.

Specified by:
getSCFrameworkVersion in interface SCFrameworkVersionLocalService
Parameters:
frameworkVersionId - the primary key of the s c framework version to get
Returns:
the s c framework version
Throws:
PortalException - if a s c framework version with the primary key could not be found
SystemException - if a system exception occurred

getSCFrameworkVersions

public List<SCFrameworkVersion> getSCFrameworkVersions(int start,
                                                       int end)
                                                throws SystemException
Gets a range of all the s c framework versions.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getSCFrameworkVersions in interface SCFrameworkVersionLocalService
Parameters:
start - the lower bound of the range of s c framework versions to return
end - the upper bound of the range of s c framework versions to return (not inclusive)
Returns:
the range of s c framework versions
Throws:
SystemException - if a system exception occurred

getSCFrameworkVersionsCount

public int getSCFrameworkVersionsCount()
                                throws SystemException
Gets the number of s c framework versions.

Specified by:
getSCFrameworkVersionsCount in interface SCFrameworkVersionLocalService
Returns:
the number of s c framework versions
Throws:
SystemException - if a system exception occurred

updateSCFrameworkVersion

public SCFrameworkVersion updateSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
                                            throws SystemException
Updates the s c framework version in the database. Also notifies the appropriate model listeners.

Specified by:
updateSCFrameworkVersion in interface SCFrameworkVersionLocalService
Parameters:
scFrameworkVersion - the s c framework version to update
Returns:
the s c framework version that was updated
Throws:
SystemException - if a system exception occurred

updateSCFrameworkVersion

public SCFrameworkVersion updateSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion,
                                                   boolean merge)
                                            throws SystemException
Updates the s c framework version in the database. Also notifies the appropriate model listeners.

Specified by:
updateSCFrameworkVersion in interface SCFrameworkVersionLocalService
Parameters:
scFrameworkVersion - the s c framework version to update
merge - whether to merge the s c framework version with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the s c framework version that was updated
Throws:
SystemException - if a system exception occurred

addFrameworkVersion

public SCFrameworkVersion addFrameworkVersion(long userId,
                                              String name,
                                              String url,
                                              boolean active,
                                              int priority,
                                              ServiceContext serviceContext)
                                       throws PortalException,
                                              SystemException
Specified by:
addFrameworkVersion in interface SCFrameworkVersionLocalService
Throws:
PortalException
SystemException

addFrameworkVersionResources

public void addFrameworkVersionResources(long frameworkVersionId,
                                         boolean addCommunityPermissions,
                                         boolean addGuestPermissions)
                                  throws PortalException,
                                         SystemException
Specified by:
addFrameworkVersionResources in interface SCFrameworkVersionLocalService
Throws:
PortalException
SystemException

addFrameworkVersionResources

public void addFrameworkVersionResources(SCFrameworkVersion frameworkVersion,
                                         boolean addCommunityPermissions,
                                         boolean addGuestPermissions)
                                  throws PortalException,
                                         SystemException
Specified by:
addFrameworkVersionResources in interface SCFrameworkVersionLocalService
Throws:
PortalException
SystemException

addFrameworkVersionResources

public void addFrameworkVersionResources(long frameworkVersionId,
                                         String[] communityPermissions,
                                         String[] guestPermissions)
                                  throws PortalException,
                                         SystemException
Specified by:
addFrameworkVersionResources in interface SCFrameworkVersionLocalService
Throws:
PortalException
SystemException

addFrameworkVersionResources

public void addFrameworkVersionResources(SCFrameworkVersion frameworkVersion,
                                         String[] communityPermissions,
                                         String[] guestPermissions)
                                  throws PortalException,
                                         SystemException
Specified by:
addFrameworkVersionResources in interface SCFrameworkVersionLocalService
Throws:
PortalException
SystemException

deleteFrameworkVersion

public void deleteFrameworkVersion(long frameworkVersionId)
                            throws PortalException,
                                   SystemException
Specified by:
deleteFrameworkVersion in interface SCFrameworkVersionLocalService
Throws:
PortalException
SystemException

deleteFrameworkVersion

public void deleteFrameworkVersion(SCFrameworkVersion frameworkVersion)
                            throws SystemException
Specified by:
deleteFrameworkVersion in interface SCFrameworkVersionLocalService
Throws:
SystemException

deleteFrameworkVersions

public void deleteFrameworkVersions(long groupId)
                             throws SystemException
Specified by:
deleteFrameworkVersions in interface SCFrameworkVersionLocalService
Throws:
SystemException

getFrameworkVersion

public SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
                                       throws PortalException,
                                              SystemException
Specified by:
getFrameworkVersion in interface SCFrameworkVersionLocalService
Throws:
PortalException
SystemException

getFrameworkVersions

public List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                     int start,
                                                     int end)
                                              throws SystemException
Specified by:
getFrameworkVersions in interface SCFrameworkVersionLocalService
Throws:
SystemException

getFrameworkVersions

public List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                     boolean active)
                                              throws SystemException
Specified by:
getFrameworkVersions in interface SCFrameworkVersionLocalService
Throws:
SystemException

getFrameworkVersions

public List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                     boolean active,
                                                     int start,
                                                     int end)
                                              throws SystemException
Specified by:
getFrameworkVersions in interface SCFrameworkVersionLocalService
Throws:
SystemException

getFrameworkVersionsCount

public int getFrameworkVersionsCount(long groupId)
                              throws SystemException
Specified by:
getFrameworkVersionsCount in interface SCFrameworkVersionLocalService
Throws:
SystemException

getFrameworkVersionsCount

public int getFrameworkVersionsCount(long groupId,
                                     boolean active)
                              throws SystemException
Specified by:
getFrameworkVersionsCount in interface SCFrameworkVersionLocalService
Throws:
SystemException

getProductVersionFrameworkVersions

public List<SCFrameworkVersion> getProductVersionFrameworkVersions(long productVersionId)
                                                            throws SystemException
Specified by:
getProductVersionFrameworkVersions in interface SCFrameworkVersionLocalService
Throws:
SystemException

updateFrameworkVersion

public SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId,
                                                 String name,
                                                 String url,
                                                 boolean active,
                                                 int priority)
                                          throws PortalException,
                                                 SystemException
Specified by:
updateFrameworkVersion in interface SCFrameworkVersionLocalService
Throws:
PortalException
SystemException

getWrappedSCFrameworkVersionLocalService

public SCFrameworkVersionLocalService getWrappedSCFrameworkVersionLocalService()

Liferay 6.0.5