View Javadoc

1   /*
2    *  soapUI, copyright (C) 2004-2009 eviware.com 
3    *
4    *  soapUI is free software; you can redistribute it and/or modify it under the 
5    *  terms of version 2.1 of the GNU Lesser General Public License as published by 
6    *  the Free Software Foundation.
7    *
8    *  soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without 
9    *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
10   *  See the GNU Lesser General Public License for more details at gnu.org.
11   */
12  
13  package com.eviware.soapui.impl.wsdl.support.wss;
14  
15  import java.util.List;
16  
17  import com.eviware.soapui.model.ModelItem;
18  import com.eviware.soapui.model.propertyexpansion.PropertyExpansionContainer;
19  
20  public interface WssContainer extends PropertyExpansionContainer
21  {
22  	public ModelItem getModelItem();
23  
24  	public void addWssContainerListener( WssContainerListener listener );
25  
26  	public void removeWssContainerListener( WssContainerListener listener );
27  
28  	public List<WssCrypto> getCryptoList();
29  
30  	public WssCrypto addCrypto( String source, String password );
31  
32  	public int getCryptoCount();
33  
34  	public WssCrypto getCryptoAt( int index );
35  
36  	public void removeCryptoAt( int row );
37  
38  	public List<IncomingWss> getIncomingWssList();
39  
40  	public IncomingWss addIncomingWss( String label );
41  
42  	public int getIncomingWssCount();
43  
44  	public IncomingWss getIncomingWssAt( int index );
45  
46  	public void removeIncomingWssAt( int row );
47  
48  	public List<OutgoingWss> getOutgoingWssList();
49  
50  	public OutgoingWss addOutgoingWss( String label );
51  
52  	public int getOutgoingWssCount();
53  
54  	public OutgoingWss getOutgoingWssAt( int index );
55  
56  	public void removeOutgoingWssAt( int row );
57  
58  	public WssCrypto getCryptoByName( String cryptoName );
59  
60  	public OutgoingWss getOutgoingWssByName( String outgoingName );
61  
62  	public IncomingWss getIncomingWssByName( String incomingName );
63  
64  	public String[] getCryptoNames();
65  
66  	public String[] getOutgoingWssNames();
67  
68  	public String[] getIncomingWssNames();
69  
70  	public void importConfig( WssContainer wssContainer );
71  }