/* * * Copyright 2013 Entando S.r.l. (http://www.entando.com) All rights reserved. * * This file is part of Entando Enterprise Edition software. * You can redistribute it and/or modify it * under the terms of the Entando's EULA * * See the file License for the specific language governing permissions * and limitations under the License * * * * Copyright 2013 Entando S.r.l. (http://www.entando.com) All rights reserved. * */ package com.agiletec.plugins.jpwtt.aps.system.services.ticket; import java.util.List; import com.agiletec.aps.system.exception.ApsSystemException; import com.agiletec.plugins.jpwtt.aps.system.services.ticket.model.ITicketSearchBean; import com.agiletec.plugins.jpwtt.aps.system.services.ticket.model.Ticket; import com.agiletec.plugins.jpwtt.aps.system.services.ticket.model.TicketOperation; /** * Interface for Data Access Object for Ticket Objects. * @version 1.0 * @author S.Didaci - G.Cocco */ public interface ITicketDAO { public List<Ticket> loadTickets() throws ApsSystemException; public List<String> searchTicketIds(ITicketSearchBean searchBean) throws ApsSystemException; public Ticket loadTicket(String code) throws ApsSystemException; public List<TicketOperation> loadTicketOperations(String code) throws ApsSystemException; public void addTicket(Ticket ticket) throws ApsSystemException; public void updateTicketWithOperation(Ticket ticket, TicketOperation operation) throws ApsSystemException; }