private Set<File> files = new LinkedHashSet<File>();
- private String owner;
+ private String ownerID;
private Map<String, Boolean[]> permissions = new HashMap<String, Boolean[]>();
}
public void populate(String _owner, Response response) {
- this.owner = _owner;
+ this.ownerID = _owner;
String header = response.getHeader("Last-Modified");
if (header != null)
try {
container = name;
prefix = "";
}
- this.owner = _owner;
+ this.ownerID = _owner;
inheritedPermissionsFrom = unmarshallString(o, "x_object_shared_by");
String rawPermissions = unmarshallString(o, "x_object_sharing");
public boolean equals(Object other) {
if (other instanceof Folder) {
Folder o = (Folder) other;
- return (owner == null ? true : owner.equals(o.getOwner()))
+ return (ownerID == null ? true : ownerID.equals(o.getOwnerID()))
&& (getUri().equals(o.getUri()));
}
return false;
return permissions;
}
- public String getOwner() {
- return owner;
+ public String getOwnerID() {
+ return ownerID;
}
public boolean isShared() {