use of com.joliciel.jochre.security.SecurityDao in project jochre by urieli.
the class JochreImage method getOwner.
/**
* The image's current owner, among the Jochre users.
*/
public User getOwner() {
if (this.owner == null && this.ownerId != 0) {
SecurityDao securityDao = SecurityDao.getInstance(jochreSession);
this.owner = securityDao.loadUser(this.ownerId);
}
return owner;
}
Aggregations