Project

General

Profile

« Previous | Next » 

Revision 5521

Added by berkley about 14 years ago

changes to work with new dataone jars

View differences:

src/edu/ucsb/nceas/metacat/dataone/CrudService.java
443 443
    }
444 444
    
445 445
    /**
446
     * set access permissions on both the science metadata and system metadata
447
     */
448
    public void setAccess(AuthToken token, Identifier id, String principal, String permission,
449
            String permissionType, String permissionOrder)
450
      throws ServiceFailure
451
    {
452
        setAccess(token, id, principal, permission, permissionType, permissionOrder, true);
453
    }
454
    
455
    /**
446 456
     * set access control on the doc
447 457
     * @param token
448 458
     * @param id
......
1314 1324
            case FGDC_STD_001_1_1999: scimeta = true; break;
1315 1325
            case FGDC_STD_001_1998: scimeta = true; break;
1316 1326
            case NCML_2_2: scimeta = true; break;
1327
            case DSPACE_METS_SIP_1_0: scimeta = true; break;
1317 1328
        }
1318 1329
        
1319 1330
        return scimeta;
......
1781 1792
        {
1782 1793
            if(doctype.trim().equals("BIN"))
1783 1794
            {
1784
                format = ObjectFormat.APPLICATIONOCTETSTREAM;
1795
                format = ObjectFormat.OCTET_STREAM;
1785 1796
            }
1786 1797
            else
1787 1798
            {

Also available in: Unified diff