}
@Override
public SAcl save(String target, long targetId, S3Grant grant, int grantOrder) {
SAclVO aclEntry = new SAclVO();
aclEntry.setTarget(target);
aclEntry.setTargetId(targetId);
aclEntry.setGrantOrder(grantOrder);
int grantee = grant.getGrantee();
aclEntry.setGranteeType(grantee);
aclEntry.setPermission(grant.getPermission());
aclEntry.setGranteeCanonicalId(grant.getCanonicalUserID());
Date ts = new Date();
aclEntry.setCreateTime(ts);
aclEntry.setLastModifiedTime(ts);
aclEntry = this.persist(aclEntry);
return aclEntry;
}