Liferay 7.0-ce-m6

com.liferay.portlet.softwarecatalog.service
Interface SCFrameworkVersionLocalService

All Superinterfaces:
BaseLocalService, PersistedModelLocalService
All Known Implementing Classes:
SCFrameworkVersionLocalServiceWrapper

@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface SCFrameworkVersionLocalService
extends BaseLocalService, PersistedModelLocalService

Provides the local service interface for SCFrameworkVersion. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

See Also:
SCFrameworkVersionLocalServiceUtil, com.liferay.portlet.softwarecatalog.service.base.SCFrameworkVersionLocalServiceBaseImpl, com.liferay.portlet.softwarecatalog.service.impl.SCFrameworkVersionLocalServiceImpl

Method Summary
 SCFrameworkVersion addFrameworkVersion(long userId, String name, String url, boolean active, int priority, ServiceContext serviceContext)
           
 void addFrameworkVersionResources(long frameworkVersionId, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addFrameworkVersionResources(long frameworkVersionId, String[] groupPermissions, String[] guestPermissions)
           
 void addFrameworkVersionResources(SCFrameworkVersion frameworkVersion, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addFrameworkVersionResources(SCFrameworkVersion frameworkVersion, String[] groupPermissions, String[] guestPermissions)
           
 SCFrameworkVersion addSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
          Adds the s c framework version to the database.
 void addSCProductVersionSCFrameworkVersion(long productVersionId, long frameworkVersionId)
           
 void addSCProductVersionSCFrameworkVersion(long productVersionId, SCFrameworkVersion scFrameworkVersion)
           
 void addSCProductVersionSCFrameworkVersions(long productVersionId, List<SCFrameworkVersion> SCFrameworkVersions)
           
 void addSCProductVersionSCFrameworkVersions(long productVersionId, long[] frameworkVersionIds)
           
 void clearSCProductVersionSCFrameworkVersions(long productVersionId)
           
 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)
           
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 SCFrameworkVersion deleteSCFrameworkVersion(long frameworkVersionId)
          Deletes the s c framework version with the primary key from the database.
 SCFrameworkVersion deleteSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
          Deletes the s c framework version from the database.
 void deleteSCProductVersionSCFrameworkVersion(long productVersionId, long frameworkVersionId)
           
 void deleteSCProductVersionSCFrameworkVersion(long productVersionId, SCFrameworkVersion scFrameworkVersion)
           
 void deleteSCProductVersionSCFrameworkVersions(long productVersionId, List<SCFrameworkVersion> SCFrameworkVersions)
           
 void deleteSCProductVersionSCFrameworkVersions(long productVersionId, long[] frameworkVersionIds)
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 SCFrameworkVersion fetchSCFrameworkVersion(long frameworkVersionId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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)
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 List<SCFrameworkVersion> getProductVersionFrameworkVersions(long productVersionId)
           
 SCFrameworkVersion getSCFrameworkVersion(long frameworkVersionId)
          Returns the s c framework version with the primary key.
 List<SCFrameworkVersion> getSCFrameworkVersions(int start, int end)
          Returns a range of all the s c framework versions.
 int getSCFrameworkVersionsCount()
          Returns the number of s c framework versions.
 long[] getSCProductVersionPrimaryKeys(long frameworkVersionId)
          Returns the productVersionIds of the s c product versions associated with the s c framework version.
 List<SCFrameworkVersion> getSCProductVersionSCFrameworkVersions(long productVersionId)
           
 List<SCFrameworkVersion> getSCProductVersionSCFrameworkVersions(long productVersionId, int start, int end)
           
 List<SCFrameworkVersion> getSCProductVersionSCFrameworkVersions(long productVersionId, int start, int end, OrderByComparator<SCFrameworkVersion> orderByComparator)
           
 int getSCProductVersionSCFrameworkVersionsCount(long productVersionId)
           
 boolean hasSCProductVersionSCFrameworkVersion(long productVersionId, long frameworkVersionId)
           
 boolean hasSCProductVersionSCFrameworkVersions(long productVersionId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setSCProductVersionSCFrameworkVersions(long productVersionId, long[] frameworkVersionIds)
           
 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 or adds it if it does not yet exist.
 

Method Detail

addFrameworkVersion

SCFrameworkVersion addFrameworkVersion(long userId,
                                       String name,
                                       String url,
                                       boolean active,
                                       int priority,
                                       ServiceContext serviceContext)
                                       throws PortalException
Throws:
PortalException

addFrameworkVersionResources

void addFrameworkVersionResources(SCFrameworkVersion frameworkVersion,
                                  boolean addGroupPermissions,
                                  boolean addGuestPermissions)
                                  throws PortalException
Throws:
PortalException

addFrameworkVersionResources

void addFrameworkVersionResources(SCFrameworkVersion frameworkVersion,
                                  String[] groupPermissions,
                                  String[] guestPermissions)
                                  throws PortalException
Throws:
PortalException

addFrameworkVersionResources

void addFrameworkVersionResources(long frameworkVersionId,
                                  boolean addGroupPermissions,
                                  boolean addGuestPermissions)
                                  throws PortalException
Throws:
PortalException

addFrameworkVersionResources

void addFrameworkVersionResources(long frameworkVersionId,
                                  String[] groupPermissions,
                                  String[] guestPermissions)
                                  throws PortalException
Throws:
PortalException

addSCFrameworkVersion

@Indexable(type=REINDEX)
SCFrameworkVersion addSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
Adds the s c framework version to the database. Also notifies the appropriate model listeners.

Parameters:
scFrameworkVersion - the s c framework version
Returns:
the s c framework version that was added

addSCProductVersionSCFrameworkVersion

void addSCProductVersionSCFrameworkVersion(long productVersionId,
                                           long frameworkVersionId)

addSCProductVersionSCFrameworkVersion

void addSCProductVersionSCFrameworkVersion(long productVersionId,
                                           SCFrameworkVersion scFrameworkVersion)

addSCProductVersionSCFrameworkVersions

void addSCProductVersionSCFrameworkVersions(long productVersionId,
                                            List<SCFrameworkVersion> SCFrameworkVersions)

addSCProductVersionSCFrameworkVersions

void addSCProductVersionSCFrameworkVersions(long productVersionId,
                                            long[] frameworkVersionIds)

clearSCProductVersionSCFrameworkVersions

void clearSCProductVersionSCFrameworkVersions(long productVersionId)

createSCFrameworkVersion

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.

Parameters:
frameworkVersionId - the primary key for the new s c framework version
Returns:
the new s c framework version

deleteFrameworkVersion

void deleteFrameworkVersion(SCFrameworkVersion frameworkVersion)

deleteFrameworkVersion

void deleteFrameworkVersion(long frameworkVersionId)
                            throws PortalException
Throws:
PortalException

deleteFrameworkVersions

void deleteFrameworkVersions(long groupId)

deletePersistedModel

PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Throws:
PortalException

deleteSCFrameworkVersion

@Indexable(type=DELETE)
SCFrameworkVersion deleteSCFrameworkVersion(long frameworkVersionId)
                                            throws PortalException
Deletes the s c framework version with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
frameworkVersionId - the primary key of the s c framework version
Returns:
the s c framework version that was removed
Throws:
PortalException - if a s c framework version with the primary key could not be found

deleteSCFrameworkVersion

@Indexable(type=DELETE)
SCFrameworkVersion deleteSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
Deletes the s c framework version from the database. Also notifies the appropriate model listeners.

Parameters:
scFrameworkVersion - the s c framework version
Returns:
the s c framework version that was removed

deleteSCProductVersionSCFrameworkVersion

void deleteSCProductVersionSCFrameworkVersion(long productVersionId,
                                              long frameworkVersionId)

deleteSCProductVersionSCFrameworkVersion

void deleteSCProductVersionSCFrameworkVersion(long productVersionId,
                                              SCFrameworkVersion scFrameworkVersion)

deleteSCProductVersionSCFrameworkVersions

void deleteSCProductVersionSCFrameworkVersions(long productVersionId,
                                               List<SCFrameworkVersion> SCFrameworkVersions)

deleteSCProductVersionSCFrameworkVersions

void deleteSCProductVersionSCFrameworkVersions(long productVersionId,
                                               long[] frameworkVersionIds)

dynamicQuery

DynamicQuery dynamicQuery()

dynamicQuery

<T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

<T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

<T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator<T> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery,
                       Projection projection)
Returns the number of rows matching the dynamic query.

Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchSCFrameworkVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCFrameworkVersion fetchSCFrameworkVersion(long frameworkVersionId)

getActionableDynamicQuery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ActionableDynamicQuery getActionableDynamicQuery()

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

getFrameworkVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
                                       throws PortalException
Throws:
PortalException

getFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                                                       boolean active)

getFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                                                       boolean active,
                                                                                       int start,
                                                                                       int end)

getFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                                                       int start,
                                                                                       int end)

getFrameworkVersionsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFrameworkVersionsCount(long groupId)

getFrameworkVersionsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFrameworkVersionsCount(long groupId,
                                                                       boolean active)

getPersistedModel

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Throws:
PortalException

getProductVersionFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SCFrameworkVersion> getProductVersionFrameworkVersions(long productVersionId)

getSCFrameworkVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCFrameworkVersion getSCFrameworkVersion(long frameworkVersionId)
                                         throws PortalException
Returns the s c framework version with the primary key.

Parameters:
frameworkVersionId - the primary key of the s c framework version
Returns:
the s c framework version
Throws:
PortalException - if a s c framework version with the primary key could not be found

getSCFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SCFrameworkVersion> getSCFrameworkVersions(int start,
                                                                                         int end)
Returns 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.softwarecatalog.model.impl.SCFrameworkVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of s c framework versions
end - the upper bound of the range of s c framework versions (not inclusive)
Returns:
the range of s c framework versions

getSCFrameworkVersionsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getSCFrameworkVersionsCount()
Returns the number of s c framework versions.

Returns:
the number of s c framework versions

getSCProductVersionPrimaryKeys

@Transactional(propagation=SUPPORTS,
               readOnly=true)
long[] getSCProductVersionPrimaryKeys(long frameworkVersionId)
Returns the productVersionIds of the s c product versions associated with the s c framework version.

Parameters:
frameworkVersionId - the frameworkVersionId of the s c framework version
Returns:
long[] the productVersionIds of s c product versions associated with the s c framework version

getSCProductVersionSCFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SCFrameworkVersion> getSCProductVersionSCFrameworkVersions(long productVersionId)

getSCProductVersionSCFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SCFrameworkVersion> getSCProductVersionSCFrameworkVersions(long productVersionId,
                                                                                                         int start,
                                                                                                         int end)

getSCProductVersionSCFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SCFrameworkVersion> getSCProductVersionSCFrameworkVersions(long productVersionId,
                                                                                                         int start,
                                                                                                         int end,
                                                                                                         OrderByComparator<SCFrameworkVersion> orderByComparator)

getSCProductVersionSCFrameworkVersionsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getSCProductVersionSCFrameworkVersionsCount(long productVersionId)

hasSCProductVersionSCFrameworkVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasSCProductVersionSCFrameworkVersion(long productVersionId,
                                                                                       long frameworkVersionId)

hasSCProductVersionSCFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasSCProductVersionSCFrameworkVersions(long productVersionId)

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

setSCProductVersionSCFrameworkVersions

void setSCProductVersionSCFrameworkVersions(long productVersionId,
                                            long[] frameworkVersionIds)

updateFrameworkVersion

SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId,
                                          String name,
                                          String url,
                                          boolean active,
                                          int priority)
                                          throws PortalException
Throws:
PortalException

updateSCFrameworkVersion

@Indexable(type=REINDEX)
SCFrameworkVersion updateSCFrameworkVersion(SCFrameworkVersion scFrameworkVersion)
Updates the s c framework version in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Parameters:
scFrameworkVersion - the s c framework version
Returns:
the s c framework version that was updated

Liferay 7.0-ce-m6