Project

General

Profile

« Previous | Next » 

Revision 5370

Added by berkley almost 14 years ago

listObjects is now working for rest calls as well as crud calls

View differences:

MetacatHandler.java
942 942
        ByteArrayOutputStream baos = new ByteArrayOutputStream();
943 943
        PrintWriter out = new PrintWriter(baos);
944 944
        handleSetAccessAction(out, params, username, null, null);
945
        System.out.println("Set acces to " + permission + " for document " + docid);
946 945
    }
947 946
    
948 947
    /** read metadata or data from Metacat
......
2597 2596
    protected void handleSetAccessAction(PrintWriter out, Hashtable<String, String[]> params,
2598 2597
            String username, HttpServletRequest request, HttpServletResponse response) {
2599 2598
        Logger logMetacat = Logger.getLogger(MetaCatServlet.class);
2600

  
2601 2599
        String permission = null;
2602 2600
        String permType = null;
2603 2601
        String permOrder = null;
......
2743 2741
                    continue;
2744 2742
                }
2745 2743
            }
2746
            
2747 2744
            //force replication when this action is called
2748 2745
            boolean isXml = true;
2749 2746
            if (publicId.equalsIgnoreCase("BIN")) {

Also available in: Unified diff