Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/acs/damsel/client/add/AddSingleAssetForm.java


1   package org.acs.damsel.client.add;
2   
3   import java.util.*;
4   import javax.servlet.http.*;
5   
6   import org.acs.damsel.client.*;
7   import org.acs.damsel.srvr.collection.*;
8   import org.apache.struts.action.*;
9   
10  public class AddSingleAssetForm extends ActionForm {
11    private String collectionSelect;
12    private String theFile = new String();
13    private CollectionMgr cmgr;
14    private Vector cNames;
15  
16    public AddSingleAssetForm() {
17  
18      CollectionMgr cmgr = ClientApp.instance().getCollectionMgr();
19      Vector cNames = cmgr.collectionNames();
20      collectionSelect = cNames.firstElement().toString();
21    }
22  
23    public String getTheFile() {
24      return theFile;
25    }
26    public void setTheFile(String theFile) {
27      this.theFile = theFile;
28    }
29    public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
30      return null;
31    }
32    public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
33    }
34    public String getCollectionSelect() {
35      return collectionSelect;
36    }
37    public void setCollectionSelect(String collectionSelect) {
38      this.collectionSelect = collectionSelect;
39    }
40  }