private void getData() {
   query = new QueryGenerator();
   query.setQueryType(queryTypeList.get(0));
   query.setReturnType("ObjectRef");
   query.setParameter(new FindDocuments());
   setView("XDS.b/ITI-18/" + query.getQueryType().getKey() + ".zul");
 }
 @Command
 @NotifyChange({"view", "query"})
 public void SelectQueryType() { // 選擇 Query 型態
   String key = query.getQueryType().getKey();
   logger.info(key);
   if (key.equals("FindDocuments")) {
     query.setParameter(new FindDocuments());
   }
   if (key.equals("FindFolders")) {
     query.setParameter(new FindFolders());
   }
   if (key.equals("FindSubmissionSets")) {
     query.setParameter(new FindSubmissionSets());
   }
   if (key.equals("GetAll")) {
     query.setParameter(new GetAll());
   }
   if (key.equals("GetDocuments")) {
     query.setParameter(new GetDocuments());
   }
   if (key.equals("GetDocumentsAndAssociations")) {
     query.setParameter(new GetDocumentsAndAssociations());
   }
   if (key.equals("GetFolders")) {
     query.setParameter(new GetFolders());
   }
   if (key.equals("GetFolderAndContents")) {
     query.setParameter(new GetFolderAndContents());
   }
   if (key.equals("GetFoldersForDocument")) {
     query.setParameter(new GetFoldersForDocument());
   }
   if (key.equals("GetSubmissionSets")) {
     query.setParameter(new GetSubmissionSets());
   }
   if (key.equals("GetSubmissionsetAndContents")) {
     query.setParameter(new GetSubmissionsetAndContents());
   }
   if (key.equals("GetAssociations")) {
     query.setParameter(new GetAssociations());
   }
   if (key.equals("GetRelatedDocuments")) {
     query.setParameter(new GetRelatedDocuments());
   }
   setView("XDS.b/ITI-18/" + key + ".zul");
 }