throw Caster.toPageException(e);
}
}
public static String _call(PageContext pc , String url, Object objACL) throws PageException, IOException {
S3Resource res=toS3Resource(pc,url,"StoreAddACL");
AccessControlPolicy acp = res.getAccessControlPolicy();
List<AccessControl> acl = acp.getAccessControlList();
List<AccessControl> newACL = AccessControl.toAccessControlList(objACL);
Iterator<AccessControl> it = newACL.iterator();
while(it.hasNext()){
acl.add(it.next());
}
AccessControlPolicy.removeDuplicates(acl);
res.setAccessControlPolicy(acp);
return null;
}