@Entity public class UserTemplateEntity extends Object implements org.eurekaclinical.standardapis.entity.UserTemplateEntity<RoleEntity>
| Constructor and Description |
|---|
UserTemplateEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(RoleEntity role) |
boolean |
equals(Object obj)
Equal to another object of the same class if their id values are equal.
|
String |
getCriteria()
Gets the criteria for triggering auto-authorization.
|
Long |
getId() |
String |
getName() |
List<RoleEntity> |
getRoles() |
int |
hashCode() |
boolean |
isAutoAuthorize() |
void |
removeRole(RoleEntity role) |
void |
setAutoAuthorize(boolean autoAuthorize) |
void |
setCriteria(String criteria)
Sets criteria for triggering auto-authorization.
|
void |
setId(Long inId) |
void |
setName(String inName) |
void |
setRoles(List<RoleEntity> inRoles) |
String |
toString() |
public Long getId()
getId in interface org.eurekaclinical.standardapis.entity.Entity<Long>getId in interface org.eurekaclinical.standardapis.entity.UserTemplateEntity<RoleEntity>public void setId(Long inId)
setId in interface org.eurekaclinical.standardapis.entity.Entity<Long>setId in interface org.eurekaclinical.standardapis.entity.UserTemplateEntity<RoleEntity>public void setName(String inName)
setName in interface org.eurekaclinical.standardapis.entity.UserTemplateEntity<RoleEntity>public String getName()
getName in interface org.eurekaclinical.standardapis.entity.UserTemplateEntity<RoleEntity>public boolean isAutoAuthorize()
public void setAutoAuthorize(boolean autoAuthorize)
public String getCriteria()
null, which means that auto-authorization will always be
triggered when requested. The criteria are expressed as Freemarker
Template Language expressiongetCriteria in interface org.eurekaclinical.standardapis.entity.UserTemplateEntity<RoleEntity>public void setCriteria(String criteria)
null, which means that auto-authorization will always be
triggered when requested.setCriteria in interface org.eurekaclinical.standardapis.entity.UserTemplateEntity<RoleEntity>criteria - the criteria for triggering auto-authorization,
expressed as a Freemarker Template Language expression.public List<RoleEntity> getRoles()
getRoles in interface org.eurekaclinical.standardapis.entity.UserTemplateEntity<RoleEntity>public void setRoles(List<RoleEntity> inRoles)
setRoles in interface org.eurekaclinical.standardapis.entity.UserTemplateEntity<RoleEntity>public void addRole(RoleEntity role)
addRole in interface org.eurekaclinical.standardapis.entity.UserTemplateEntity<RoleEntity>public void removeRole(RoleEntity role)
removeRole in interface org.eurekaclinical.standardapis.entity.UserTemplateEntity<RoleEntity>public boolean equals(Object obj)
Copyright © 2016–2018 Emory University. All rights reserved.