1 package com.instantbank.collections.documents.ejb; 2 3 import java.rmi.RemoteException; 4 import javax.ejb.EJBObject; 5 import com.instantbank.collections.util.InstantbankException; 6 7 public interface DocumentServices extends EJBObject { 8 public String getDocuments(Long companyId) throws RemoteException, InstantbankException; 9 10 11 public String getRules(Long companyId, String documentId) throws RemoteException, InstantbankException; 12 13 14 public void saveDocument(String xml, Long companyId, Long userId) throws RemoteException, InstantbankException; 15 16 17 public void saveRules(Long companyId, String xmlRules) throws RemoteException, InstantbankException; 18 19 20 public String getTrigger() throws RemoteException, InstantbankException; 21 } 22 23