accounting-manager/src/main/java/org/gcube/portlets/admin/accountingmanager/server/amservice/query/AccountingQueryBuilder.java

27 lines
704 B
Java

package org.gcube.portlets.admin.accountingmanager.server.amservice.query;
import org.gcube.portlets.admin.accountingmanager.shared.exception.AccountingManagerServiceException;
/**
* Abstract class for build Accounting Query
*
* @author "Giancarlo Panichi"
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
*/
public abstract class AccountingQueryBuilder {
protected AccountingQuerySpec accountingQuerySpec;
public AccountingQuerySpec getAccountingQuerySpec(){
return accountingQuerySpec;
}
public void createSpec(){
accountingQuerySpec=new AccountingQuerySpec();
}
public abstract void buildOpEx() throws AccountingManagerServiceException;
}