ref 8460:AccountingManager - Support Java 8 compatibility
https://support.d4science.org/issues/8460 Added support to Java 8 compatibility git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/admin/accounting-manager@148413 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4c4dcf6af8
commit
0ae1ed43db
10
.classpath
10
.classpath
|
@ -22,11 +22,6 @@
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
@ -45,5 +40,10 @@
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="lib" path="/home/giancarlo/gwt/gwt-2.6.1/validation-api-1.0.0.GA.jar" sourcepath="/home/giancarlo/gwt/gwt-2.6.1/validation-api-1.0.0.GA-sources.jar"/>
|
<classpathentry kind="lib" path="/home/giancarlo/gwt/gwt-2.6.1/validation-api-1.0.0.GA.jar" sourcepath="/home/giancarlo/gwt/gwt-2.6.1/validation-api-1.0.0.GA-sources.jar"/>
|
||||||
<classpathentry kind="lib" path="/home/giancarlo/gwt/gwt-2.6.1/validation-api-1.0.0.GA-sources.jar"/>
|
<classpathentry kind="lib" path="/home/giancarlo/gwt/gwt-2.6.1/validation-api-1.0.0.GA-sources.jar"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="owner.project.facets" value="java"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
<classpathentry kind="output" path="target/accounting-manager-1.7.0-SNAPSHOT/WEB-INF/classes"/>
|
<classpathentry kind="output" path="target/accounting-manager-1.7.0-SNAPSHOT/WEB-INF/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||||
<wb-module deploy-name="accounting-manager">
|
<wb-module deploy-name="accounting-manager-1.7.0-SNAPSHOT">
|
||||||
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
|
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
|
||||||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
||||||
<dependent-module archiveName="accounting-manager-theme-1.1.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/accounting-manager-theme/accounting-manager-theme">
|
<dependent-module archiveName="accounting-manager-theme-1.2.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/accounting-manager-theme/accounting-manager-theme">
|
||||||
<dependency-type>uses</dependency-type>
|
<dependency-type>uses</dependency-type>
|
||||||
</dependent-module>
|
</dependent-module>
|
||||||
<property name="java-output-path" value="/accounting-manager/target/accounting-manager-1.3.0-SNAPSHOT/WEB-INF/classes"/>
|
<property name="java-output-path" value="/accounting-manager/target/accounting-manager-1.3.0-SNAPSHOT/WEB-INF/classes"/>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<faceted-project>
|
<faceted-project>
|
||||||
<fixed facet="wst.jsdt.web"/>
|
<fixed facet="wst.jsdt.web"/>
|
||||||
<installed facet="java" version="1.7"/>
|
|
||||||
<installed facet="jst.web" version="3.0"/>
|
<installed facet="jst.web" version="3.0"/>
|
||||||
<installed facet="wst.jsdt.web" version="1.0"/>
|
<installed facet="wst.jsdt.web" version="1.0"/>
|
||||||
|
<installed facet="java" version="1.7"/>
|
||||||
</faceted-project>
|
</faceted-project>
|
||||||
|
|
|
@ -24,8 +24,7 @@ import com.sencha.gxt.widget.core.client.container.Viewport;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingManager implements EntryPoint {
|
public class AccountingManager implements EntryPoint {
|
||||||
|
|
|
@ -54,8 +54,7 @@ import com.sencha.gxt.widget.core.client.container.BorderLayoutContainer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingManagerController {
|
public class AccountingManagerController {
|
||||||
|
|
|
@ -15,8 +15,7 @@ import com.sencha.gxt.widget.core.client.container.Viewport.ViewportAppearance;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class PortalViewport extends SimpleContainer {
|
public class PortalViewport extends SimpleContainer {
|
||||||
|
@ -25,12 +24,11 @@ public class PortalViewport extends SimpleContainer {
|
||||||
|
|
||||||
protected boolean enableScroll;
|
protected boolean enableScroll;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a viewport layout container with the default appearance.
|
* Creates a viewport layout container with the default appearance.
|
||||||
*/
|
*/
|
||||||
public PortalViewport() {
|
public PortalViewport() {
|
||||||
this(GWT.<ViewportAppearance> create(ViewportAppearance.class));
|
this(GWT.<ViewportAppearance>create(ViewportAppearance.class));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -45,15 +43,14 @@ public class PortalViewport extends SimpleContainer {
|
||||||
|
|
||||||
SafeHtmlBuilder sb = new SafeHtmlBuilder();
|
SafeHtmlBuilder sb = new SafeHtmlBuilder();
|
||||||
appearance.render(sb);
|
appearance.render(sb);
|
||||||
XElement element=XDOM.create(sb.toSafeHtml());
|
XElement element = XDOM.create(sb.toSafeHtml());
|
||||||
setElement((Element)element);
|
setElement((Element) element);
|
||||||
monitorWindowResize = true;
|
monitorWindowResize = true;
|
||||||
forceLayoutOnResize = true;
|
forceLayoutOnResize = true;
|
||||||
getFocusSupport().setIgnore(false);
|
getFocusSupport().setIgnore(false);
|
||||||
resize();
|
resize();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.error("PortalViewport: constructor error "
|
Log.error("PortalViewport: constructor error " + e.getLocalizedMessage());
|
||||||
+ e.getLocalizedMessage());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,21 +99,19 @@ public class PortalViewport extends SimpleContainer {
|
||||||
|
|
||||||
protected void resize() {
|
protected void resize() {
|
||||||
int viewWidth;
|
int viewWidth;
|
||||||
if(enableScroll){
|
if (enableScroll) {
|
||||||
viewWidth= calculateWidth() - rightScrollBarSize;
|
viewWidth = calculateWidth() - rightScrollBarSize;
|
||||||
} else {
|
} else {
|
||||||
viewWidth = calculateWidth();
|
viewWidth = calculateWidth();
|
||||||
}
|
}
|
||||||
|
|
||||||
int viewHeight = calculateHeight();
|
int viewHeight = calculateHeight();
|
||||||
Log.info("AM resize viewWidth: " + viewWidth + " viewHeight: "
|
Log.info("AM resize viewWidth: " + viewWidth + " viewHeight: " + viewHeight + " clientWidth: "
|
||||||
+ viewHeight + " clientWidth: " + Window.getClientWidth()
|
+ Window.getClientWidth() + " clientHeight: " + Window.getClientHeight());
|
||||||
+ " clientHeight: " + Window.getClientHeight());
|
|
||||||
try {
|
try {
|
||||||
setPixelSize(viewWidth, viewHeight);
|
setPixelSize(viewWidth, viewHeight);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.error("PortalViewport: error in resize() at setPixelSize "
|
Log.error("PortalViewport: error in resize() at setPixelSize " + e.getLocalizedMessage());
|
||||||
+ e.getLocalizedMessage());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,10 +122,8 @@ public class PortalViewport extends SimpleContainer {
|
||||||
protected void onWindowResize(int width, int height) {
|
protected void onWindowResize(int width, int height) {
|
||||||
int viewWidth = calculateWidth();
|
int viewWidth = calculateWidth();
|
||||||
int viewHeight = calculateHeight();
|
int viewHeight = calculateHeight();
|
||||||
Log.trace("AM onWindowResize viewWidth: " + viewWidth
|
Log.trace("AM onWindowResize viewWidth: " + viewWidth + " viewHeight: " + viewHeight + " clientWidth: "
|
||||||
+ " viewHeight: " + viewHeight + " clientWidth: "
|
+ Window.getClientWidth() + " clientHeight: " + Window.getClientHeight());
|
||||||
+ Window.getClientWidth() + " clientHeight: "
|
|
||||||
+ Window.getClientHeight());
|
|
||||||
setPixelSize(viewWidth, viewHeight);
|
setPixelSize(viewWidth, viewHeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,23 +149,29 @@ public class PortalViewport extends SimpleContainer {
|
||||||
* int rootWidth = Window.getClientWidth() - 2* leftBorder; //-
|
* int rootWidth = Window.getClientWidth() - 2* leftBorder; //-
|
||||||
* rightScrollBar;
|
* rightScrollBar;
|
||||||
*
|
*
|
||||||
* System.out.println("New workspace dimension Height: "+rootHeight+" Width: "
|
* System.out.println("New workspace dimension Height: "
|
||||||
* +rootWidth);
|
* +rootHeight+" Width: " +rootWidth);
|
||||||
*
|
*
|
||||||
* this.setHeight(rootHeight); this.setWidth(rootWidth); }
|
* this.setHeight(rootHeight); this.setWidth(rootWidth); }
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @return the with calculate
|
||||||
|
*/
|
||||||
protected int calculateWidth() {
|
protected int calculateWidth() {
|
||||||
int leftBorder = getAbsoluteLeft();
|
int leftBorder = getAbsoluteLeft();
|
||||||
Log.info("AM width: "
|
Log.info("AM width: " + String.valueOf(Window.getClientWidth() - 2 * leftBorder));
|
||||||
+ String.valueOf(Window.getClientWidth() - 2 * leftBorder));
|
|
||||||
return Window.getClientWidth() - 2 * leftBorder;
|
return Window.getClientWidth() - 2 * leftBorder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @return the height calculate
|
||||||
|
*/
|
||||||
protected int calculateHeight() {
|
protected int calculateHeight() {
|
||||||
int topBorder = getAbsoluteTop();
|
int topBorder = getAbsoluteTop();
|
||||||
Log.info("AM height: "
|
Log.info("AM height: " + String.valueOf(Window.getClientHeight() - topBorder - 34));
|
||||||
+ String.valueOf(Window.getClientHeight() - topBorder - 34));
|
|
||||||
return Window.getClientHeight() - topBorder - 34;
|
return Window.getClientHeight() - topBorder - 34;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,8 @@ import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.Verti
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class CarouselPanel extends FramedPanel {
|
public class CarouselPanel extends FramedPanel {
|
||||||
|
|
|
@ -12,10 +12,9 @@ import com.sencha.gxt.data.shared.Store.StoreSortInfo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo
|
* @author Giancarlo Panichi
|
||||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
*
|
||||||
* @param <M>
|
* @param <M> type of axis
|
||||||
*/
|
*/
|
||||||
public class FormatedTimeAxis<M> extends CategoryAxis<M, String> {
|
public class FormatedTimeAxis<M> extends CategoryAxis<M, String> {
|
||||||
private Date startDate;
|
private Date startDate;
|
||||||
|
@ -27,6 +26,8 @@ public class FormatedTimeAxis<M> extends CategoryAxis<M, String> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a time axis.
|
* Creates a time axis.
|
||||||
|
*
|
||||||
|
* @param dateTimeFormat date time format
|
||||||
*/
|
*/
|
||||||
public FormatedTimeAxis(DateTimeFormat dateTimeFormat) {
|
public FormatedTimeAxis(DateTimeFormat dateTimeFormat) {
|
||||||
super();
|
super();
|
||||||
|
|
|
@ -9,8 +9,8 @@ import com.google.gwt.event.shared.HasHandlers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingMenuEvent extends
|
public class AccountingMenuEvent extends
|
||||||
|
|
|
@ -10,8 +10,8 @@ import com.google.gwt.event.shared.HasHandlers;
|
||||||
/**
|
/**
|
||||||
* Accounting Period Request Event
|
* Accounting Period Request Event
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingPeriodEvent extends
|
public class AccountingPeriodEvent extends
|
||||||
|
|
|
@ -8,8 +8,8 @@ import com.google.gwt.event.shared.HasHandlers;
|
||||||
/**
|
/**
|
||||||
* Accounting Period Request Event
|
* Accounting Period Request Event
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingPeriodRequestEvent
|
public class AccountingPeriodRequestEvent
|
||||||
|
|
|
@ -9,8 +9,8 @@ import com.google.gwt.event.shared.HasHandlers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class EnableTabsEvent extends
|
public class EnableTabsEvent extends
|
||||||
|
|
|
@ -11,8 +11,8 @@ import com.google.gwt.event.shared.HasHandlers;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ExportRequestEvent extends
|
public class ExportRequestEvent extends
|
||||||
|
|
|
@ -10,8 +10,8 @@ import com.google.gwt.event.shared.HasHandlers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class FiltersChangeEvent extends
|
public class FiltersChangeEvent extends
|
||||||
|
|
|
@ -10,8 +10,8 @@ import com.google.gwt.event.shared.HasHandlers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class SessionExpiredEvent extends GwtEvent<SessionExpiredEvent.SessionExpiredEventHandler> {
|
public class SessionExpiredEvent extends GwtEvent<SessionExpiredEvent.SessionExpiredEventHandler> {
|
||||||
|
|
|
@ -10,8 +10,8 @@ import com.google.gwt.event.shared.HasHandlers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class StateChangeEvent extends
|
public class StateChangeEvent extends
|
||||||
|
|
|
@ -10,8 +10,8 @@ import com.google.gwt.event.shared.HasHandlers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class UIStateEvent extends GwtEvent<UIStateEvent.UIStateHandler> {
|
public class UIStateEvent extends GwtEvent<UIStateEvent.UIStateHandler> {
|
||||||
|
|
|
@ -38,8 +38,8 @@ import com.sencha.gxt.widget.core.client.form.validator.EmptyValidator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingPeriodPanel extends SimpleContainer {
|
public class AccountingPeriodPanel extends SimpleContainer {
|
||||||
|
|
|
@ -95,8 +95,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ActiveFiltersPanel extends SimpleContainer {
|
public class ActiveFiltersPanel extends SimpleContainer {
|
||||||
|
|
|
@ -24,8 +24,8 @@ import com.sencha.gxt.widget.core.client.event.SelectEvent.SelectHandler;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class FiltersPanel extends FramedPanel {
|
public class FiltersPanel extends FramedPanel {
|
||||||
|
|
|
@ -4,8 +4,8 @@ package org.gcube.portlets.admin.accountingmanager.client.graphics;
|
||||||
*
|
*
|
||||||
* Basic Vector 2D
|
* Basic Vector 2D
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Vector2D {
|
public class Vector2D {
|
||||||
|
|
|
@ -18,8 +18,8 @@ import com.sencha.gxt.widget.core.client.FramedPanel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ChartViewerPanel extends FramedPanel {
|
public class ChartViewerPanel extends FramedPanel {
|
||||||
|
|
|
@ -13,8 +13,8 @@ import com.sencha.gxt.widget.core.client.container.SimpleContainer;
|
||||||
/**
|
/**
|
||||||
* Accounting Chart 4 Job
|
* Accounting Chart 4 Job
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingChart4Job extends AccountingChartBuilder {
|
public class AccountingChart4Job extends AccountingChartBuilder {
|
||||||
|
|
|
@ -9,8 +9,8 @@ import com.google.gwt.event.shared.EventBus;
|
||||||
/**
|
/**
|
||||||
* Accounting Chart 4 Portlet
|
* Accounting Chart 4 Portlet
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingChart4Portlet extends AccountingChartBuilder {
|
public class AccountingChart4Portlet extends AccountingChartBuilder {
|
||||||
|
|
|
@ -13,8 +13,8 @@ import com.sencha.gxt.widget.core.client.container.SimpleContainer;
|
||||||
/**
|
/**
|
||||||
* Accounting Chart 4 Service
|
* Accounting Chart 4 Service
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingChart4Service extends AccountingChartBuilder {
|
public class AccountingChart4Service extends AccountingChartBuilder {
|
||||||
|
|
|
@ -11,8 +11,8 @@ import com.sencha.gxt.widget.core.client.container.SimpleContainer;
|
||||||
/**
|
/**
|
||||||
* Accounting Chart 4 Space
|
* Accounting Chart 4 Space
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingChart4Space extends AccountingChartBuilder {
|
public class AccountingChart4Space extends AccountingChartBuilder {
|
||||||
|
|
|
@ -13,8 +13,8 @@ import com.sencha.gxt.widget.core.client.container.SimpleContainer;
|
||||||
/**
|
/**
|
||||||
* Accounting Chart 4 Storage
|
* Accounting Chart 4 Storage
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingChart4Storage extends AccountingChartBuilder {
|
public class AccountingChart4Storage extends AccountingChartBuilder {
|
||||||
|
|
|
@ -9,8 +9,8 @@ import com.google.gwt.event.shared.EventBus;
|
||||||
/**
|
/**
|
||||||
* Accounting Chart 4 Task
|
* Accounting Chart 4 Task
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingChart4Task extends AccountingChartBuilder {
|
public class AccountingChart4Task extends AccountingChartBuilder {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import org.gcube.portlets.admin.accountingmanager.shared.exception.ChartDrawExce
|
||||||
/**
|
/**
|
||||||
* Abstract class for build Accounting Chart
|
* Abstract class for build Accounting Chart
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -6,7 +6,7 @@ import org.gcube.portlets.admin.accountingmanager.shared.exception.ChartDrawExce
|
||||||
/**
|
/**
|
||||||
* Accounting Chart Director
|
* Accounting Chart Director
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -4,8 +4,8 @@ import com.sencha.gxt.widget.core.client.container.Container;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingChartPanel {
|
public class AccountingChartPanel {
|
||||||
|
|
|
@ -4,8 +4,8 @@ package org.gcube.portlets.admin.accountingmanager.client.maindata.charts;
|
||||||
/**
|
/**
|
||||||
* Accounting Chart Specification
|
* Accounting Chart Specification
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingChartSpec {
|
public class AccountingChartSpec {
|
||||||
|
|
|
@ -50,8 +50,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class JobChartBasicPanel extends SimpleContainer {
|
public class JobChartBasicPanel extends SimpleContainer {
|
||||||
|
|
|
@ -48,8 +48,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class JobChartContextPanel extends SimpleContainer {
|
public class JobChartContextPanel extends SimpleContainer {
|
||||||
|
|
|
@ -48,8 +48,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class JobChartTopPanel extends SimpleContainer {
|
public class JobChartTopPanel extends SimpleContainer {
|
||||||
|
|
|
@ -50,8 +50,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ServiceChartBasicPanel extends SimpleContainer {
|
public class ServiceChartBasicPanel extends SimpleContainer {
|
||||||
|
|
|
@ -48,8 +48,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ServiceChartContextPanel extends SimpleContainer {
|
public class ServiceChartContextPanel extends SimpleContainer {
|
||||||
|
|
|
@ -48,8 +48,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ServiceChartTopPanel extends SimpleContainer {
|
public class ServiceChartTopPanel extends SimpleContainer {
|
||||||
|
|
|
@ -48,8 +48,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class SpaceChartSpacesPanel extends SimpleContainer {
|
public class SpaceChartSpacesPanel extends SimpleContainer {
|
||||||
|
|
|
@ -47,8 +47,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class StorageChartBasicPanel extends SimpleContainer {
|
public class StorageChartBasicPanel extends SimpleContainer {
|
||||||
|
|
|
@ -48,8 +48,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class StorageChartContextPanel extends SimpleContainer {
|
public class StorageChartContextPanel extends SimpleContainer {
|
||||||
|
|
|
@ -48,8 +48,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class StorageChartTopPanel extends SimpleContainer {
|
public class StorageChartTopPanel extends SimpleContainer {
|
||||||
|
|
|
@ -4,8 +4,8 @@ package org.gcube.portlets.admin.accountingmanager.client.maindata.charts.utils;
|
||||||
* Note Storage Data are in kB
|
* Note Storage Data are in kB
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ByteUnitMeasure {
|
public class ByteUnitMeasure {
|
||||||
|
@ -53,8 +53,4 @@ public class ByteUnitMeasure {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,8 @@ import java.util.Date;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ChartDateTimeData implements Serializable {
|
public class ChartDateTimeData implements Serializable {
|
||||||
|
@ -21,8 +21,8 @@ public class ChartDateTimeData implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param date
|
* @param date date
|
||||||
* @param value
|
* @param value value
|
||||||
*/
|
*/
|
||||||
public ChartDateTimeData(Date date, Long value) {
|
public ChartDateTimeData(Date date, Long value) {
|
||||||
super();
|
super();
|
||||||
|
|
|
@ -9,8 +9,7 @@ import com.google.gwt.i18n.client.DateTimeFormat;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo
|
* @author Giancarlo Panichi
|
||||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ChartTimeMeasure {
|
public class ChartTimeMeasure {
|
||||||
|
|
|
@ -3,7 +3,6 @@ package org.gcube.portlets.admin.accountingmanager.client.maindata.charts.utils;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi
|
* @author Giancarlo Panichi
|
||||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class DownloadConstants {
|
public class DownloadConstants {
|
||||||
|
|
|
@ -7,8 +7,8 @@ import java.util.List;
|
||||||
* Job Chart Measure
|
* Job Chart Measure
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@ public enum JobChartMeasure {
|
||||||
Duration("Duration"), MaxInvocationTime("Max Invocation Time"), MinInvocationTime(
|
Duration("Duration"), MaxInvocationTime("Max Invocation Time"), MinInvocationTime(
|
||||||
"Min Invocation Time"), OperationCount("Operation Count");
|
"Min Invocation Time"), OperationCount("Operation Count");
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param id
|
* @param id
|
||||||
|
@ -43,8 +42,8 @@ public enum JobChartMeasure {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param id
|
* @param id the id
|
||||||
* @return
|
* @return job chart measure
|
||||||
*/
|
*/
|
||||||
public static JobChartMeasure getFromId(String id) {
|
public static JobChartMeasure getFromId(String id) {
|
||||||
if (id == null || id.isEmpty())
|
if (id == null || id.isEmpty())
|
||||||
|
|
|
@ -7,8 +7,8 @@ import java.util.List;
|
||||||
* Service Chart Measure
|
* Service Chart Measure
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -42,8 +42,8 @@ public enum ServiceChartMeasure {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param id
|
* @param id the id
|
||||||
* @return
|
* @return service chart measure
|
||||||
*/
|
*/
|
||||||
public static ServiceChartMeasure getFromId(String id) {
|
public static ServiceChartMeasure getFromId(String id) {
|
||||||
if (id == null || id.isEmpty())
|
if (id == null || id.isEmpty())
|
||||||
|
|
|
@ -7,8 +7,8 @@ import java.util.List;
|
||||||
* Service Chart Measure
|
* Service Chart Measure
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -42,7 +42,8 @@ public enum SpaceChartMeasure {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @return
|
* the id
|
||||||
|
* @return space chart measure
|
||||||
*/
|
*/
|
||||||
public static SpaceChartMeasure getFromId(String id) {
|
public static SpaceChartMeasure getFromId(String id) {
|
||||||
if (id == null || id.isEmpty())
|
if (id == null || id.isEmpty())
|
||||||
|
|
|
@ -7,8 +7,8 @@ import java.util.List;
|
||||||
* Storage Chart Measure
|
* Storage Chart Measure
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -41,8 +41,8 @@ public enum StorageChartMeasure {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param id
|
* @param id the id
|
||||||
* @return
|
* @return storage chart measure
|
||||||
*/
|
*/
|
||||||
public static StorageChartMeasure getFromId(String id) {
|
public static StorageChartMeasure getFromId(String id) {
|
||||||
if (id == null || id.isEmpty())
|
if (id == null || id.isEmpty())
|
||||||
|
|
|
@ -4,8 +4,8 @@ package org.gcube.portlets.admin.accountingmanager.client.maindata.charts.utils;
|
||||||
* Time Unit
|
* Time Unit
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class TimeUnitMeasure {
|
public class TimeUnitMeasure {
|
||||||
|
|
|
@ -18,8 +18,8 @@ import com.sencha.gxt.widget.core.client.TabPanel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingManagerMenu extends TabPanel {
|
public class AccountingManagerMenu extends TabPanel {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import com.sencha.gxt.widget.core.client.box.AutoProgressMessageBox;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingMonitor extends AutoProgressMessageBox {
|
public class AccountingMonitor extends AutoProgressMessageBox {
|
||||||
|
|
|
@ -10,8 +10,8 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class MonitorRequest {
|
public class MonitorRequest {
|
||||||
|
|
|
@ -8,8 +8,8 @@ import com.google.gwt.event.shared.HasHandlers;
|
||||||
/**
|
/**
|
||||||
* Accounting Period Request Event
|
* Accounting Period Request Event
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class MonitorRequestEvent extends
|
public class MonitorRequestEvent extends
|
||||||
|
|
|
@ -2,8 +2,8 @@ package org.gcube.portlets.admin.accountingmanager.client.monitor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public enum MonitorRequestType {
|
public enum MonitorRequestType {
|
||||||
|
|
|
@ -9,8 +9,8 @@ import com.sencha.gxt.data.shared.PropertyAccess;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface GenresDataProperties extends PropertyAccess<GenresData> {
|
public interface GenresDataProperties extends PropertyAccess<GenresData> {
|
||||||
|
|
|
@ -7,8 +7,8 @@ import com.google.gwt.resources.client.CssResource;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface AccountingManagerCSS extends CssResource {
|
public interface AccountingManagerCSS extends CssResource {
|
||||||
|
|
|
@ -9,8 +9,8 @@ import com.google.gwt.resources.client.ImageResource;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface AccountingManagerResources extends ClientBundle {
|
public interface AccountingManagerResources extends ClientBundle {
|
||||||
|
|
|
@ -20,8 +20,8 @@ import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@RemoteServiceRelativePath("ams")
|
@RemoteServiceRelativePath("ams")
|
||||||
|
@ -29,15 +29,17 @@ public interface AccountingManagerService extends RemoteService {
|
||||||
/**
|
/**
|
||||||
* Get informations on the current user
|
* Get informations on the current user
|
||||||
*
|
*
|
||||||
* @return
|
* @return user info
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public UserInfo hello() throws ServiceException;
|
public UserInfo hello() throws ServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @return
|
* @return timeout
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public Long getClientMonitorTimeout() throws ServiceException;
|
public Long getClientMonitorTimeout() throws ServiceException;
|
||||||
|
|
||||||
|
@ -48,11 +50,12 @@ public interface AccountingManagerService extends RemoteService {
|
||||||
* the resource on which to accounting
|
* the resource on which to accounting
|
||||||
* @param seriesRequest
|
* @param seriesRequest
|
||||||
* filters and constraints descriptions
|
* filters and constraints descriptions
|
||||||
* @return
|
* @return series
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public SeriesResponse getSeriesInCache(AccountingType accountingType,
|
public SeriesResponse getSeriesInCache(AccountingType accountingType, SeriesRequest seriesRequest)
|
||||||
SeriesRequest seriesRequest) throws ServiceException;
|
throws ServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve Accounting Series
|
* Retrieve Accounting Series
|
||||||
|
@ -61,21 +64,21 @@ public interface AccountingManagerService extends RemoteService {
|
||||||
* the resource on which to accounting
|
* the resource on which to accounting
|
||||||
* @param seriesRequest
|
* @param seriesRequest
|
||||||
* filters and constraints descriptions
|
* filters and constraints descriptions
|
||||||
* @return
|
* @return series
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* series exception
|
||||||
*/
|
*/
|
||||||
public String getSeries(AccountingType accountingType,
|
public String getSeries(AccountingType accountingType, SeriesRequest seriesRequest) throws ServiceException;
|
||||||
SeriesRequest seriesRequest) throws ServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Accounting Request Monitor
|
* Accounting Request Monitor
|
||||||
*
|
*
|
||||||
* @param operationId
|
* @param operationId operation id
|
||||||
* @return
|
* @return series
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public SeriesResponse operationMonitor(String operationId)
|
public SeriesResponse operationMonitor(String operationId) throws ServiceException;
|
||||||
throws ServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -83,34 +86,36 @@ public interface AccountingManagerService extends RemoteService {
|
||||||
* type of accounting
|
* type of accounting
|
||||||
* @return list of filter keys
|
* @return list of filter keys
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public ArrayList<FilterKey> getFilterKeys(AccountingType accountingType)
|
public ArrayList<FilterKey> getFilterKeys(AccountingType accountingType) throws ServiceException;
|
||||||
throws ServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @param filterValuesRequest
|
* @param filterValuesRequest
|
||||||
* request values available
|
* request values available
|
||||||
* @return
|
* @return filter values
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public FilterValuesResponse getFilterValues(
|
public FilterValuesResponse getFilterValues(FilterValuesRequest filterValuesRequest) throws ServiceException;
|
||||||
FilterValuesRequest filterValuesRequest) throws ServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve Context available
|
* Retrieve Context available
|
||||||
*
|
*
|
||||||
* @return
|
* @return context
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public Context getContext() throws ServiceException;
|
public Context getContext() throws ServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve spaces available
|
* Retrieve spaces available
|
||||||
*
|
*
|
||||||
* @return
|
* @return spaces
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public Spaces getSpaces() throws ServiceException;
|
public Spaces getSpaces() throws ServiceException;
|
||||||
|
|
||||||
|
@ -118,33 +123,36 @@ public interface AccountingManagerService extends RemoteService {
|
||||||
*
|
*
|
||||||
* @param itemDescription
|
* @param itemDescription
|
||||||
* item description
|
* item description
|
||||||
* @return
|
* @return public link
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public String getPublicLink(ItemDescription itemDescription)
|
public String getPublicLink(ItemDescription itemDescription) throws ServiceException;
|
||||||
throws ServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param accountingStateData
|
* @param accountingType
|
||||||
* @return
|
* accounting type
|
||||||
|
* @return item description
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public ItemDescription saveCSVOnWorkspace(AccountingType accountingType)
|
public ItemDescription saveCSVOnWorkspace(AccountingType accountingType) throws ServiceException;
|
||||||
throws ServiceException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @return
|
* @return enable tabs
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public EnableTabs getEnableTabs() throws ServiceException;
|
public EnableTabs getEnableTabs() throws ServiceException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if the user is in root scope
|
* Check if the user is in root scope
|
||||||
*
|
*
|
||||||
* @return
|
* @return true if is root scope
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public Boolean isRootScope() throws ServiceException;
|
public Boolean isRootScope() throws ServiceException;
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,8 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface AccountingManagerServiceAsync {
|
public interface AccountingManagerServiceAsync {
|
||||||
|
@ -34,6 +34,7 @@ public interface AccountingManagerServiceAsync {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param callback
|
* @param callback
|
||||||
|
* user info callback
|
||||||
*/
|
*/
|
||||||
void hello(AsyncCallback<UserInfo> callback);
|
void hello(AsyncCallback<UserInfo> callback);
|
||||||
|
|
||||||
|
@ -41,6 +42,7 @@ public interface AccountingManagerServiceAsync {
|
||||||
* Retrieve client monitor timeout
|
* Retrieve client monitor timeout
|
||||||
*
|
*
|
||||||
* @param callback
|
* @param callback
|
||||||
|
* client monitor timeout callback
|
||||||
*/
|
*/
|
||||||
void getClientMonitorTimeout(AsyncCallback<Long> callback);
|
void getClientMonitorTimeout(AsyncCallback<Long> callback);
|
||||||
|
|
||||||
|
@ -52,9 +54,10 @@ public interface AccountingManagerServiceAsync {
|
||||||
* @param seriesRequest
|
* @param seriesRequest
|
||||||
* filters and constraints descriptions
|
* filters and constraints descriptions
|
||||||
* @param callback
|
* @param callback
|
||||||
|
* series response callback
|
||||||
*/
|
*/
|
||||||
void getSeriesInCache(AccountingType accountingType,
|
void getSeriesInCache(AccountingType accountingType, SeriesRequest seriesRequest,
|
||||||
SeriesRequest seriesRequest, AsyncCallback<SeriesResponse> callback);
|
AsyncCallback<SeriesResponse> callback);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve Accounting Series
|
* Retrieve Accounting Series
|
||||||
|
@ -64,40 +67,49 @@ public interface AccountingManagerServiceAsync {
|
||||||
* @param seriesRequest
|
* @param seriesRequest
|
||||||
* filters and constraints descriptions
|
* filters and constraints descriptions
|
||||||
* @param callback
|
* @param callback
|
||||||
|
* series callback
|
||||||
*/
|
*/
|
||||||
void getSeries(AccountingType accountingType, SeriesRequest seriesRequest,
|
void getSeries(AccountingType accountingType, SeriesRequest seriesRequest, AsyncCallback<String> callback);
|
||||||
AsyncCallback<String> callback);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Accounting Request Monitor
|
* Accounting Request Monitor
|
||||||
*
|
*
|
||||||
* @param operationId
|
* @param operationId
|
||||||
|
* operation Id
|
||||||
* @param callback
|
* @param callback
|
||||||
|
* series response callback
|
||||||
*/
|
*/
|
||||||
void operationMonitor(String operationId,
|
void operationMonitor(String operationId, AsyncCallback<SeriesResponse> callback);
|
||||||
AsyncCallback<SeriesResponse> callback);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param accountingType
|
* @param accountingType
|
||||||
* accounting type
|
* accounting type
|
||||||
* @param callback
|
* @param callback
|
||||||
|
* array list of filter key callback
|
||||||
*/
|
*/
|
||||||
void getFilterKeys(AccountingType accountingType,
|
void getFilterKeys(AccountingType accountingType, AsyncCallback<ArrayList<FilterKey>> callback);
|
||||||
AsyncCallback<ArrayList<FilterKey>> callback);
|
|
||||||
|
|
||||||
void getFilterValues(FilterValuesRequest filterValuesRequest,
|
/**
|
||||||
AsyncCallback<FilterValuesResponse> callback);
|
*
|
||||||
|
* @param filterValuesRequest
|
||||||
|
* filter value request
|
||||||
|
* @param callback
|
||||||
|
* filter value response callback
|
||||||
|
*/
|
||||||
|
void getFilterValues(FilterValuesRequest filterValuesRequest, AsyncCallback<FilterValuesResponse> callback);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param callback
|
* @param callback
|
||||||
|
* context callback
|
||||||
*/
|
*/
|
||||||
void getContext(AsyncCallback<Context> callback);
|
void getContext(AsyncCallback<Context> callback);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param callback
|
* @param callback
|
||||||
|
* spaces callback
|
||||||
*/
|
*/
|
||||||
void getSpaces(AsyncCallback<Spaces> callback);
|
void getSpaces(AsyncCallback<Spaces> callback);
|
||||||
|
|
||||||
|
@ -106,22 +118,23 @@ public interface AccountingManagerServiceAsync {
|
||||||
* @param itemDescription
|
* @param itemDescription
|
||||||
* item description
|
* item description
|
||||||
* @param callback
|
* @param callback
|
||||||
|
* public link callback
|
||||||
*/
|
*/
|
||||||
void getPublicLink(ItemDescription itemDescription,
|
void getPublicLink(ItemDescription itemDescription, AsyncCallback<String> callback);
|
||||||
AsyncCallback<String> callback);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param accountingStateData
|
* @param accountingType
|
||||||
|
* accounting type
|
||||||
* @param callback
|
* @param callback
|
||||||
|
* item description callback
|
||||||
*/
|
*/
|
||||||
void saveCSVOnWorkspace(AccountingType accountingType,
|
void saveCSVOnWorkspace(AccountingType accountingType, AsyncCallback<ItemDescription> callback);
|
||||||
AsyncCallback<ItemDescription> callback);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param callback
|
* @param callback
|
||||||
* return the list of enabled tabs
|
* the callback that return the list of enabled tabs
|
||||||
*/
|
*/
|
||||||
void getEnableTabs(AsyncCallback<EnableTabs> callback);
|
void getEnableTabs(AsyncCallback<EnableTabs> callback);
|
||||||
|
|
||||||
|
@ -129,6 +142,7 @@ public interface AccountingManagerServiceAsync {
|
||||||
* Check if the user is in root scope
|
* Check if the user is in root scope
|
||||||
*
|
*
|
||||||
* @param callback
|
* @param callback
|
||||||
|
* the callback that return true if is root scope
|
||||||
*/
|
*/
|
||||||
void isRootScope(AsyncCallback<Boolean> callback);
|
void isRootScope(AsyncCallback<Boolean> callback);
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,8 @@ import org.gcube.portlets.admin.accountingmanager.shared.data.AccountingType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingClientState implements Serializable {
|
public class AccountingClientState implements Serializable {
|
||||||
|
|
|
@ -12,8 +12,8 @@ import org.gcube.portlets.admin.accountingmanager.shared.data.response.SeriesRes
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingClientStateData implements Serializable {
|
public class AccountingClientStateData implements Serializable {
|
||||||
|
@ -34,10 +34,11 @@ public class AccountingClientStateData implements Serializable {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param accountingType
|
* @param accountingType
|
||||||
|
* accounting type
|
||||||
* @param rootScope
|
* @param rootScope
|
||||||
|
* root scope
|
||||||
*/
|
*/
|
||||||
public AccountingClientStateData(AccountingType accountingType,
|
public AccountingClientStateData(AccountingType accountingType, Boolean rootScope) {
|
||||||
Boolean rootScope) {
|
|
||||||
super();
|
super();
|
||||||
this.accountingType = accountingType;
|
this.accountingType = accountingType;
|
||||||
this.seriesRequest = null;
|
this.seriesRequest = null;
|
||||||
|
@ -51,15 +52,22 @@ public class AccountingClientStateData implements Serializable {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param accountingType
|
* @param accountingType
|
||||||
|
* accounting type
|
||||||
* @param seriesRequest
|
* @param seriesRequest
|
||||||
|
* series request
|
||||||
* @param seriesResponse
|
* @param seriesResponse
|
||||||
|
* series response
|
||||||
* @param availableFilterKeys
|
* @param availableFilterKeys
|
||||||
|
* available filter keys
|
||||||
* @param availableContext
|
* @param availableContext
|
||||||
|
* available context
|
||||||
|
* @param availableSpaces
|
||||||
|
* available spaces
|
||||||
* @param rootScope
|
* @param rootScope
|
||||||
|
* root scope
|
||||||
*/
|
*/
|
||||||
public AccountingClientStateData(AccountingType accountingType,
|
public AccountingClientStateData(AccountingType accountingType, SeriesRequest seriesRequest,
|
||||||
SeriesRequest seriesRequest, SeriesResponse seriesResponse,
|
SeriesResponse seriesResponse, ArrayList<FilterKey> availableFilterKeys, Context availableContext,
|
||||||
ArrayList<FilterKey> availableFilterKeys, Context availableContext,
|
|
||||||
Spaces availableSpaces, Boolean rootScope) {
|
Spaces availableSpaces, Boolean rootScope) {
|
||||||
super();
|
super();
|
||||||
this.accountingType = accountingType;
|
this.accountingType = accountingType;
|
||||||
|
@ -129,12 +137,10 @@ public class AccountingClientStateData implements Serializable {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "AccountingClientStateData [accountingType=" + accountingType
|
return "AccountingClientStateData [accountingType=" + accountingType + ", seriesRequest=" + seriesRequest
|
||||||
+ ", seriesRequest=" + seriesRequest + ", seriesResponse="
|
+ ", seriesResponse=" + seriesResponse + ", availableFilterKeys=" + availableFilterKeys
|
||||||
+ seriesResponse + ", availableFilterKeys="
|
+ ", availableContext=" + availableContext + ", availableSpaces=" + availableSpaces + ", rootScope="
|
||||||
+ availableFilterKeys + ", availableContext="
|
+ rootScope + "]";
|
||||||
+ availableContext + ", availableSpaces=" + availableSpaces
|
|
||||||
+ ", rootScope=" + rootScope + "]";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,8 @@ package org.gcube.portlets.admin.accountingmanager.client.type;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public enum FiltersChangeType {
|
public enum FiltersChangeType {
|
||||||
|
|
|
@ -2,8 +2,8 @@ package org.gcube.portlets.admin.accountingmanager.client.type;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public enum SessionExpiredType {
|
public enum SessionExpiredType {
|
||||||
|
|
|
@ -5,8 +5,8 @@ package org.gcube.portlets.admin.accountingmanager.client.type;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public enum StateChangeType {
|
public enum StateChangeType {
|
||||||
|
|
|
@ -2,8 +2,8 @@ package org.gcube.portlets.admin.accountingmanager.client.type;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public enum UIStateType {
|
public enum UIStateType {
|
||||||
|
|
|
@ -5,8 +5,8 @@ package org.gcube.portlets.admin.accountingmanager.client.util;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class Format {
|
public class Format {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import com.sencha.gxt.widget.core.client.box.MessageBox;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class InfoMessageBox extends MessageBox {
|
public class InfoMessageBox extends MessageBox {
|
||||||
|
|
|
@ -11,8 +11,8 @@ import com.sencha.gxt.widget.core.client.event.HideEvent.HideHandler;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class UtilsGXT3 {
|
public class UtilsGXT3 {
|
||||||
|
|
|
@ -21,6 +21,11 @@ import org.gcube.portlets.admin.accountingmanager.shared.exception.ServiceExcept
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author Giancarlo Panichi
|
||||||
|
*
|
||||||
|
*/
|
||||||
public class AccountingClientCallable implements Callable<TaskStatus> {
|
public class AccountingClientCallable implements Callable<TaskStatus> {
|
||||||
|
|
||||||
private static Logger logger = LoggerFactory
|
private static Logger logger = LoggerFactory
|
||||||
|
|
|
@ -28,8 +28,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingClientDaemon implements Runnable {
|
public class AccountingClientDaemon implements Runnable {
|
||||||
|
|
|
@ -12,8 +12,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@WebListener
|
@WebListener
|
||||||
|
|
|
@ -45,8 +45,8 @@ import com.google.gwt.user.server.rpc.RemoteServiceServlet;
|
||||||
*
|
*
|
||||||
* Support service request
|
* Support service request
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
|
|
|
@ -26,8 +26,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
* Export Servlet
|
* Export Servlet
|
||||||
*
|
*
|
||||||
|
|
|
@ -2,8 +2,8 @@ package org.gcube.portlets.admin.accountingmanager.server;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class SessionConstants {
|
public class SessionConstants {
|
||||||
|
|
|
@ -11,10 +11,10 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
||||||
*
|
*
|
||||||
* @param <T>
|
*
|
||||||
|
* @param <T> tpye
|
||||||
*/
|
*/
|
||||||
public class SessionOp<T> {
|
public class SessionOp<T> {
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class SessionUtil {
|
public class SessionUtil {
|
||||||
|
@ -257,11 +257,12 @@ public class SessionUtil {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param httpRequest
|
* @param httpSession http session
|
||||||
* @param serviceCredentials
|
* @param serviceCredentials service credentials
|
||||||
* @return
|
* @return hash map of tasks
|
||||||
*/
|
*/
|
||||||
public static HashMap<String, TaskWrapper> getTaskWrapperMap(
|
public static HashMap<String, TaskWrapper> getTaskWrapperMap(
|
||||||
HttpSession httpSession,
|
HttpSession httpSession,
|
||||||
|
@ -274,9 +275,9 @@ public class SessionUtil {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param httpRequest
|
* @param httpSession session
|
||||||
* @param serviceCredentials
|
* @param serviceCredentials service credentials
|
||||||
* @param taskWrapperMap
|
* @param taskWrapperMap task wrapper map
|
||||||
*/
|
*/
|
||||||
public static void setTaskWrapperMap(HttpSession httpSession,
|
public static void setTaskWrapperMap(HttpSession httpSession,
|
||||||
ServiceCredentials serviceCredentials,
|
ServiceCredentials serviceCredentials,
|
||||||
|
|
|
@ -35,8 +35,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingCaller implements AccountingCallerInterface {
|
public class AccountingCaller implements AccountingCallerInterface {
|
||||||
|
|
|
@ -13,8 +13,8 @@ import org.gcube.portlets.admin.accountingmanager.shared.exception.ServiceExcept
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface AccountingCallerInterface {
|
public interface AccountingCallerInterface {
|
||||||
|
|
|
@ -55,8 +55,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingCallerTester implements AccountingCallerInterface {
|
public class AccountingCallerTester implements AccountingCallerInterface {
|
||||||
|
|
|
@ -22,15 +22,14 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingCache implements Serializable {
|
public class AccountingCache implements Serializable {
|
||||||
private static final long serialVersionUID = -4352823042594405108L;
|
private static final long serialVersionUID = -4352823042594405108L;
|
||||||
|
|
||||||
private static Logger logger = LoggerFactory
|
private static Logger logger = LoggerFactory.getLogger(AccountingCache.class);
|
||||||
.getLogger(AccountingCache.class);
|
|
||||||
|
|
||||||
private static final String ACCOUNTING_SERIES_CACHE = "AccountingSeriesCache";
|
private static final String ACCOUNTING_SERIES_CACHE = "AccountingSeriesCache";
|
||||||
private static final String ACCOUNTING_FILTER_VALUES_CACHE = "AccountingFilterValuesCache";
|
private static final String ACCOUNTING_FILTER_VALUES_CACHE = "AccountingFilterValuesCache";
|
||||||
|
@ -49,20 +48,15 @@ public class AccountingCache implements Serializable {
|
||||||
cacheManager = cachingProvider.getCacheManager();
|
cacheManager = cachingProvider.getCacheManager();
|
||||||
logger.info("AccountingCache URI: " + cacheManager.getURI());
|
logger.info("AccountingCache URI: " + cacheManager.getURI());
|
||||||
|
|
||||||
ResourcePoolsBuilder builderSeries = ResourcePoolsBuilder
|
ResourcePoolsBuilder builderSeries = ResourcePoolsBuilder.newResourcePoolsBuilder().heap(60L, MemoryUnit.MB)
|
||||||
.newResourcePoolsBuilder().heap(60L, MemoryUnit.MB)
|
|
||||||
.offheap(240L, MemoryUnit.MB);
|
.offheap(240L, MemoryUnit.MB);
|
||||||
|
|
||||||
// .disk(500L, MemoryUnit.KB)
|
// .disk(500L, MemoryUnit.KB)
|
||||||
|
|
||||||
// .withSizeOfMaxObjectSize(1L, MemoryUnit.KB)
|
// .withSizeOfMaxObjectSize(1L, MemoryUnit.KB)
|
||||||
cacheSeriesConfiguration = CacheConfigurationBuilder
|
cacheSeriesConfiguration = CacheConfigurationBuilder
|
||||||
.newCacheConfigurationBuilder(String.class,
|
.newCacheConfigurationBuilder(String.class, SeriesResponse.class, builderSeries)
|
||||||
SeriesResponse.class, builderSeries)
|
.withExpiry(Expirations.timeToLiveExpiration(org.ehcache.expiry.Duration.of(30L, TimeUnit.MINUTES)))
|
||||||
.withExpiry(
|
|
||||||
Expirations
|
|
||||||
.timeToLiveExpiration(org.ehcache.expiry.Duration
|
|
||||||
.of(30L, TimeUnit.MINUTES)))
|
|
||||||
.withSizeOfMaxObjectSize(50L, MemoryUnit.MB).build();
|
.withSizeOfMaxObjectSize(50L, MemoryUnit.MB).build();
|
||||||
|
|
||||||
// mBeanServer = ManagementFactory.getPlatformMBeanServer();
|
// mBeanServer = ManagementFactory.getPlatformMBeanServer();
|
||||||
|
@ -74,20 +68,15 @@ public class AccountingCache implements Serializable {
|
||||||
* .build(true);
|
* .build(true);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ResourcePoolsBuilder builderFilterValues = ResourcePoolsBuilder
|
ResourcePoolsBuilder builderFilterValues = ResourcePoolsBuilder.newResourcePoolsBuilder()
|
||||||
.newResourcePoolsBuilder().heap(10L, MemoryUnit.MB)
|
.heap(10L, MemoryUnit.MB).offheap(30L, MemoryUnit.MB);
|
||||||
.offheap(30L, MemoryUnit.MB);
|
|
||||||
|
|
||||||
// .disk(500L, MemoryUnit.KB)
|
// .disk(500L, MemoryUnit.KB)
|
||||||
|
|
||||||
// .withSizeOfMaxObjectSize(1L, MemoryUnit.KB)
|
// .withSizeOfMaxObjectSize(1L, MemoryUnit.KB)
|
||||||
cacheFilterValuesConfiguration = CacheConfigurationBuilder
|
cacheFilterValuesConfiguration = CacheConfigurationBuilder
|
||||||
.newCacheConfigurationBuilder(String.class,
|
.newCacheConfigurationBuilder(String.class, FilterValuesResponse.class, builderFilterValues)
|
||||||
FilterValuesResponse.class, builderFilterValues)
|
.withExpiry(Expirations.timeToLiveExpiration(org.ehcache.expiry.Duration.of(30L, TimeUnit.MINUTES)))
|
||||||
.withExpiry(
|
|
||||||
Expirations
|
|
||||||
.timeToLiveExpiration(org.ehcache.expiry.Duration
|
|
||||||
.of(30L, TimeUnit.MINUTES)))
|
|
||||||
.withSizeOfMaxObjectSize(4L, MemoryUnit.MB).build();
|
.withSizeOfMaxObjectSize(4L, MemoryUnit.MB).build();
|
||||||
|
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
|
@ -97,14 +86,13 @@ public class AccountingCache implements Serializable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private Cache<String, SeriesResponse> initCacheSeries()
|
private Cache<String, SeriesResponse> initCacheSeries() throws ServiceException {
|
||||||
throws ServiceException {
|
|
||||||
try {
|
try {
|
||||||
String cacheSeriesName = ACCOUNTING_SERIES_CACHE;
|
String cacheSeriesName = ACCOUNTING_SERIES_CACHE;
|
||||||
|
|
||||||
// create the cache
|
// create the cache
|
||||||
Cache<String, SeriesResponse> cacheSeries = cacheManager.getCache(
|
Cache<String, SeriesResponse> cacheSeries = cacheManager.getCache(cacheSeriesName, String.class,
|
||||||
cacheSeriesName, String.class, SeriesResponse.class);
|
SeriesResponse.class);
|
||||||
|
|
||||||
if (cacheSeries == null) {
|
if (cacheSeries == null) {
|
||||||
/*
|
/*
|
||||||
|
@ -118,11 +106,8 @@ public class AccountingCache implements Serializable {
|
||||||
* cache = cacheManager.createCache(cacheName, config);
|
* cache = cacheManager.createCache(cacheName, config);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
cacheSeries = cacheManager
|
cacheSeries = cacheManager.createCache(cacheSeriesName,
|
||||||
.createCache(
|
Eh107Configuration.fromEhcacheCacheConfiguration(cacheSeriesConfiguration));
|
||||||
cacheSeriesName,
|
|
||||||
Eh107Configuration
|
|
||||||
.fromEhcacheCacheConfiguration(cacheSeriesConfiguration));
|
|
||||||
cacheManager.enableManagement(cacheSeriesName, true);
|
cacheManager.enableManagement(cacheSeriesName, true);
|
||||||
cacheManager.enableStatistics(cacheSeriesName, true);
|
cacheManager.enableStatistics(cacheSeriesName, true);
|
||||||
|
|
||||||
|
@ -148,25 +133,18 @@ public class AccountingCache implements Serializable {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private Cache<String, FilterValuesResponse> initCacheFilterValues() throws ServiceException {
|
||||||
|
|
||||||
private Cache<String, FilterValuesResponse> initCacheFilterValues()
|
|
||||||
throws ServiceException {
|
|
||||||
try {
|
try {
|
||||||
String cacheFilterValuesName = ACCOUNTING_FILTER_VALUES_CACHE;
|
String cacheFilterValuesName = ACCOUNTING_FILTER_VALUES_CACHE;
|
||||||
|
|
||||||
// create the cache
|
// create the cache
|
||||||
Cache<String, FilterValuesResponse> cacheFilterValues = cacheManager
|
Cache<String, FilterValuesResponse> cacheFilterValues = cacheManager.getCache(cacheFilterValuesName,
|
||||||
.getCache(cacheFilterValuesName, String.class,
|
String.class, FilterValuesResponse.class);
|
||||||
FilterValuesResponse.class);
|
|
||||||
|
|
||||||
if (cacheFilterValues == null) {
|
if (cacheFilterValues == null) {
|
||||||
|
|
||||||
cacheFilterValues = cacheManager
|
cacheFilterValues = cacheManager.createCache(cacheFilterValuesName,
|
||||||
.createCache(
|
Eh107Configuration.fromEhcacheCacheConfiguration(cacheFilterValuesConfiguration));
|
||||||
cacheFilterValuesName,
|
|
||||||
Eh107Configuration
|
|
||||||
.fromEhcacheCacheConfiguration(cacheFilterValuesConfiguration));
|
|
||||||
cacheManager.enableManagement(cacheFilterValuesName, true);
|
cacheManager.enableManagement(cacheFilterValuesName, true);
|
||||||
cacheManager.enableStatistics(cacheFilterValuesName, true);
|
cacheManager.enableStatistics(cacheFilterValuesName, true);
|
||||||
|
|
||||||
|
@ -182,8 +160,7 @@ public class AccountingCache implements Serializable {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void putSeries(String key, SeriesResponse value)
|
public void putSeries(String key, SeriesResponse value) throws ServiceException {
|
||||||
throws ServiceException {
|
|
||||||
logger.debug("Cache put: [" + key + ", " + value + "]");
|
logger.debug("Cache put: [" + key + ", " + value + "]");
|
||||||
Cache<String, SeriesResponse> cacheSeries = initCacheSeries();
|
Cache<String, SeriesResponse> cacheSeries = initCacheSeries();
|
||||||
cacheSeries.put(key, value);
|
cacheSeries.put(key, value);
|
||||||
|
@ -194,8 +171,10 @@ public class AccountingCache implements Serializable {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param key
|
* @param key
|
||||||
* @return
|
* key
|
||||||
|
* @return series response
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public SeriesResponse getSeries(String key) throws ServiceException {
|
public SeriesResponse getSeries(String key) throws ServiceException {
|
||||||
logger.debug("Cache get: [" + key + "]");
|
logger.debug("Cache get: [" + key + "]");
|
||||||
|
@ -205,15 +184,16 @@ public class AccountingCache implements Serializable {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param key
|
* @param key
|
||||||
|
* key
|
||||||
* @param value
|
* @param value
|
||||||
|
* value
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public void putFilterValues(String key, FilterValuesResponse value)
|
public void putFilterValues(String key, FilterValuesResponse value) throws ServiceException {
|
||||||
throws ServiceException {
|
|
||||||
logger.debug("Cache put: [" + key + ", " + value + "]");
|
logger.debug("Cache put: [" + key + ", " + value + "]");
|
||||||
Cache<String, FilterValuesResponse> cacheFilterValues = initCacheFilterValues();
|
Cache<String, FilterValuesResponse> cacheFilterValues = initCacheFilterValues();
|
||||||
cacheFilterValues.put(key, value);
|
cacheFilterValues.put(key, value);
|
||||||
|
@ -224,8 +204,10 @@ public class AccountingCache implements Serializable {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param key
|
* @param key
|
||||||
* @return
|
* key
|
||||||
|
* @return filter values
|
||||||
* @throws ServiceException
|
* @throws ServiceException
|
||||||
|
* service exception
|
||||||
*/
|
*/
|
||||||
public FilterValuesResponse getFilterValues(String key) throws ServiceException {
|
public FilterValuesResponse getFilterValues(String key) throws ServiceException {
|
||||||
logger.debug("Cache get: [" + key + "]");
|
logger.debug("Cache get: [" + key + "]");
|
||||||
|
@ -244,17 +226,13 @@ public class AccountingCache implements Serializable {
|
||||||
cacheManager.destroyCache(cacheName);
|
cacheManager.destroyCache(cacheName);
|
||||||
}
|
}
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
logger.error(
|
logger.error("Error destroying the AccountingCache: " + e.getLocalizedMessage(), e);
|
||||||
"Error destroying the AccountingCache: "
|
|
||||||
+ e.getLocalizedMessage(), e);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
cacheManager.close();
|
cacheManager.close();
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
logger.error(
|
logger.error("Error closing AccountingCache manager: " + e.getLocalizedMessage(), e);
|
||||||
"Error closing AccountingCache manager: "
|
|
||||||
+ e.getLocalizedMessage(), e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
super.finalize();
|
super.finalize();
|
||||||
|
|
|
@ -24,8 +24,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingCommandBasic implements
|
public class AccountingCommandBasic implements
|
||||||
|
|
|
@ -24,8 +24,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingCommandContext implements AccountingCommand<SeriesResponse> {
|
public class AccountingCommandContext implements AccountingCommand<SeriesResponse> {
|
||||||
|
|
|
@ -16,8 +16,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingCommandGetFilterKeys implements
|
public class AccountingCommandGetFilterKeys implements
|
||||||
|
|
|
@ -27,8 +27,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingCommandGetFilterValues implements
|
public class AccountingCommandGetFilterValues implements
|
||||||
|
|
|
@ -12,8 +12,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingCommandGetSpaces implements
|
public class AccountingCommandGetSpaces implements
|
||||||
|
|
|
@ -19,8 +19,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingCommandSpaces implements
|
public class AccountingCommandSpaces implements
|
||||||
|
|
|
@ -23,8 +23,8 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Giancarlo Panichi email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingCommandTop implements AccountingCommand<SeriesResponse> {
|
public class AccountingCommandTop implements AccountingCommand<SeriesResponse> {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import org.gcube.portlets.admin.accountingmanager.shared.data.ChartType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingQuery {
|
public class AccountingQuery {
|
||||||
|
|
|
@ -21,8 +21,8 @@ import org.slf4j.LoggerFactory;
|
||||||
/**
|
/**
|
||||||
* Accounting Query 4 Job
|
* Accounting Query 4 Job
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingQuery4Job extends AccountingQueryBuilder {
|
public class AccountingQuery4Job extends AccountingQueryBuilder {
|
||||||
|
|
|
@ -21,8 +21,8 @@ import org.slf4j.LoggerFactory;
|
||||||
/**
|
/**
|
||||||
* Accounting Query 4 Portlet
|
* Accounting Query 4 Portlet
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingQuery4Portlet extends AccountingQueryBuilder {
|
public class AccountingQuery4Portlet extends AccountingQueryBuilder {
|
||||||
|
|
|
@ -21,8 +21,8 @@ import org.slf4j.LoggerFactory;
|
||||||
/**
|
/**
|
||||||
* Accounting Query 4 Service
|
* Accounting Query 4 Service
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingQuery4Service extends AccountingQueryBuilder {
|
public class AccountingQuery4Service extends AccountingQueryBuilder {
|
||||||
|
|
|
@ -19,8 +19,8 @@ import org.slf4j.LoggerFactory;
|
||||||
/**
|
/**
|
||||||
* Accounting Query 4 Space
|
* Accounting Query 4 Space
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingQuery4Space extends AccountingQueryBuilder {
|
public class AccountingQuery4Space extends AccountingQueryBuilder {
|
||||||
|
|
|
@ -21,8 +21,8 @@ import org.slf4j.LoggerFactory;
|
||||||
/**
|
/**
|
||||||
* Accounting Query 4 Storage
|
* Accounting Query 4 Storage
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingQuery4Storage extends AccountingQueryBuilder {
|
public class AccountingQuery4Storage extends AccountingQueryBuilder {
|
||||||
|
|
|
@ -21,8 +21,8 @@ import org.slf4j.LoggerFactory;
|
||||||
/**
|
/**
|
||||||
* Accounting Query 4 Task
|
* Accounting Query 4 Task
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi" email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingQuery4Task extends AccountingQueryBuilder {
|
public class AccountingQuery4Task extends AccountingQueryBuilder {
|
||||||
|
|
|
@ -9,8 +9,8 @@ import org.gcube.portlets.admin.accountingmanager.shared.data.ChartType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingQueryBasic extends AccountingQuery {
|
public class AccountingQueryBasic extends AccountingQuery {
|
||||||
|
|
|
@ -7,7 +7,7 @@ import org.gcube.portlets.admin.accountingmanager.shared.exception.ServiceExcept
|
||||||
/**
|
/**
|
||||||
* Abstract class for build Accounting Query
|
* Abstract class for build Accounting Query
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -10,8 +10,8 @@ import org.gcube.portlets.admin.accountingmanager.shared.data.Context;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author giancarlo email: <a
|
* @author Giancarlo Panichi
|
||||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class AccountingQueryContext extends AccountingQuery {
|
public class AccountingQueryContext extends AccountingQuery {
|
||||||
|
|
|
@ -8,7 +8,7 @@ import org.gcube.portlets.admin.accountingmanager.shared.exception.ServiceExcept
|
||||||
/**
|
/**
|
||||||
* Accounting Query Director
|
* Accounting Query Director
|
||||||
*
|
*
|
||||||
* @author "Giancarlo Panichi"
|
* @author Giancarlo Panichi
|
||||||
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue