public class GcubeReleasesServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements GcubeReleasesService
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManagerFactory |
entityManagerFactory |
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
GcubeReleasesServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deletePackage(Package pck)
Delete package.
|
List<Package> |
deletePackages(List<Package> listPcks)
Delete packages.
|
boolean |
deleteRelease(Release release)
Delete release.
|
void |
destroy() |
List<Package> |
filterPackagesForValue(String releaseID,
String filter)
Filter packages for value.
|
AccountingReport |
getAccountingReportForRelease(String releaseInternalId) |
DaoGcubeBuilderReportDBManager<Release> |
getDBManager()
Gets the DB manager.
|
List<Package> |
getPackagesForReleaseID(Release release)
Gets the packages for release id.
|
Release |
getReleaseByID(String releaseID)
Gets the release by id.
|
List<Release> |
getReleases(boolean onlyOnline)
Gets the releases.
|
Map<String,Long> |
getSubsystemsForReleaseID(String releaseID)
Gets the subsystems for release id.
|
void |
incrementPackageAccounting(Package pck,
AccoutingReference reference) |
boolean |
insertNewRelease(Release release)
Insert new release.
|
boolean |
isManagementMode()
Checks if is management mode.
|
List<Package> |
loadPackagesForSubsystem(String releaseID,
String subsystemID)
Load packages for subsystem.
|
boolean |
storeLocalReleaseIntoDB(Release release)
Store local release into db.
|
boolean |
storeReleaseIntoDB(Release release)
Store release into db.
|
Release |
updateReleaseInfo(Release release)
Update release info.
|
checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected static org.slf4j.Logger logger
protected javax.persistence.EntityManagerFactory entityManagerFactory
public DaoGcubeBuilderReportDBManager<Release> getDBManager() throws Exception
Exception - the exceptionpublic List<Release> getReleases(boolean onlyOnline) throws Exception
GcubeReleasesServicegetReleases in interface GcubeReleasesServiceonlyOnline - the only onlineException - the exceptionpublic Map<String,Long> getSubsystemsForReleaseID(String releaseID) throws Exception
GcubeReleasesServicegetSubsystemsForReleaseID in interface GcubeReleasesServicereleaseID - the release idException - the exceptionpublic Release getReleaseByID(String releaseID) throws Exception
GcubeReleasesServicegetReleaseByID in interface GcubeReleasesServicereleaseID - the release idException - the exceptionpublic List<Package> getPackagesForReleaseID(Release release) throws Exception
GcubeReleasesServicegetPackagesForReleaseID in interface GcubeReleasesServicerelease - the releaseException - the exceptionpublic boolean insertNewRelease(Release release) throws Exception
GcubeReleasesServiceinsertNewRelease in interface GcubeReleasesServicerelease - the releaseException - the exceptionpublic boolean storeLocalReleaseIntoDB(Release release) throws Exception
release - the releaseException - the exceptionpublic boolean storeReleaseIntoDB(Release release) throws Exception
release - the releaseException - the exceptionpublic List<Package> loadPackagesForSubsystem(String releaseID, String subsystemID) throws Exception
GcubeReleasesServiceloadPackagesForSubsystem in interface GcubeReleasesServicereleaseID - the idsubsystemID - the subsystem idException - the exceptionpublic Release updateReleaseInfo(Release release) throws Exception
GcubeReleasesServiceupdateReleaseInfo in interface GcubeReleasesServicerelease - the releaseException - the exceptionpublic boolean deletePackage(Package pck) throws Exception
GcubeReleasesServicedeletePackage in interface GcubeReleasesServicepck - the pckException - the exceptionpublic boolean deleteRelease(Release release) throws Exception
GcubeReleasesServicedeleteRelease in interface GcubeReleasesServicerelease - the releaseException - the exceptionpublic List<Package> deletePackages(List<Package> listPcks) throws Exception
GcubeReleasesServicedeletePackages in interface GcubeReleasesServicelistPcks - the list pcksException - the exceptionpublic List<Package> filterPackagesForValue(String releaseID, String filter) throws Exception
GcubeReleasesServicefilterPackagesForValue in interface GcubeReleasesServicereleaseID - the release idfilter - the filterException - the exceptionpublic void incrementPackageAccounting(Package pck, AccoutingReference reference)
incrementPackageAccounting in interface GcubeReleasesServicepublic boolean isManagementMode()
throws Exception
isManagementMode in interface GcubeReleasesServiceException - the exceptionpublic AccountingReport getAccountingReportForRelease(String releaseInternalId) throws Exception
getAccountingReportForRelease in interface GcubeReleasesServiceExceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletCopyright © 2015. All Rights Reserved.