Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • DM/dm-docs
  • hammonds/dm-docs
  • hparraga/dm-docs
3 results
Show changes
Showing
with 3120 additions and 0 deletions
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
/**
*
* @author sveseli
*/
@Entity
@Table(name = "experiment_type")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "ExperimentType.findAll", query = "SELECT e FROM ExperimentType e")
, @NamedQuery(name = "ExperimentType.findById", query = "SELECT e FROM ExperimentType e WHERE e.id = :id")
, @NamedQuery(name = "ExperimentType.findByName", query = "SELECT e FROM ExperimentType e WHERE e.name = :name")
, @NamedQuery(name = "ExperimentType.findByDescription", query = "SELECT e FROM ExperimentType e WHERE e.description = :description")})
public class ExperimentType extends DmEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
private Integer id;
@Basic(optional = false)
@NotNull
private String name;
private String description;
@ManyToMany(mappedBy = "experimentTypeList")
private List<ExperimentStation> experimentStationList;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "experimentType")
private List<Experiment> experimentList;
public ExperimentType() {
}
public ExperimentType(Integer id) {
this.id = id;
}
public ExperimentType(Integer id, String name) {
this.id = id;
this.name = name;
}
@Override
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@XmlTransient
public List<ExperimentStation> getExperimentStationList() {
return experimentStationList;
}
public void setExperimentStationList(List<ExperimentStation> experimentStationList) {
this.experimentStationList = experimentStationList;
}
@XmlTransient
public List<Experiment> getExperimentList() {
return experimentList;
}
public void setExperimentList(List<Experiment> experimentList) {
this.experimentList = experimentList;
}
@Override
public int hashCode() {
int hash = 0;
hash += (id != null ? id.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof ExperimentType)) {
return false;
}
ExperimentType other = (ExperimentType) object;
return !((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id)));
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.ExperimentType[ id=" + id + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
/**
*
* @author sveseli
*/
@Entity
@Table(name = "policy_property")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "PolicyProperty.findAll", query = "SELECT p FROM PolicyProperty p")
, @NamedQuery(name = "PolicyProperty.findById", query = "SELECT p FROM PolicyProperty p WHERE p.id = :id")
, @NamedQuery(name = "PolicyProperty.findByName", query = "SELECT p FROM PolicyProperty p WHERE p.name = :name")
, @NamedQuery(name = "PolicyProperty.findByUnits", query = "SELECT p FROM PolicyProperty p WHERE p.units = :units")
, @NamedQuery(name = "PolicyProperty.findByLowerLimit", query = "SELECT p FROM PolicyProperty p WHERE p.lowerLimit = :lowerLimit")
, @NamedQuery(name = "PolicyProperty.findByUpperLimit", query = "SELECT p FROM PolicyProperty p WHERE p.upperLimit = :upperLimit")
, @NamedQuery(name = "PolicyProperty.findByDefaultValue", query = "SELECT p FROM PolicyProperty p WHERE p.defaultValue = :defaultValue")
, @NamedQuery(name = "PolicyProperty.findByDescription", query = "SELECT p FROM PolicyProperty p WHERE p.description = :description")})
public class PolicyProperty extends DmEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
private Integer id;
@Basic(optional = false)
@NotNull
@Size(min = 1, max = 2147483647)
private String name;
@Size(max = 2147483647)
private String units;
@Size(max = 2147483647)
@Column(name = "lower_limit")
private String lowerLimit;
@Size(max = 2147483647)
@Column(name = "upper_limit")
private String upperLimit;
@Size(max = 2147483647)
@Column(name = "default_value")
private String defaultValue;
@Size(max = 2147483647)
private String description;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "policyPropertyId")
private List<ExperimentPolicyPropertyValue> experimentPolicyPropertyValueList;
@JoinColumn(name = "policy_type_id", referencedColumnName = "id")
@ManyToOne(optional = false)
private PolicyType policyTypeId;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "policyPropertyId")
private List<AllowedPolicyValue> allowedPolicyValueList;
public PolicyProperty() {
}
public PolicyProperty(Integer id) {
this.id = id;
}
public PolicyProperty(Integer id, String name) {
this.id = id;
this.name = name;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getUnits() {
return units;
}
public void setUnits(String units) {
this.units = units;
}
public String getLowerLimit() {
return lowerLimit;
}
public void setLowerLimit(String lowerLimit) {
this.lowerLimit = lowerLimit;
}
public String getUpperLimit() {
return upperLimit;
}
public void setUpperLimit(String upperLimit) {
this.upperLimit = upperLimit;
}
public String getDefaultValue() {
return defaultValue;
}
public void setDefaultValue(String defaultValue) {
this.defaultValue = defaultValue;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@XmlTransient
public List<ExperimentPolicyPropertyValue> getExperimentPolicyPropertyValueList() {
return experimentPolicyPropertyValueList;
}
public void setExperimentPolicyPropertyValueList(List<ExperimentPolicyPropertyValue> experimentPolicyPropertyValueList) {
this.experimentPolicyPropertyValueList = experimentPolicyPropertyValueList;
}
public PolicyType getPolicyTypeId() {
return policyTypeId;
}
public void setPolicyTypeId(PolicyType policyTypeId) {
this.policyTypeId = policyTypeId;
}
@XmlTransient
public List<AllowedPolicyValue> getAllowedPolicyValueList() {
return allowedPolicyValueList;
}
public void setAllowedPolicyValueList(List<AllowedPolicyValue> allowedPolicyValueList) {
this.allowedPolicyValueList = allowedPolicyValueList;
}
@Override
public int hashCode() {
int hash = 0;
hash += (id != null ? id.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof PolicyProperty)) {
return false;
}
PolicyProperty other = (PolicyProperty) object;
if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
return false;
}
return true;
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.PolicyProperty[ id=" + id + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
/**
*
* @author sveseli
*/
@Entity
@Table(name = "policy_type")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "PolicyType.findAll", query = "SELECT p FROM PolicyType p")
, @NamedQuery(name = "PolicyType.findById", query = "SELECT p FROM PolicyType p WHERE p.id = :id")
, @NamedQuery(name = "PolicyType.findByName", query = "SELECT p FROM PolicyType p WHERE p.name = :name")
, @NamedQuery(name = "PolicyType.findByDescription", query = "SELECT p FROM PolicyType p WHERE p.description = :description")})
public class PolicyType extends DmEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
private Integer id;
@Basic(optional = false)
@NotNull
@Size(min = 1, max = 2147483647)
private String name;
@Size(max = 2147483647)
private String description;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "policyTypeId")
private List<PolicyProperty> policyPropertyList;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "policyTypeId")
private List<ExperimentPolicy> experimentPolicyList;
public PolicyType() {
}
public PolicyType(Integer id) {
this.id = id;
}
public PolicyType(Integer id, String name) {
this.id = id;
this.name = name;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@XmlTransient
public List<PolicyProperty> getPolicyPropertyList() {
return policyPropertyList;
}
public void setPolicyPropertyList(List<PolicyProperty> policyPropertyList) {
this.policyPropertyList = policyPropertyList;
}
@XmlTransient
public List<ExperimentPolicy> getExperimentPolicyList() {
return experimentPolicyList;
}
public void setExperimentPolicyList(List<ExperimentPolicy> experimentPolicyList) {
this.experimentPolicyList = experimentPolicyList;
}
@Override
public int hashCode() {
int hash = 0;
hash += (id != null ? id.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof PolicyType)) {
return false;
}
PolicyType other = (PolicyType) object;
if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
return false;
}
return true;
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.PolicyType[ id=" + id + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
/**
*
* @author sveseli
*/
@Entity
@Table(name = "setting_type")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "SettingType.findAll", query = "SELECT s FROM SettingType s")
, @NamedQuery(name = "SettingType.findById", query = "SELECT s FROM SettingType s WHERE s.id = :id")
, @NamedQuery(name = "SettingType.findByName", query = "SELECT s FROM SettingType s WHERE s.name = :name")
, @NamedQuery(name = "SettingType.findByDescription", query = "SELECT s FROM SettingType s WHERE s.description = :description")
, @NamedQuery(name = "SettingType.findByDefaultValue", query = "SELECT s FROM SettingType s WHERE s.defaultValue = :defaultValue")
, @NamedQuery(name = "SettingType.findByIsUserModifiable", query = "SELECT s FROM SettingType s WHERE s.isUserModifiable = :isUserModifiable")})
public class SettingType extends DmEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
private Integer id;
@Basic(optional = false)
@NotNull
@Size(min = 1, max = 2147483647)
private String name;
@Size(max = 2147483647)
private String description;
@Size(max = 2147483647)
@Column(name = "default_value")
private String defaultValue;
@Column(name = "is_user_modifiable")
private Boolean isUserModifiable;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "settingTypeId")
private List<AllowedSettingValue> allowedSettingValueList;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "settingTypeId")
private List<UserSetting> userSettingList;
public SettingType() {
}
public SettingType(Integer id) {
this.id = id;
}
public SettingType(Integer id, String name) {
this.id = id;
this.name = name;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getDefaultValue() {
return defaultValue;
}
public void setDefaultValue(String defaultValue) {
this.defaultValue = defaultValue;
}
public Boolean getIsUserModifiable() {
return isUserModifiable;
}
public void setIsUserModifiable(Boolean isUserModifiable) {
this.isUserModifiable = isUserModifiable;
}
@XmlTransient
public List<AllowedSettingValue> getAllowedSettingValueList() {
return allowedSettingValueList;
}
public void setAllowedSettingValueList(List<AllowedSettingValue> allowedSettingValueList) {
this.allowedSettingValueList = allowedSettingValueList;
}
@XmlTransient
public List<UserSetting> getUserSettingList() {
return userSettingList;
}
public void setUserSettingList(List<UserSetting> userSettingList) {
this.userSettingList = userSettingList;
}
@Override
public int hashCode() {
int hash = 0;
hash += (id != null ? id.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof SettingType)) {
return false;
}
SettingType other = (SettingType) object;
if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
return false;
}
return true;
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.SettingType[ id=" + id + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
/**
*
* @author sveseli
*/
@Entity
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "Storage.findAll", query = "SELECT s FROM Storage s")
, @NamedQuery(name = "Storage.findById", query = "SELECT s FROM Storage s WHERE s.id = :id")
, @NamedQuery(name = "Storage.findByName", query = "SELECT s FROM Storage s WHERE s.name = :name")
, @NamedQuery(name = "Storage.findByDefaultScheme", query = "SELECT s FROM Storage s WHERE s.defaultScheme = :defaultScheme")
, @NamedQuery(name = "Storage.findByDescription", query = "SELECT s FROM Storage s WHERE s.description = :description")})
public class Storage extends DmEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
private Integer id;
@Basic(optional = false)
@NotNull
@Size(min = 1, max = 2147483647)
private String name;
@Basic(optional = false)
@NotNull
@Size(min = 1, max = 2147483647)
@Column(name = "default_scheme")
private String defaultScheme;
@Size(max = 2147483647)
private String description;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "storageId")
private List<DataFolder> dataFolderList;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "storageId")
private List<Endpoint> endpointList;
public Storage() {
}
public Storage(Integer id) {
this.id = id;
}
public Storage(Integer id, String name, String defaultScheme) {
this.id = id;
this.name = name;
this.defaultScheme = defaultScheme;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDefaultScheme() {
return defaultScheme;
}
public void setDefaultScheme(String defaultScheme) {
this.defaultScheme = defaultScheme;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@XmlTransient
public List<DataFolder> getDataFolderList() {
return dataFolderList;
}
public void setDataFolderList(List<DataFolder> dataFolderList) {
this.dataFolderList = dataFolderList;
}
@XmlTransient
public List<Endpoint> getEndpointList() {
return endpointList;
}
public void setEndpointList(List<Endpoint> endpointList) {
this.endpointList = endpointList;
}
@Override
public int hashCode() {
int hash = 0;
hash += (id != null ? id.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof Storage)) {
return false;
}
Storage other = (Storage) object;
if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
return false;
}
return true;
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.Storage[ id=" + id + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
/**
*
* @author sveseli
*/
@Entity
@Table(name = "system_role_type")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "SystemRoleType.findAll", query = "SELECT s FROM SystemRoleType s")
, @NamedQuery(name = "SystemRoleType.findById", query = "SELECT s FROM SystemRoleType s WHERE s.id = :id")
, @NamedQuery(name = "SystemRoleType.findByName", query = "SELECT s FROM SystemRoleType s WHERE s.name = :name")
, @NamedQuery(name = "SystemRoleType.findByDescription", query = "SELECT s FROM SystemRoleType s WHERE s.description = :description")
})
public class SystemRoleType extends DmEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
private Integer id;
@Basic(optional = false)
@NotNull
@Size(min = 1, max = 2147483647)
private String name;
@Size(max = 2147483647)
private String description;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "systemRoleType")
private List<UserSystemRole> userSystemRoleList;
public SystemRoleType() {
}
public SystemRoleType(Integer id) {
this.id = id;
}
public SystemRoleType(Integer id, String name) {
this.id = id;
this.name = name;
}
@Override
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@XmlTransient
public List<UserSystemRole> getUserSystemRoleList() {
return userSystemRoleList;
}
public void setUserSystemRoleList(List<UserSystemRole> userSystemRoleList) {
this.userSystemRoleList = userSystemRoleList;
}
@Override
public int hashCode() {
int hash = 0;
hash += (id != null ? id.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof SystemRoleType)) {
return false;
}
SystemRoleType other = (SystemRoleType) object;
return !((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id)));
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.SystemRoleType[ id=" + id + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
/**
*
* @author sveseli
*/
@Entity
@Table(name = "user_experiment_role")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "UserExperimentRole.findAll", query = "SELECT u FROM UserExperimentRole u")
, @NamedQuery(name = "UserExperimentRole.findByUser", query = "SELECT u FROM UserExperimentRole u WHERE u.userExperimentRolePK.userId = :userId")
, @NamedQuery(name = "UserExperimentRole.findByExperiment", query = "SELECT u FROM UserExperimentRole u WHERE u.userExperimentRolePK.experimentId = :experimentId")
, @NamedQuery(name = "UserExperimentRole.findByRoleType", query = "SELECT u FROM UserExperimentRole u WHERE u.userExperimentRolePK.roleTypeId = :roleTypeId")
, @NamedQuery(name = "UserExperimentRole.findByUserAndExperiment", query = "SELECT u FROM UserExperimentRole u WHERE u.userExperimentRolePK.userId = :userId AND u.userExperimentRolePK.experimentId = :experimentId")
, @NamedQuery(name = "UserExperimentRole.findByUserAndExperimentAndRoleType", query = "SELECT u FROM UserExperimentRole u WHERE u.userExperimentRolePK.userId = :userId AND u.userExperimentRolePK.experimentId = :experimentId AND u.userExperimentRolePK.roleTypeId = :roleTypeId")
})
public class UserExperimentRole extends DmEntity {
@EmbeddedId
protected UserExperimentRolePK userExperimentRolePK;
@JoinColumn(name = "experiment_id", referencedColumnName = "id", insertable = false, updatable = false)
@ManyToOne(optional = false)
private Experiment experiment;
@JoinColumn(name = "role_type_id", referencedColumnName = "id", insertable = false, updatable = false)
@ManyToOne(optional = false)
private ExperimentRoleType experimentRoleType;
@JoinColumn(name = "user_id", referencedColumnName = "id", insertable = false, updatable = false)
@ManyToOne(optional = false)
private UserInfo userInfo;
public UserExperimentRole() {
}
public UserExperimentRole(UserExperimentRolePK userExperimentRolePK) {
this.userExperimentRolePK = userExperimentRolePK;
}
public UserExperimentRole(int userId, int experimentId, int roleTypeId) {
this.userExperimentRolePK = new UserExperimentRolePK(userId, experimentId, roleTypeId);
}
public UserExperimentRolePK getUserExperimentRolePK() {
return userExperimentRolePK;
}
public void setUserExperimentRolePK(UserExperimentRolePK userExperimentRolePK) {
this.userExperimentRolePK = userExperimentRolePK;
}
public Experiment getExperiment() {
return experiment;
}
public void setExperiment(Experiment experiment) {
this.experiment = experiment;
}
public ExperimentRoleType getExperimentRoleType() {
return experimentRoleType;
}
public void setExperimentRoleType(ExperimentRoleType experimentRoleType) {
this.experimentRoleType = experimentRoleType;
}
public UserInfo getUserInfo() {
return userInfo;
}
public void setUserInfo(UserInfo userInfo) {
this.userInfo = userInfo;
}
@Override
public int hashCode() {
int hash = 0;
hash += (userExperimentRolePK != null ? userExperimentRolePK.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof UserExperimentRole)) {
return false;
}
UserExperimentRole other = (UserExperimentRole) object;
return !((this.userExperimentRolePK == null && other.userExperimentRolePK != null) || (this.userExperimentRolePK != null && !this.userExperimentRolePK.equals(other.userExperimentRolePK)));
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.UserExperimentRole[ userExperimentRolePK=" + userExperimentRolePK + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.validation.constraints.NotNull;
/**
*
* @author sveseli
*/
@Embeddable
public class UserExperimentRolePK implements Serializable {
@Basic(optional = false)
@NotNull
@Column(name = "user_id")
private int userId;
@Basic(optional = false)
@NotNull
@Column(name = "experiment_id")
private int experimentId;
@Basic(optional = false)
@NotNull
@Column(name = "role_type_id")
private int roleTypeId;
public UserExperimentRolePK() {
}
public UserExperimentRolePK(int userId, int experimentId, int roleTypeId) {
this.userId = userId;
this.experimentId = experimentId;
this.roleTypeId = roleTypeId;
}
public int getUserId() {
return userId;
}
public void setUserId(int userId) {
this.userId = userId;
}
public int getExperimentId() {
return experimentId;
}
public void setExperimentId(int experimentId) {
this.experimentId = experimentId;
}
public int getRoleTypeId() {
return roleTypeId;
}
public void setRoleTypeId(int roleTypeId) {
this.roleTypeId = roleTypeId;
}
@Override
public int hashCode() {
int hash = 0;
hash += (int) userId;
hash += (int) experimentId;
hash += (int) roleTypeId;
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof UserExperimentRolePK)) {
return false;
}
UserExperimentRolePK other = (UserExperimentRolePK) object;
if (this.userId != other.userId) {
return false;
}
if (this.experimentId != other.experimentId) {
return false;
}
return this.roleTypeId == other.roleTypeId;
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.UserExperimentRolePK[ userId=" + userId + ", experimentId=" + experimentId + ", roleTypeId=" + roleTypeId + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import java.util.Date;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
/**
*
* @author sveseli
*/
@Entity
@Table(name = "user_info")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "UserInfo.findAll", query = "SELECT u FROM UserInfo u")
, @NamedQuery(name = "UserInfo.findById", query = "SELECT u FROM UserInfo u WHERE u.id = :id")
, @NamedQuery(name = "UserInfo.findByUsername", query = "SELECT u FROM UserInfo u WHERE u.username = :username")
, @NamedQuery(name = "UserInfo.findByFirstName", query = "SELECT u FROM UserInfo u WHERE u.firstName = :firstName")
, @NamedQuery(name = "UserInfo.findByLastName", query = "SELECT u FROM UserInfo u WHERE u.lastName = :lastName")
, @NamedQuery(name = "UserInfo.findByMiddleName", query = "SELECT u FROM UserInfo u WHERE u.middleName = :middleName")
, @NamedQuery(name = "UserInfo.findByEmail", query = "SELECT u FROM UserInfo u WHERE u.email = :email")
, @NamedQuery(name = "UserInfo.findByBadge", query = "SELECT u FROM UserInfo u WHERE u.badge = :badge")
, @NamedQuery(name = "UserInfo.findByGlobusUsername", query = "SELECT u FROM UserInfo u WHERE u.globusUsername = :globusUsername")
, @NamedQuery(name = "UserInfo.findByDescription", query = "SELECT u FROM UserInfo u WHERE u.description = :description")
, @NamedQuery(name = "UserInfo.findByPassword", query = "SELECT u FROM UserInfo u WHERE u.password = :password")
, @NamedQuery(name = "UserInfo.findByIsLocalUser", query = "SELECT u FROM UserInfo u WHERE u.isLocalUser = :isLocalUser")
, @NamedQuery(name = "UserInfo.findByLastUpdate", query = "SELECT u FROM UserInfo u WHERE u.lastUpdate = :lastUpdate")
})
public class UserInfo extends DmEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
private Integer id;
@Basic(optional = false)
@NotNull
private String username;
@Basic(optional = false)
@NotNull
@Column(name = "first_name")
private String firstName;
@Basic(optional = false)
@NotNull
@Column(name = "last_name")
private String lastName;
@Column(name = "middle_name")
private String middleName;
// @Pattern(regexp="[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?", message="Invalid email")//if the field contains email address consider using this annotation to enforce field validation
private String email;
private String badge;
@Column(name = "globus_username")
private String globusUsername;
private String description;
private String password;
@Basic(optional = false)
@NotNull
@Column(name = "is_local_user")
private boolean isLocalUser;
@Column(name = "last_update")
@Temporal(TemporalType.TIMESTAMP)
private Date lastUpdate;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "userInfo")
private List<UserExperimentRole> userExperimentRoleList;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "userInfo")
private List<UserSystemRole> userSystemRoleList;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "userId")
private List<UserSetting> userSettingList;
public UserInfo() {
}
public UserInfo(Integer id) {
this.id = id;
}
public UserInfo(Integer id, String username, String firstName, String lastName, boolean isLocalUser) {
this.id = id;
this.username = username;
this.firstName = firstName;
this.lastName = lastName;
this.isLocalUser = isLocalUser;
}
@Override
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getMiddleName() {
return middleName;
}
public void setMiddleName(String middleName) {
this.middleName = middleName;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getBadge() {
return badge;
}
public void setBadge(String badge) {
this.badge = badge;
}
public String getGlobusUsername() {
return globusUsername;
}
public void setGlobusUsername(String globusUsername) {
this.globusUsername = globusUsername;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public boolean getIsLocalUser() {
return isLocalUser;
}
public void setIsLocalUser(boolean isLocalUser) {
this.isLocalUser = isLocalUser;
}
public boolean isLocalUser() {
return isLocalUser;
}
public Date getLastUpdate() {
return lastUpdate;
}
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
@XmlTransient
public List<UserExperimentRole> getUserExperimentRoleList() {
return userExperimentRoleList;
}
public void setUserExperimentRoleList(List<UserExperimentRole> userExperimentRoleList) {
this.userExperimentRoleList = userExperimentRoleList;
}
@XmlTransient
public List<UserSystemRole> getUserSystemRoleList() {
return userSystemRoleList;
}
public void setUserSystemRoleList(List<UserSystemRole> userSystemRoleList) {
this.userSystemRoleList = userSystemRoleList;
}
@XmlTransient
public List<UserSetting> getUserSettingList() {
return userSettingList;
}
public void setUserSettingList(List<UserSetting> userSettingList) {
this.userSettingList = userSettingList;
}
@Override
public int hashCode() {
int hash = 0;
hash += (id != null ? id.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof UserInfo)) {
return false;
}
UserInfo other = (UserInfo) object;
return !((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id)));
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.UserInfo[ id=" + id + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;
/**
*
* @author sveseli
*/
@Entity
@Table(name = "user_setting")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "UserSetting.findAll", query = "SELECT u FROM UserSetting u")
, @NamedQuery(name = "UserSetting.findById", query = "SELECT u FROM UserSetting u WHERE u.id = :id")
, @NamedQuery(name = "UserSetting.findBySettingValue", query = "SELECT u FROM UserSetting u WHERE u.settingValue = :settingValue")})
public class UserSetting extends DmEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic(optional = false)
private Integer id;
@Size(max = 2147483647)
@Column(name = "setting_value")
private String settingValue;
@JoinColumn(name = "setting_type_id", referencedColumnName = "id")
@ManyToOne(optional = false)
private SettingType settingTypeId;
@JoinColumn(name = "user_id", referencedColumnName = "id")
@ManyToOne(optional = false)
private UserInfo userId;
public UserSetting() {
}
public UserSetting(Integer id) {
this.id = id;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getSettingValue() {
return settingValue;
}
public void setSettingValue(String settingValue) {
this.settingValue = settingValue;
}
public SettingType getSettingTypeId() {
return settingTypeId;
}
public void setSettingTypeId(SettingType settingTypeId) {
this.settingTypeId = settingTypeId;
}
public UserInfo getUserId() {
return userId;
}
public void setUserId(UserInfo userId) {
this.userId = userId;
}
@Override
public int hashCode() {
int hash = 0;
hash += (id != null ? id.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof UserSetting)) {
return false;
}
UserSetting other = (UserSetting) object;
if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
return false;
}
return true;
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.UserSetting[ id=" + id + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;
/**
*
* @author sveseli
*/
@Entity
@Table(name = "user_system_role")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "UserSystemRole.findAll", query = "SELECT u FROM UserSystemRole u")
, @NamedQuery(name = "UserSystemRole.findByUser", query = "SELECT u FROM UserSystemRole u WHERE u.userSystemRolePK.userId = :userId")
, @NamedQuery(name = "UserSystemRole.findByRoleType", query = "SELECT u FROM UserSystemRole u WHERE u.userSystemRolePK.roleTypeId = :roleTypeId")
, @NamedQuery(name = "UserSystemRole.findByUserAndRoleTypeAndExperimentStation", query = "SELECT u FROM UserSystemRole u WHERE u.userSystemRolePK.userId = :userId AND u.userSystemRolePK.roleTypeId = :roleTypeId AND u.experimentStation.id = :experimentStationId")
})
public class UserSystemRole extends DmEntity {
@EmbeddedId
protected UserSystemRolePK userSystemRolePK;
@JoinColumn(name = "experiment_station_id", referencedColumnName = "id")
@ManyToOne
private ExperimentStation experimentStation;
@JoinColumn(name = "role_type_id", referencedColumnName = "id", insertable = false, updatable = false)
@ManyToOne(optional = false)
private SystemRoleType systemRoleType;
@JoinColumn(name = "user_id", referencedColumnName = "id", insertable = false, updatable = false)
@ManyToOne(optional = false)
private UserInfo userInfo;
public UserSystemRole() {
}
public UserSystemRole(UserSystemRolePK userSystemRolePK) {
this.userSystemRolePK = userSystemRolePK;
}
public UserSystemRole(int userId, int roleTypeId) {
this.userSystemRolePK = new UserSystemRolePK(userId, roleTypeId);
}
public UserSystemRolePK getUserSystemRolePK() {
return userSystemRolePK;
}
public void setUserSystemRolePK(UserSystemRolePK userSystemRolePK) {
this.userSystemRolePK = userSystemRolePK;
}
public ExperimentStation getExperimentStation() {
return experimentStation;
}
public void setExperimentStation(ExperimentStation experimentStation) {
this.experimentStation = experimentStation;
}
public SystemRoleType getSystemRoleType() {
return systemRoleType;
}
public void setSystemRoleType(SystemRoleType systemRoleType) {
this.systemRoleType = systemRoleType;
}
public UserInfo getUserInfo() {
return userInfo;
}
public void setUserInfo(UserInfo userInfo) {
this.userInfo = userInfo;
}
@Override
public int hashCode() {
int hash = 0;
hash += (userSystemRolePK != null ? userSystemRolePK.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof UserSystemRole)) {
return false;
}
UserSystemRole other = (UserSystemRole) object;
return !((this.userSystemRolePK == null && other.userSystemRolePK != null) || (this.userSystemRolePK != null && !this.userSystemRolePK.equals(other.userSystemRolePK)));
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.UserSystemRole[ userSystemRolePK=" + userSystemRolePK + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.validation.constraints.NotNull;
/**
*
* @author sveseli
*/
@Embeddable
public class UserSystemRolePK implements Serializable {
@Basic(optional = false)
@NotNull
@Column(name = "user_id")
private int userId;
@Basic(optional = false)
@NotNull
@Column(name = "role_type_id")
private int roleTypeId;
public UserSystemRolePK() {
}
public UserSystemRolePK(int userId, int roleTypeId) {
this.userId = userId;
this.roleTypeId = roleTypeId;
}
public int getUserId() {
return userId;
}
public void setUserId(int userId) {
this.userId = userId;
}
public int getRoleTypeId() {
return roleTypeId;
}
public void setRoleTypeId(int roleTypeId) {
this.roleTypeId = roleTypeId;
}
@Override
public int hashCode() {
int hash = 0;
hash += (int) userId;
hash += (int) roleTypeId;
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof UserSystemRolePK)) {
return false;
}
UserSystemRolePK other = (UserSystemRolePK) object;
if (this.userId != other.userId) {
return false;
}
return this.roleTypeId == other.roleTypeId;
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.UserSystemRolePK[ userId=" + userId + ", roleTypeId=" + roleTypeId + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.model.entities;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlRootElement;
/**
*
* @author sveseli
*/
@Entity
@Table(name = "users_last_update")
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "UsersLastUpdate.findAll", query = "SELECT u FROM UsersLastUpdate u")
, @NamedQuery(name = "UsersLastUpdate.findById", query = "SELECT u FROM UsersLastUpdate u WHERE u.id = :id")
, @NamedQuery(name = "UsersLastUpdate.findByLastUpdate", query = "SELECT u FROM UsersLastUpdate u WHERE u.lastUpdate = :lastUpdate")})
public class UsersLastUpdate extends DmEntity {
@Id
@Basic(optional = false)
@NotNull
private Integer id;
@Column(name = "last_update")
@Temporal(TemporalType.DATE)
private Date lastUpdate;
public UsersLastUpdate() {
}
public UsersLastUpdate(Integer id) {
this.id = id;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Date getLastUpdate() {
return lastUpdate;
}
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
@Override
public int hashCode() {
int hash = 0;
hash += (id != null ? id.hashCode() : 0);
return hash;
}
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof UsersLastUpdate)) {
return false;
}
UsersLastUpdate other = (UsersLastUpdate) object;
if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
return false;
}
return true;
}
@Override
public String toString() {
return "gov.anl.aps.dm.portal.model.entities2.UsersLastUpdate[ id=" + id + " ]";
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.utilities;
import gov.anl.aps.dm.portal.model.entities.Experiment;
import gov.anl.aps.dm.portal.model.entities.ExperimentStation;
import gov.anl.aps.dm.portal.model.entities.UserInfo;
import gov.anl.aps.dm.portal.model.entities.UserSystemRole;
/**
*
* @author sveseli
*/
public class AuthorizationUtility {
public static final int ADMINISTRATOR_SYSTEM_ROLE_ID = 1;
public static final int MANAGER_SYSTEM_ROLE_ID = 2;
public static final int PI_EXPERIMENT_ROLE_ID = 1;
public static final int USER_EXPERIMENT_ROLE_ID = 2;
public static boolean isAdministrator(UserInfo user) {
return user.getUserSystemRoleList().stream().anyMatch((userSystemRole) -> (userSystemRole.getSystemRoleType().getId() == ADMINISTRATOR_SYSTEM_ROLE_ID));
}
public static boolean isStationManager(UserInfo user, ExperimentStation experimentStation) {
return user.getUserSystemRoleList().stream().anyMatch((userSystemRole) -> (userSystemRole.getSystemRoleType().getId() == MANAGER_SYSTEM_ROLE_ID
&& userSystemRole.getExperimentStation().getId().equals(experimentStation.getId())));
}
public static boolean isExperimentPi(UserInfo user, Experiment experiment) {
return user.getUserExperimentRoleList().stream().anyMatch((userExperimentRole) -> (userExperimentRole.getExperimentRoleType().getId() == PI_EXPERIMENT_ROLE_ID
&& userExperimentRole.getExperiment().getId().equals(experiment.getId())));
}
public static boolean isExperimentUser(UserInfo user, Experiment experiment) {
return user.getUserExperimentRoleList().stream().anyMatch((userExperimentRole) -> (userExperimentRole.getExperimentRoleType().getId() == USER_EXPERIMENT_ROLE_ID
&& userExperimentRole.getExperiment().getId().equals(experiment.getId())));
}
public static boolean canManageStation(UserInfo user, ExperimentStation experimentStation) {
return isAdministrator(user) || isStationManager(user, experimentStation);
}
public static boolean canManageExperiment(UserInfo user, Experiment experiment) {
return canManageStation(user, experiment.getExperimentStation()) || isExperimentPi(user, experiment);
}
public static boolean canCreateExperiment(UserInfo user) {
return !user.getUserSystemRoleList().isEmpty();
}
}
package gov.anl.aps.dm.portal.utilities;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import org.apache.log4j.Logger;
public class ConfigurationUtility {
public static final String PropertiesPath = "dm.portal.properties";
public static final String PropertiesDelimiter = ",";
private static final Logger logger = Logger.getLogger(ConfigurationUtility.class.getName());
private static final Properties portalProperties = loadProperties(PropertiesPath);
public Properties getPortalProperties() {
return portalProperties;
}
public static String getPortalProperty(String propertyName) {
return portalProperties.getProperty(propertyName, "");
}
public static String getPortalProperty(String propertyName, String defaultValue) {
return portalProperties.getProperty(propertyName, defaultValue);
}
public static List<String> getPortalPropertyList(String propertyName) {
return getPortalPropertyList(propertyName, "");
}
public static List<String> getPortalPropertyList(String propertyName, String defaultValue) {
String[] propertyArray = portalProperties.getProperty(propertyName, defaultValue).split(PropertiesDelimiter);
logger.debug("Looking for property " + propertyName);
ArrayList propertyList = new ArrayList();
for (String property : propertyArray) {
String p = property.trim();
if (p.length() > 0) {
propertyList.add(property.trim());
}
}
logger.debug("Resulting property list: " + propertyList);
return propertyList;
}
/**
* Load properties.
*
* @param path
* @return loaded properties
*/
public static Properties loadProperties(String path) {
Properties properties = new Properties();
if (path != null) {
try {
logger.debug("Loading properties from " + path);
InputStream inputStream = ConfigurationUtility.class.getClassLoader().getResourceAsStream(path);
properties.load(inputStream);
} catch (IOException ex) {
logger.warn("Could not load properties from file " + path + ": " + ex);
}
} else {
logger.warn("Properties path not specified.");
}
return properties;
}
/**
* Get system property.
*
* @param propertyName property name
* @return property value
*/
public static String getSystemProperty(String propertyName) {
Properties p = System.getProperties();
return p.getProperty(propertyName);
}
/**
* Get system property.
*
* @param propertyName property name
* @param defaultValue default property value
* @return property value
*/
public static String getSystemProperty(String propertyName, String defaultValue) {
Properties p = System.getProperties();
return p.getProperty(propertyName, defaultValue);
}
/**
* Get environment variable.
*
* @param name Environment variable name
* @return environment variable value, or null if it is not defined
*/
public static String getEnvVar(String name) {
return System.getenv(name);
}
}
package gov.anl.aps.dm.portal.utilities;
import gov.anl.aps.dm.api.ExperimentDsApi;
import gov.anl.aps.dm.common.constants.DmProperty;
import gov.anl.aps.dm.common.exceptions.ConfigurationError;
import gov.anl.aps.dm.common.exceptions.DmException;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
import org.apache.log4j.Logger;
public class DmApiFactory {
private static final Logger logger = Logger.getLogger(DmApiFactory.class.getName());
public static ExperimentDsApi getExperimentDsApi() throws DmException {
String webServiceUrl = ConfigurationUtility.getPortalProperty(DmProperty.DS_WEB_SERVICE_URL_PROPERTY_NAME);
String loginUsername = ConfigurationUtility.getPortalProperty(DmProperty.SYSTEM_USER_PROPERTY_NAME);
String loginPasswordFileName = ConfigurationUtility.getPortalProperty(DmProperty.SYSTEM_PASSWORD_FILE_PROPERTY_NAME);
try {
String loginPassword = new Scanner(new File(loginPasswordFileName)).useDelimiter("\\Z").next();
return new ExperimentDsApi(webServiceUrl, loginUsername, loginPassword);
} catch (FileNotFoundException ex) {
logger.error("Cannot find system password file: " + loginPasswordFileName);
throw new ConfigurationError(ex);
}
}
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gov.anl.aps.dm.portal.utilities;
import java.util.HashMap;
import java.util.regex.Pattern;
/**
*
* @author sveseli
*/
public class SearchResult
{
private final Integer objectId;
private final String objectName;
private HashMap<String, String> objectAttributeMatchMap = new HashMap();
public SearchResult(Integer objectId, String objectName) {
this.objectId = objectId;
this.objectName = objectName;
}
public Integer getObjectId() {
return objectId;
}
public String getObjectName() {
return objectName;
}
public void addAttributeMatch(String key, String value) {
objectAttributeMatchMap.put(key, value);
}
public HashMap<String, String> getObjectAttributeMatchMap() {
return objectAttributeMatchMap;
}
public void setObjectAttributeMatchMap(HashMap<String, String> objectAttributeMatchMap) {
this.objectAttributeMatchMap = objectAttributeMatchMap;
}
public boolean isEmpty() {
return objectAttributeMatchMap.isEmpty();
}
public boolean doesValueContainPattern(String key, String value, Pattern searchPattern) {
if (value == null || value.isEmpty()) {
return false;
}
boolean searchResult = searchPattern.matcher(value).find();
if (searchResult) {
addAttributeMatch(key, value);
}
return searchResult;
}
public String getDisplay() {
String result = "";
String keyDelimiter = ": ";
String entryDelimiter = "";
for (String key : objectAttributeMatchMap.keySet()) {
result += entryDelimiter + key + keyDelimiter + objectAttributeMatchMap.get(key);
entryDelimiter = "; ";
}
return result;
}
}
package gov.anl.aps.dm.portal.utilities;
import java.io.IOException;
import java.util.Map;
import java.util.Stack;
import javax.faces.application.FacesMessage;
import javax.faces.application.NavigationHandler;
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpSession;
/**
* Session utility class.
*/
public class SessionUtility
{
/**
* Keys.
*/
public static final String MESSAGES_KEY = "messages";
public static final String USER_KEY = "user";
public static final String VIEW_STACK_KEY = "viewStack";
public static final String LAST_SESSION_ERROR_KEY = "lastSessionError";
public static final String ROLE_KEY = "role";
/**
* Constructor.
*/
public SessionUtility() {
}
/**
* Add error message.
*
* @param summary message summary
* @param detail detailed message
*/
public static void addErrorMessage(String summary, String detail) {
FacesContext context = FacesContext.getCurrentInstance();
context.getExternalContext().getFlash().setKeepMessages(true);
context.addMessage(MESSAGES_KEY, new FacesMessage(FacesMessage.SEVERITY_ERROR, summary, detail));
}
/**
* Add warning message.
*
* @param summary message summary
* @param detail detailed message
*/
public static void addWarningMessage(String summary, String detail) {
FacesContext context = FacesContext.getCurrentInstance();
context.getExternalContext().getFlash().setKeepMessages(true);
context.addMessage(MESSAGES_KEY, new FacesMessage(FacesMessage.SEVERITY_WARN, summary, detail));
}
/**
* Add info message.
*
* @param summary message summary
* @param detail detailed message
*/
public static void addInfoMessage(String summary, String detail) {
FacesContext context = FacesContext.getCurrentInstance();
context.getExternalContext().getFlash().setKeepMessages(true);
context.addMessage(MESSAGES_KEY, new FacesMessage(FacesMessage.SEVERITY_INFO, summary, detail));
}
/**
* Get request parameter value.
*
* @param parameterName parameter name
* @return parameter value
*/
public static String getRequestParameterValue(String parameterName) {
Map parameterMap = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
return (String) parameterMap.get(parameterName);
}
/**
* Set user.
*
* @param user user
*/
public static void setUser(Object user) {
Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
sessionMap.put(USER_KEY, user);
}
/**
* Get user.
*
* @return user
*/
public static Object getUser() {
Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
return sessionMap.get(USER_KEY);
}
public static void pushViewOnStack(String viewId) {
Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
Stack<String> viewStack = (Stack) sessionMap.get(VIEW_STACK_KEY);
if (viewStack == null) {
viewStack = new Stack<>();
sessionMap.put(VIEW_STACK_KEY, viewStack);
}
viewStack.push(viewId);
}
public static String popViewFromStack() {
Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
Stack<String> viewStack = (Stack) sessionMap.get(VIEW_STACK_KEY);
if (viewStack != null && !viewStack.empty()) {
return viewStack.pop();
}
return null;
}
public static String getCurrentViewId() {
FacesContext context = FacesContext.getCurrentInstance();
return context.getViewRoot().getViewId();
}
public static String getReferrerViewId() {
String referrer = FacesContext.getCurrentInstance().getExternalContext().getRequestHeaderMap().get("referer");
if (referrer != null) {
int beginViewId = referrer.indexOf("/views");
if (beginViewId >= 0) {
return referrer.substring(beginViewId);
}
}
return null;
}
public static void clearSession() {
Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
sessionMap.clear();
}
public static void navigateTo(String url) {
FacesContext context = FacesContext.getCurrentInstance();
NavigationHandler navigationHandler = context.getApplication().getNavigationHandler();
navigationHandler.handleNavigation(context, null, url);
}
public static String getContextRoot() {
String contextPath = FacesContext.getCurrentInstance().getExternalContext().getRequestContextPath();
return contextPath;
}
public static void redirectTo(String url) throws IOException {
ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();
externalContext.redirect(externalContext.getRequestContextPath() + url);
}
public static int getSessionTimeoutInSeconds() {
HttpSession session = (HttpSession) FacesContext.getCurrentInstance().getExternalContext().getSession(false);
return session.getMaxInactiveInterval();
}
public static void setLastSessionError(String error) {
Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
sessionMap.put(LAST_SESSION_ERROR_KEY, error);
}
public static String getLastSessionError() {
Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
return (String) sessionMap.get(LAST_SESSION_ERROR_KEY);
}
public static void clearLastSessionError() {
Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
sessionMap.remove(LAST_SESSION_ERROR_KEY);
}
public static String getAndClearLastSessionError() {
Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
String error = (String) sessionMap.remove(LAST_SESSION_ERROR_KEY);
return error;
}
public static void setRole(Object role) {
Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
sessionMap.put(ROLE_KEY, role);
}
public static Object getRole() {
Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
return sessionMap.get(ROLE_KEY);
}
}
# Root logger option
log4j.rootCategory=ERROR,stdout
# Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
#log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy/MM/dd HH:mm:ss,SSS} %-5p %c{1} [%t]: %m%n
# Log levels
log4j.category.gov.anl.aps.dm=DEBUG
DatePattern=MM/dd/yyyy
DateTimePattern=MM/dd/yyyy hh:mm a
DateTimeZonePattern=MM/dd/yyyy hh:mm a z
Timezone=America/Chicago
PersistenceErrorOccured=A persistence error occurred.
Previous=Previous
Next=Next
AllowedPolicyValueCreated=AllowedPolicyValue was successfully created.
AllowedPolicyValueUpdated=AllowedPolicyValue was successfully updated.
AllowedPolicyValueDeleted=AllowedPolicyValue was successfully deleted.
CreateAllowedPolicyValueTitle=Create New AllowedPolicyValue
CreateAllowedPolicyValueSaveLink=Save
CreateAllowedPolicyValueShowAllLink=Show All AllowedPolicyValue Items
CreateAllowedPolicyValueIndexLink=Index
CreateAllowedPolicyValueLabel_id=Id:
CreateAllowedPolicyValueRequiredMessage_id=The Id field is required.
CreateAllowedPolicyValueTitle_id=Id
CreateAllowedPolicyValueLabel_value=Value:
CreateAllowedPolicyValueTitle_value=Value
CreateAllowedPolicyValueLabel_description=Description:
CreateAllowedPolicyValueTitle_description=Description
CreateAllowedPolicyValueLabel_policyTypeId=PolicyTypeId:
CreateAllowedPolicyValueRequiredMessage_policyTypeId=The PolicyTypeId field is required.
CreateAllowedPolicyValueTitle_policyTypeId=PolicyTypeId
EditAllowedPolicyValueTitle=Edit AllowedPolicyValue
EditAllowedPolicyValueSaveLink=Save
EditAllowedPolicyValueViewLink=View
EditAllowedPolicyValueShowAllLink=Show All AllowedPolicyValue Items
EditAllowedPolicyValueIndexLink=Index
EditAllowedPolicyValueLabel_id=Id:
EditAllowedPolicyValueRequiredMessage_id=The Id field is required.
EditAllowedPolicyValueTitle_id=Id
EditAllowedPolicyValueLabel_value=Value:
EditAllowedPolicyValueTitle_value=Value
EditAllowedPolicyValueLabel_description=Description:
EditAllowedPolicyValueTitle_description=Description
EditAllowedPolicyValueLabel_policyTypeId=PolicyTypeId:
EditAllowedPolicyValueRequiredMessage_policyTypeId=The PolicyTypeId field is required.
EditAllowedPolicyValueTitle_policyTypeId=PolicyTypeId
ViewAllowedPolicyValueTitle=View
ViewAllowedPolicyValueDestroyLink=Destroy
ViewAllowedPolicyValueEditLink=Edit
ViewAllowedPolicyValueCreateLink=Create New AllowedPolicyValue
ViewAllowedPolicyValueShowAllLink=Show All AllowedPolicyValue Items
ViewAllowedPolicyValueIndexLink=Index
ViewAllowedPolicyValueLabel_id=Id:
ViewAllowedPolicyValueTitle_id=Id
ViewAllowedPolicyValueLabel_value=Value:
ViewAllowedPolicyValueTitle_value=Value
ViewAllowedPolicyValueLabel_description=Description:
ViewAllowedPolicyValueTitle_description=Description
ViewAllowedPolicyValueLabel_policyTypeId=PolicyTypeId:
ViewAllowedPolicyValueTitle_policyTypeId=PolicyTypeId
ListAllowedPolicyValueTitle=List
ListAllowedPolicyValueEmpty=(No AllowedPolicyValue Items Found)
ListAllowedPolicyValueDestroyLink=Destroy
ListAllowedPolicyValueEditLink=Edit
ListAllowedPolicyValueViewLink=View
ListAllowedPolicyValueCreateLink=Create New AllowedPolicyValue
ListAllowedPolicyValueIndexLink=Index
ListAllowedPolicyValueTitle_id=Id
ListAllowedPolicyValueTitle_value=Value
ListAllowedPolicyValueTitle_description=Description
ListAllowedPolicyValueTitle_policyTypeId=PolicyTypeId
AllowedSettingValueCreated=AllowedSettingValue was successfully created.
AllowedSettingValueUpdated=AllowedSettingValue was successfully updated.
AllowedSettingValueDeleted=AllowedSettingValue was successfully deleted.
CreateAllowedSettingValueTitle=Create New AllowedSettingValue
CreateAllowedSettingValueSaveLink=Save
CreateAllowedSettingValueShowAllLink=Show All AllowedSettingValue Items
CreateAllowedSettingValueIndexLink=Index
CreateAllowedSettingValueLabel_id=Id:
CreateAllowedSettingValueRequiredMessage_id=The Id field is required.
CreateAllowedSettingValueTitle_id=Id
CreateAllowedSettingValueLabel_value=Value:
CreateAllowedSettingValueTitle_value=Value
CreateAllowedSettingValueLabel_description=Description:
CreateAllowedSettingValueTitle_description=Description
CreateAllowedSettingValueLabel_settingTypeId=SettingTypeId:
CreateAllowedSettingValueRequiredMessage_settingTypeId=The SettingTypeId field is required.
CreateAllowedSettingValueTitle_settingTypeId=SettingTypeId
EditAllowedSettingValueTitle=Edit AllowedSettingValue
EditAllowedSettingValueSaveLink=Save
EditAllowedSettingValueViewLink=View
EditAllowedSettingValueShowAllLink=Show All AllowedSettingValue Items
EditAllowedSettingValueIndexLink=Index
EditAllowedSettingValueLabel_id=Id:
EditAllowedSettingValueRequiredMessage_id=The Id field is required.
EditAllowedSettingValueTitle_id=Id
EditAllowedSettingValueLabel_value=Value:
EditAllowedSettingValueTitle_value=Value
EditAllowedSettingValueLabel_description=Description:
EditAllowedSettingValueTitle_description=Description
EditAllowedSettingValueLabel_settingTypeId=SettingTypeId:
EditAllowedSettingValueRequiredMessage_settingTypeId=The SettingTypeId field is required.
EditAllowedSettingValueTitle_settingTypeId=SettingTypeId
ViewAllowedSettingValueTitle=View
ViewAllowedSettingValueDestroyLink=Destroy
ViewAllowedSettingValueEditLink=Edit
ViewAllowedSettingValueCreateLink=Create New AllowedSettingValue
ViewAllowedSettingValueShowAllLink=Show All AllowedSettingValue Items
ViewAllowedSettingValueIndexLink=Index
ViewAllowedSettingValueLabel_id=Id:
ViewAllowedSettingValueTitle_id=Id
ViewAllowedSettingValueLabel_value=Value:
ViewAllowedSettingValueTitle_value=Value
ViewAllowedSettingValueLabel_description=Description:
ViewAllowedSettingValueTitle_description=Description
ViewAllowedSettingValueLabel_settingTypeId=SettingTypeId:
ViewAllowedSettingValueTitle_settingTypeId=SettingTypeId
ListAllowedSettingValueTitle=List
ListAllowedSettingValueEmpty=(No AllowedSettingValue Items Found)
ListAllowedSettingValueDestroyLink=Destroy
ListAllowedSettingValueEditLink=Edit
ListAllowedSettingValueViewLink=View
ListAllowedSettingValueCreateLink=Create New AllowedSettingValue
ListAllowedSettingValueIndexLink=Index
ListAllowedSettingValueTitle_id=Id
ListAllowedSettingValueTitle_value=Value
ListAllowedSettingValueTitle_description=Description
ListAllowedSettingValueTitle_settingTypeId=SettingTypeId
DataFolderCreated=DataFolder was successfully created.
DataFolderUpdated=DataFolder was successfully updated.
DataFolderDeleted=DataFolder was successfully deleted.
CreateDataFolderTitle=Create New DataFolder
CreateDataFolderSaveLink=Save
CreateDataFolderShowAllLink=Show All DataFolder Items
CreateDataFolderIndexLink=Index
CreateDataFolderLabel_id=Id:
CreateDataFolderRequiredMessage_id=The Id field is required.
CreateDataFolderTitle_id=Id
CreateDataFolderLabel_path=Path:
CreateDataFolderRequiredMessage_path=The Path field is required.
CreateDataFolderTitle_path=Path
CreateDataFolderLabel_description=Description:
CreateDataFolderTitle_description=Description
CreateDataFolderLabel_parentDataFolderId=ParentDataFolderId:
CreateDataFolderTitle_parentDataFolderId=ParentDataFolderId
EditDataFolderTitle=Edit DataFolder
EditDataFolderSaveLink=Save
EditDataFolderViewLink=View
EditDataFolderShowAllLink=Show All DataFolder Items
EditDataFolderIndexLink=Index
EditDataFolderLabel_id=Id:
EditDataFolderRequiredMessage_id=The Id field is required.
EditDataFolderTitle_id=Id
EditDataFolderLabel_path=Path:
EditDataFolderRequiredMessage_path=The Path field is required.
EditDataFolderTitle_path=Path
EditDataFolderLabel_description=Description:
EditDataFolderTitle_description=Description
EditDataFolderLabel_parentDataFolderId=ParentDataFolderId:
EditDataFolderTitle_parentDataFolderId=ParentDataFolderId
ViewDataFolderTitle=View
ViewDataFolderDestroyLink=Destroy
ViewDataFolderEditLink=Edit
ViewDataFolderCreateLink=Create New DataFolder
ViewDataFolderShowAllLink=Show All DataFolder Items
ViewDataFolderIndexLink=Index
ViewDataFolderLabel_id=Id:
ViewDataFolderTitle_id=Id
ViewDataFolderLabel_path=Path:
ViewDataFolderTitle_path=Path
ViewDataFolderLabel_description=Description:
ViewDataFolderTitle_description=Description
ViewDataFolderLabel_parentDataFolderId=ParentDataFolderId:
ViewDataFolderTitle_parentDataFolderId=ParentDataFolderId
ListDataFolderTitle=List
ListDataFolderEmpty=(No DataFolder Items Found)
ListDataFolderDestroyLink=Destroy
ListDataFolderEditLink=Edit
ListDataFolderViewLink=View
ListDataFolderCreateLink=Create New DataFolder
ListDataFolderIndexLink=Index
ListDataFolderTitle_id=Id
ListDataFolderTitle_path=Path
ListDataFolderTitle_description=Description
ListDataFolderTitle_parentDataFolderId=ParentDataFolderId
DataFolderPermissionCreated=DataFolderPermission was successfully created.
DataFolderPermissionUpdated=DataFolderPermission was successfully updated.
DataFolderPermissionDeleted=DataFolderPermission was successfully deleted.
CreateDataFolderPermissionTitle=Create New DataFolderPermission
CreateDataFolderPermissionSaveLink=Save
CreateDataFolderPermissionShowAllLink=Show All DataFolderPermission Items
CreateDataFolderPermissionIndexLink=Index
CreateDataFolderPermissionLabel_id=Id:
CreateDataFolderPermissionRequiredMessage_id=The Id field is required.
CreateDataFolderPermissionTitle_id=Id
CreateDataFolderPermissionLabel_value=Value:
CreateDataFolderPermissionRequiredMessage_value=The Value field is required.
CreateDataFolderPermissionTitle_value=Value
CreateDataFolderPermissionLabel_description=Description:
CreateDataFolderPermissionTitle_description=Description
CreateDataFolderPermissionLabel_dataFolderId=DataFolderId:
CreateDataFolderPermissionRequiredMessage_dataFolderId=The DataFolderId field is required.
CreateDataFolderPermissionTitle_dataFolderId=DataFolderId
EditDataFolderPermissionTitle=Edit DataFolderPermission
EditDataFolderPermissionSaveLink=Save
EditDataFolderPermissionViewLink=View
EditDataFolderPermissionShowAllLink=Show All DataFolderPermission Items
EditDataFolderPermissionIndexLink=Index
EditDataFolderPermissionLabel_id=Id:
EditDataFolderPermissionRequiredMessage_id=The Id field is required.
EditDataFolderPermissionTitle_id=Id
EditDataFolderPermissionLabel_value=Value:
EditDataFolderPermissionRequiredMessage_value=The Value field is required.
EditDataFolderPermissionTitle_value=Value
EditDataFolderPermissionLabel_description=Description:
EditDataFolderPermissionTitle_description=Description
EditDataFolderPermissionLabel_dataFolderId=DataFolderId:
EditDataFolderPermissionRequiredMessage_dataFolderId=The DataFolderId field is required.
EditDataFolderPermissionTitle_dataFolderId=DataFolderId
ViewDataFolderPermissionTitle=View
ViewDataFolderPermissionDestroyLink=Destroy
ViewDataFolderPermissionEditLink=Edit
ViewDataFolderPermissionCreateLink=Create New DataFolderPermission
ViewDataFolderPermissionShowAllLink=Show All DataFolderPermission Items
ViewDataFolderPermissionIndexLink=Index
ViewDataFolderPermissionLabel_id=Id:
ViewDataFolderPermissionTitle_id=Id
ViewDataFolderPermissionLabel_value=Value:
ViewDataFolderPermissionTitle_value=Value
ViewDataFolderPermissionLabel_description=Description:
ViewDataFolderPermissionTitle_description=Description
ViewDataFolderPermissionLabel_dataFolderId=DataFolderId:
ViewDataFolderPermissionTitle_dataFolderId=DataFolderId
ListDataFolderPermissionTitle=List
ListDataFolderPermissionEmpty=(No DataFolderPermission Items Found)
ListDataFolderPermissionDestroyLink=Destroy
ListDataFolderPermissionEditLink=Edit
ListDataFolderPermissionViewLink=View
ListDataFolderPermissionCreateLink=Create New DataFolderPermission
ListDataFolderPermissionIndexLink=Index
ListDataFolderPermissionTitle_id=Id
ListDataFolderPermissionTitle_value=Value
ListDataFolderPermissionTitle_description=Description
ListDataFolderPermissionTitle_dataFolderId=DataFolderId
ExperimentCreated=Experiment was successfully created.
ExperimentUpdated=Experiment was successfully updated.
ExperimentDeleted=Experiment was successfully deleted.
CreateExperimentTitle=Create New Experiment
CreateExperimentSaveLink=Save
CreateExperimentShowAllLink=Show All Experiment Items
CreateExperimentIndexLink=Index
CreateExperimentLabel_id=Id:
CreateExperimentRequiredMessage_id=The Id field is required.
CreateExperimentTitle_id=Id
CreateExperimentLabel_name=Name:
CreateExperimentRequiredMessage_name=The Name field is required.
CreateExperimentTitle_name=Name
CreateExperimentLabel_description=Description:
CreateExperimentTitle_description=Description
CreateExperimentLabel_startDate=StartDate:
CreateExperimentTitle_startDate=StartDate
CreateExperimentLabel_endDate=EndDate:
CreateExperimentTitle_endDate=EndDate
CreateExperimentLabel_experimentTypeId=ExperimentTypeId:
CreateExperimentRequiredMessage_experimentTypeId=The ExperimentTypeId field is required.
CreateExperimentTitle_experimentTypeId=ExperimentTypeId
EditExperimentTitle=Edit Experiment
EditExperimentSaveLink=Save
EditExperimentViewLink=View
EditExperimentShowAllLink=Show All Experiment Items
EditExperimentIndexLink=Index
EditExperimentLabel_id=Id:
EditExperimentRequiredMessage_id=The Id field is required.
EditExperimentTitle_id=Id
EditExperimentLabel_name=Name:
EditExperimentRequiredMessage_name=The Name field is required.
EditExperimentTitle_name=Name
EditExperimentLabel_description=Description:
EditExperimentTitle_description=Description
EditExperimentLabel_startDate=StartDate:
EditExperimentTitle_startDate=StartDate
EditExperimentLabel_endDate=EndDate:
EditExperimentTitle_endDate=EndDate
EditExperimentLabel_experimentTypeId=ExperimentTypeId:
EditExperimentRequiredMessage_experimentTypeId=The ExperimentTypeId field is required.
EditExperimentTitle_experimentTypeId=ExperimentTypeId
ViewExperimentTitle=View
ViewExperimentDestroyLink=Destroy
ViewExperimentEditLink=Edit
ViewExperimentCreateLink=Create New Experiment
ViewExperimentShowAllLink=Show All Experiment Items
ViewExperimentIndexLink=Index
ViewExperimentLabel_id=Id:
ViewExperimentTitle_id=Id
ViewExperimentLabel_name=Name:
ViewExperimentTitle_name=Name
ViewExperimentLabel_description=Description:
ViewExperimentTitle_description=Description
ViewExperimentLabel_startDate=StartDate:
ViewExperimentTitle_startDate=StartDate
ViewExperimentLabel_endDate=EndDate:
ViewExperimentTitle_endDate=EndDate
ViewExperimentLabel_experimentTypeId=ExperimentTypeId:
ViewExperimentTitle_experimentTypeId=ExperimentTypeId
ListExperimentTitle=List
ListExperimentEmpty=(No Experiment Items Found)
ListExperimentDestroyLink=Destroy
ListExperimentEditLink=Edit
ListExperimentViewLink=View
ListExperimentCreateLink=Create New Experiment
ListExperimentIndexLink=Index
ListExperimentTitle_id=Id
ListExperimentTitle_name=Name
ListExperimentTitle_description=Description
ListExperimentTitle_startDate=StartDate
ListExperimentTitle_endDate=EndDate
ListExperimentTitle_experimentTypeId=ExperimentTypeId
ExperimentPolicyCreated=ExperimentPolicy was successfully created.
ExperimentPolicyUpdated=ExperimentPolicy was successfully updated.
ExperimentPolicyDeleted=ExperimentPolicy was successfully deleted.
CreateExperimentPolicyTitle=Create New ExperimentPolicy
CreateExperimentPolicySaveLink=Save
CreateExperimentPolicyShowAllLink=Show All ExperimentPolicy Items
CreateExperimentPolicyIndexLink=Index
CreateExperimentPolicyLabel_id=Id:
CreateExperimentPolicyRequiredMessage_id=The Id field is required.
CreateExperimentPolicyTitle_id=Id
CreateExperimentPolicyLabel_value=Value:
CreateExperimentPolicyRequiredMessage_value=The Value field is required.
CreateExperimentPolicyTitle_value=Value
CreateExperimentPolicyLabel_description=Description:
CreateExperimentPolicyTitle_description=Description
CreateExperimentPolicyLabel_policyTypeId=PolicyTypeId:
CreateExperimentPolicyRequiredMessage_policyTypeId=The PolicyTypeId field is required.
CreateExperimentPolicyTitle_policyTypeId=PolicyTypeId
CreateExperimentPolicyLabel_experimentId=ExperimentId:
CreateExperimentPolicyRequiredMessage_experimentId=The ExperimentId field is required.
CreateExperimentPolicyTitle_experimentId=ExperimentId
EditExperimentPolicyTitle=Edit ExperimentPolicy
EditExperimentPolicySaveLink=Save
EditExperimentPolicyViewLink=View
EditExperimentPolicyShowAllLink=Show All ExperimentPolicy Items
EditExperimentPolicyIndexLink=Index
EditExperimentPolicyLabel_id=Id:
EditExperimentPolicyRequiredMessage_id=The Id field is required.
EditExperimentPolicyTitle_id=Id
EditExperimentPolicyLabel_value=Value:
EditExperimentPolicyRequiredMessage_value=The Value field is required.
EditExperimentPolicyTitle_value=Value
EditExperimentPolicyLabel_description=Description:
EditExperimentPolicyTitle_description=Description
EditExperimentPolicyLabel_policyTypeId=PolicyTypeId:
EditExperimentPolicyRequiredMessage_policyTypeId=The PolicyTypeId field is required.
EditExperimentPolicyTitle_policyTypeId=PolicyTypeId
EditExperimentPolicyLabel_experimentId=ExperimentId:
EditExperimentPolicyRequiredMessage_experimentId=The ExperimentId field is required.
EditExperimentPolicyTitle_experimentId=ExperimentId
ViewExperimentPolicyTitle=View
ViewExperimentPolicyDestroyLink=Destroy
ViewExperimentPolicyEditLink=Edit
ViewExperimentPolicyCreateLink=Create New ExperimentPolicy
ViewExperimentPolicyShowAllLink=Show All ExperimentPolicy Items
ViewExperimentPolicyIndexLink=Index
ViewExperimentPolicyLabel_id=Id:
ViewExperimentPolicyTitle_id=Id
ViewExperimentPolicyLabel_value=Value:
ViewExperimentPolicyTitle_value=Value
ViewExperimentPolicyLabel_description=Description:
ViewExperimentPolicyTitle_description=Description
ViewExperimentPolicyLabel_policyTypeId=PolicyTypeId:
ViewExperimentPolicyTitle_policyTypeId=PolicyTypeId
ViewExperimentPolicyLabel_experimentId=ExperimentId:
ViewExperimentPolicyTitle_experimentId=ExperimentId
ListExperimentPolicyTitle=List
ListExperimentPolicyEmpty=(No ExperimentPolicy Items Found)
ListExperimentPolicyDestroyLink=Destroy
ListExperimentPolicyEditLink=Edit
ListExperimentPolicyViewLink=View
ListExperimentPolicyCreateLink=Create New ExperimentPolicy
ListExperimentPolicyIndexLink=Index
ListExperimentPolicyTitle_id=Id
ListExperimentPolicyTitle_value=Value
ListExperimentPolicyTitle_description=Description
ListExperimentPolicyTitle_policyTypeId=PolicyTypeId
ListExperimentPolicyTitle_experimentId=ExperimentId
ExperimentTypeCreated=ExperimentType was successfully created.
ExperimentTypeUpdated=ExperimentType was successfully updated.
ExperimentTypeDeleted=ExperimentType was successfully deleted.
CreateExperimentTypeTitle=Create New ExperimentType
CreateExperimentTypeSaveLink=Save
CreateExperimentTypeShowAllLink=Show All ExperimentType Items
CreateExperimentTypeIndexLink=Index
CreateExperimentTypeLabel_id=Id:
CreateExperimentTypeRequiredMessage_id=The Id field is required.
CreateExperimentTypeTitle_id=Id
CreateExperimentTypeLabel_name=Name:
CreateExperimentTypeRequiredMessage_name=The Name field is required.
CreateExperimentTypeTitle_name=Name
CreateExperimentTypeLabel_description=Description:
CreateExperimentTypeTitle_description=Description
CreateExperimentTypeLabel_rootDataPath=RootDataPath:
CreateExperimentTypeTitle_rootDataPath=RootDataPath
EditExperimentTypeTitle=Edit ExperimentType
EditExperimentTypeSaveLink=Save
EditExperimentTypeViewLink=View
EditExperimentTypeShowAllLink=Show All ExperimentType Items
EditExperimentTypeIndexLink=Index
EditExperimentTypeLabel_id=Id:
EditExperimentTypeRequiredMessage_id=The Id field is required.
EditExperimentTypeTitle_id=Id
EditExperimentTypeLabel_name=Name:
EditExperimentTypeRequiredMessage_name=The Name field is required.
EditExperimentTypeTitle_name=Name
EditExperimentTypeLabel_description=Description:
EditExperimentTypeTitle_description=Description
EditExperimentTypeLabel_rootDataPath=RootDataPath:
EditExperimentTypeTitle_rootDataPath=RootDataPath
ViewExperimentTypeTitle=View
ViewExperimentTypeDestroyLink=Destroy
ViewExperimentTypeEditLink=Edit
ViewExperimentTypeCreateLink=Create New ExperimentType
ViewExperimentTypeShowAllLink=Show All ExperimentType Items
ViewExperimentTypeIndexLink=Index
ViewExperimentTypeLabel_id=Id:
ViewExperimentTypeTitle_id=Id
ViewExperimentTypeLabel_name=Name:
ViewExperimentTypeTitle_name=Name
ViewExperimentTypeLabel_description=Description:
ViewExperimentTypeTitle_description=Description
ViewExperimentTypeLabel_rootDataPath=RootDataPath:
ViewExperimentTypeTitle_rootDataPath=RootDataPath
ListExperimentTypeTitle=List
ListExperimentTypeEmpty=(No ExperimentType Items Found)
ListExperimentTypeDestroyLink=Destroy
ListExperimentTypeEditLink=Edit
ListExperimentTypeViewLink=View
ListExperimentTypeCreateLink=Create New ExperimentType
ListExperimentTypeIndexLink=Index
ListExperimentTypeTitle_id=Id
ListExperimentTypeTitle_name=Name
ListExperimentTypeTitle_description=Description
ListExperimentTypeTitle_rootDataPath=RootDataPath
PolicyTypeCreated=PolicyType was successfully created.
PolicyTypeUpdated=PolicyType was successfully updated.
PolicyTypeDeleted=PolicyType was successfully deleted.
CreatePolicyTypeTitle=Create New PolicyType
CreatePolicyTypeSaveLink=Save
CreatePolicyTypeShowAllLink=Show All PolicyType Items
CreatePolicyTypeIndexLink=Index
CreatePolicyTypeLabel_id=Id:
CreatePolicyTypeRequiredMessage_id=The Id field is required.
CreatePolicyTypeTitle_id=Id
CreatePolicyTypeLabel_name=Name:
CreatePolicyTypeRequiredMessage_name=The Name field is required.
CreatePolicyTypeTitle_name=Name
CreatePolicyTypeLabel_description=Description:
CreatePolicyTypeTitle_description=Description
CreatePolicyTypeLabel_handlerName=HandlerName:
CreatePolicyTypeTitle_handlerName=HandlerName
CreatePolicyTypeLabel_defaultValue=DefaultValue:
CreatePolicyTypeTitle_defaultValue=DefaultValue
EditPolicyTypeTitle=Edit PolicyType
EditPolicyTypeSaveLink=Save
EditPolicyTypeViewLink=View
EditPolicyTypeShowAllLink=Show All PolicyType Items
EditPolicyTypeIndexLink=Index
EditPolicyTypeLabel_id=Id:
EditPolicyTypeRequiredMessage_id=The Id field is required.
EditPolicyTypeTitle_id=Id
EditPolicyTypeLabel_name=Name:
EditPolicyTypeRequiredMessage_name=The Name field is required.
EditPolicyTypeTitle_name=Name
EditPolicyTypeLabel_description=Description:
EditPolicyTypeTitle_description=Description
EditPolicyTypeLabel_handlerName=HandlerName:
EditPolicyTypeTitle_handlerName=HandlerName
EditPolicyTypeLabel_defaultValue=DefaultValue:
EditPolicyTypeTitle_defaultValue=DefaultValue
ViewPolicyTypeTitle=View
ViewPolicyTypeDestroyLink=Destroy
ViewPolicyTypeEditLink=Edit
ViewPolicyTypeCreateLink=Create New PolicyType
ViewPolicyTypeShowAllLink=Show All PolicyType Items
ViewPolicyTypeIndexLink=Index
ViewPolicyTypeLabel_id=Id:
ViewPolicyTypeTitle_id=Id
ViewPolicyTypeLabel_name=Name:
ViewPolicyTypeTitle_name=Name
ViewPolicyTypeLabel_description=Description:
ViewPolicyTypeTitle_description=Description
ViewPolicyTypeLabel_handlerName=HandlerName:
ViewPolicyTypeTitle_handlerName=HandlerName
ViewPolicyTypeLabel_defaultValue=DefaultValue:
ViewPolicyTypeTitle_defaultValue=DefaultValue
ListPolicyTypeTitle=List
ListPolicyTypeEmpty=(No PolicyType Items Found)
ListPolicyTypeDestroyLink=Destroy
ListPolicyTypeEditLink=Edit
ListPolicyTypeViewLink=View
ListPolicyTypeCreateLink=Create New PolicyType
ListPolicyTypeIndexLink=Index
ListPolicyTypeTitle_id=Id
ListPolicyTypeTitle_name=Name
ListPolicyTypeTitle_description=Description
ListPolicyTypeTitle_handlerName=HandlerName
ListPolicyTypeTitle_defaultValue=DefaultValue
RoleTypeCreated=RoleType was successfully created.
RoleTypeUpdated=RoleType was successfully updated.
RoleTypeDeleted=RoleType was successfully deleted.
CreateRoleTypeTitle=Create New RoleType
CreateRoleTypeSaveLink=Save
CreateRoleTypeShowAllLink=Show All RoleType Items
CreateRoleTypeIndexLink=Index
CreateRoleTypeLabel_id=Id:
CreateRoleTypeRequiredMessage_id=The Id field is required.
CreateRoleTypeTitle_id=Id
CreateRoleTypeLabel_name=Name:
CreateRoleTypeRequiredMessage_name=The Name field is required.
CreateRoleTypeTitle_name=Name
CreateRoleTypeLabel_description=Description:
CreateRoleTypeTitle_description=Description
EditRoleTypeTitle=Edit RoleType
EditRoleTypeSaveLink=Save
EditRoleTypeViewLink=View
EditRoleTypeShowAllLink=Show All RoleType Items
EditRoleTypeIndexLink=Index
EditRoleTypeLabel_id=Id:
EditRoleTypeRequiredMessage_id=The Id field is required.
EditRoleTypeTitle_id=Id
EditRoleTypeLabel_name=Name:
EditRoleTypeRequiredMessage_name=The Name field is required.
EditRoleTypeTitle_name=Name
EditRoleTypeLabel_description=Description:
EditRoleTypeTitle_description=Description
ViewRoleTypeTitle=View
ViewRoleTypeDestroyLink=Destroy
ViewRoleTypeEditLink=Edit
ViewRoleTypeCreateLink=Create New RoleType
ViewRoleTypeShowAllLink=Show All RoleType Items
ViewRoleTypeIndexLink=Index
ViewRoleTypeLabel_id=Id:
ViewRoleTypeTitle_id=Id
ViewRoleTypeLabel_name=Name:
ViewRoleTypeTitle_name=Name
ViewRoleTypeLabel_description=Description:
ViewRoleTypeTitle_description=Description
ListRoleTypeTitle=List
ListRoleTypeEmpty=(No RoleType Items Found)
ListRoleTypeDestroyLink=Destroy
ListRoleTypeEditLink=Edit
ListRoleTypeViewLink=View
ListRoleTypeCreateLink=Create New RoleType
ListRoleTypeIndexLink=Index
ListRoleTypeTitle_id=Id
ListRoleTypeTitle_name=Name
ListRoleTypeTitle_description=Description
SettingTypeCreated=SettingType was successfully created.
SettingTypeUpdated=SettingType was successfully updated.
SettingTypeDeleted=SettingType was successfully deleted.
CreateSettingTypeTitle=Create New SettingType
CreateSettingTypeSaveLink=Save
CreateSettingTypeShowAllLink=Show All SettingType Items
CreateSettingTypeIndexLink=Index
CreateSettingTypeLabel_id=Id:
CreateSettingTypeRequiredMessage_id=The Id field is required.
CreateSettingTypeTitle_id=Id
CreateSettingTypeLabel_name=Name:
CreateSettingTypeRequiredMessage_name=The Name field is required.
CreateSettingTypeTitle_name=Name
CreateSettingTypeLabel_description=Description:
CreateSettingTypeTitle_description=Description
CreateSettingTypeLabel_defaultValue=DefaultValue:
CreateSettingTypeTitle_defaultValue=DefaultValue
CreateSettingTypeLabel_isUserModifiable=IsUserModifiable:
CreateSettingTypeTitle_isUserModifiable=IsUserModifiable
EditSettingTypeTitle=Edit SettingType
EditSettingTypeSaveLink=Save
EditSettingTypeViewLink=View
EditSettingTypeShowAllLink=Show All SettingType Items
EditSettingTypeIndexLink=Index
EditSettingTypeLabel_id=Id:
EditSettingTypeRequiredMessage_id=The Id field is required.
EditSettingTypeTitle_id=Id
EditSettingTypeLabel_name=Name:
EditSettingTypeRequiredMessage_name=The Name field is required.
EditSettingTypeTitle_name=Name
EditSettingTypeLabel_description=Description:
EditSettingTypeTitle_description=Description
EditSettingTypeLabel_defaultValue=DefaultValue:
EditSettingTypeTitle_defaultValue=DefaultValue
EditSettingTypeLabel_isUserModifiable=IsUserModifiable:
EditSettingTypeTitle_isUserModifiable=IsUserModifiable
ViewSettingTypeTitle=View
ViewSettingTypeDestroyLink=Destroy
ViewSettingTypeEditLink=Edit
ViewSettingTypeCreateLink=Create New SettingType
ViewSettingTypeShowAllLink=Show All SettingType Items
ViewSettingTypeIndexLink=Index
ViewSettingTypeLabel_id=Id:
ViewSettingTypeTitle_id=Id
ViewSettingTypeLabel_name=Name:
ViewSettingTypeTitle_name=Name
ViewSettingTypeLabel_description=Description:
ViewSettingTypeTitle_description=Description
ViewSettingTypeLabel_defaultValue=DefaultValue:
ViewSettingTypeTitle_defaultValue=DefaultValue
ViewSettingTypeLabel_isUserModifiable=IsUserModifiable:
ViewSettingTypeTitle_isUserModifiable=IsUserModifiable
ListSettingTypeTitle=List
ListSettingTypeEmpty=(No SettingType Items Found)
ListSettingTypeDestroyLink=Destroy
ListSettingTypeEditLink=Edit
ListSettingTypeViewLink=View
ListSettingTypeCreateLink=Create New SettingType
ListSettingTypeIndexLink=Index
ListSettingTypeTitle_id=Id
ListSettingTypeTitle_name=Name
ListSettingTypeTitle_description=Description
ListSettingTypeTitle_defaultValue=DefaultValue
ListSettingTypeTitle_isUserModifiable=IsUserModifiable
TemplatePolicyCreated=TemplatePolicy was successfully created.
TemplatePolicyUpdated=TemplatePolicy was successfully updated.
TemplatePolicyDeleted=TemplatePolicy was successfully deleted.
CreateTemplatePolicyTitle=Create New TemplatePolicy
CreateTemplatePolicySaveLink=Save
CreateTemplatePolicyShowAllLink=Show All TemplatePolicy Items
CreateTemplatePolicyIndexLink=Index
CreateTemplatePolicyLabel_id=Id:
CreateTemplatePolicyRequiredMessage_id=The Id field is required.
CreateTemplatePolicyTitle_id=Id
CreateTemplatePolicyLabel_value=Value:
CreateTemplatePolicyRequiredMessage_value=The Value field is required.
CreateTemplatePolicyTitle_value=Value
CreateTemplatePolicyLabel_description=Description:
CreateTemplatePolicyTitle_description=Description
CreateTemplatePolicyLabel_templatePolicySetId=TemplatePolicySetId:
CreateTemplatePolicyRequiredMessage_templatePolicySetId=The TemplatePolicySetId field is required.
CreateTemplatePolicyTitle_templatePolicySetId=TemplatePolicySetId
CreateTemplatePolicyLabel_policyTypeId=PolicyTypeId:
CreateTemplatePolicyRequiredMessage_policyTypeId=The PolicyTypeId field is required.
CreateTemplatePolicyTitle_policyTypeId=PolicyTypeId
EditTemplatePolicyTitle=Edit TemplatePolicy
EditTemplatePolicySaveLink=Save
EditTemplatePolicyViewLink=View
EditTemplatePolicyShowAllLink=Show All TemplatePolicy Items
EditTemplatePolicyIndexLink=Index
EditTemplatePolicyLabel_id=Id:
EditTemplatePolicyRequiredMessage_id=The Id field is required.
EditTemplatePolicyTitle_id=Id
EditTemplatePolicyLabel_value=Value:
EditTemplatePolicyRequiredMessage_value=The Value field is required.
EditTemplatePolicyTitle_value=Value
EditTemplatePolicyLabel_description=Description:
EditTemplatePolicyTitle_description=Description
EditTemplatePolicyLabel_templatePolicySetId=TemplatePolicySetId:
EditTemplatePolicyRequiredMessage_templatePolicySetId=The TemplatePolicySetId field is required.
EditTemplatePolicyTitle_templatePolicySetId=TemplatePolicySetId
EditTemplatePolicyLabel_policyTypeId=PolicyTypeId:
EditTemplatePolicyRequiredMessage_policyTypeId=The PolicyTypeId field is required.
EditTemplatePolicyTitle_policyTypeId=PolicyTypeId
ViewTemplatePolicyTitle=View
ViewTemplatePolicyDestroyLink=Destroy
ViewTemplatePolicyEditLink=Edit
ViewTemplatePolicyCreateLink=Create New TemplatePolicy
ViewTemplatePolicyShowAllLink=Show All TemplatePolicy Items
ViewTemplatePolicyIndexLink=Index
ViewTemplatePolicyLabel_id=Id:
ViewTemplatePolicyTitle_id=Id
ViewTemplatePolicyLabel_value=Value:
ViewTemplatePolicyTitle_value=Value
ViewTemplatePolicyLabel_description=Description:
ViewTemplatePolicyTitle_description=Description
ViewTemplatePolicyLabel_templatePolicySetId=TemplatePolicySetId:
ViewTemplatePolicyTitle_templatePolicySetId=TemplatePolicySetId
ViewTemplatePolicyLabel_policyTypeId=PolicyTypeId:
ViewTemplatePolicyTitle_policyTypeId=PolicyTypeId
ListTemplatePolicyTitle=List
ListTemplatePolicyEmpty=(No TemplatePolicy Items Found)
ListTemplatePolicyDestroyLink=Destroy
ListTemplatePolicyEditLink=Edit
ListTemplatePolicyViewLink=View
ListTemplatePolicyCreateLink=Create New TemplatePolicy
ListTemplatePolicyIndexLink=Index
ListTemplatePolicyTitle_id=Id
ListTemplatePolicyTitle_value=Value
ListTemplatePolicyTitle_description=Description
ListTemplatePolicyTitle_templatePolicySetId=TemplatePolicySetId
ListTemplatePolicyTitle_policyTypeId=PolicyTypeId
TemplatePolicySetCreated=TemplatePolicySet was successfully created.
TemplatePolicySetUpdated=TemplatePolicySet was successfully updated.
TemplatePolicySetDeleted=TemplatePolicySet was successfully deleted.
CreateTemplatePolicySetTitle=Create New TemplatePolicySet
CreateTemplatePolicySetSaveLink=Save
CreateTemplatePolicySetShowAllLink=Show All TemplatePolicySet Items
CreateTemplatePolicySetIndexLink=Index
CreateTemplatePolicySetLabel_id=Id:
CreateTemplatePolicySetRequiredMessage_id=The Id field is required.
CreateTemplatePolicySetTitle_id=Id
CreateTemplatePolicySetLabel_name=Name:
CreateTemplatePolicySetRequiredMessage_name=The Name field is required.
CreateTemplatePolicySetTitle_name=Name
CreateTemplatePolicySetLabel_description=Description:
CreateTemplatePolicySetTitle_description=Description
EditTemplatePolicySetTitle=Edit TemplatePolicySet
EditTemplatePolicySetSaveLink=Save
EditTemplatePolicySetViewLink=View
EditTemplatePolicySetShowAllLink=Show All TemplatePolicySet Items
EditTemplatePolicySetIndexLink=Index
EditTemplatePolicySetLabel_id=Id:
EditTemplatePolicySetRequiredMessage_id=The Id field is required.
EditTemplatePolicySetTitle_id=Id
EditTemplatePolicySetLabel_name=Name:
EditTemplatePolicySetRequiredMessage_name=The Name field is required.
EditTemplatePolicySetTitle_name=Name
EditTemplatePolicySetLabel_description=Description:
EditTemplatePolicySetTitle_description=Description
ViewTemplatePolicySetTitle=View
ViewTemplatePolicySetDestroyLink=Destroy
ViewTemplatePolicySetEditLink=Edit
ViewTemplatePolicySetCreateLink=Create New TemplatePolicySet
ViewTemplatePolicySetShowAllLink=Show All TemplatePolicySet Items
ViewTemplatePolicySetIndexLink=Index
ViewTemplatePolicySetLabel_id=Id:
ViewTemplatePolicySetTitle_id=Id
ViewTemplatePolicySetLabel_name=Name:
ViewTemplatePolicySetTitle_name=Name
ViewTemplatePolicySetLabel_description=Description:
ViewTemplatePolicySetTitle_description=Description
ListTemplatePolicySetTitle=List
ListTemplatePolicySetEmpty=(No TemplatePolicySet Items Found)
ListTemplatePolicySetDestroyLink=Destroy
ListTemplatePolicySetEditLink=Edit
ListTemplatePolicySetViewLink=View
ListTemplatePolicySetCreateLink=Create New TemplatePolicySet
ListTemplatePolicySetIndexLink=Index
ListTemplatePolicySetTitle_id=Id
ListTemplatePolicySetTitle_name=Name
ListTemplatePolicySetTitle_description=Description
UserExperimentRoleCreated=UserExperimentRole was successfully created.
UserExperimentRoleUpdated=UserExperimentRole was successfully updated.
UserExperimentRoleDeleted=UserExperimentRole was successfully deleted.
CreateUserExperimentRoleTitle=Create New UserExperimentRole
CreateUserExperimentRoleSaveLink=Save
CreateUserExperimentRoleShowAllLink=Show All UserExperimentRole Items
CreateUserExperimentRoleIndexLink=Index
CreateUserExperimentRoleLabel_userInfo=UserInfo:
CreateUserExperimentRoleRequiredMessage_userInfo=The UserInfo field is required.
CreateUserExperimentRoleTitle_userInfo=UserInfo
CreateUserExperimentRoleLabel_roleType=RoleType:
CreateUserExperimentRoleRequiredMessage_roleType=The RoleType field is required.
CreateUserExperimentRoleTitle_roleType=RoleType
CreateUserExperimentRoleLabel_experiment=Experiment:
CreateUserExperimentRoleRequiredMessage_experiment=The Experiment field is required.
CreateUserExperimentRoleTitle_experiment=Experiment
EditUserExperimentRoleTitle=Edit UserExperimentRole
EditUserExperimentRoleSaveLink=Save
EditUserExperimentRoleViewLink=View
EditUserExperimentRoleShowAllLink=Show All UserExperimentRole Items
EditUserExperimentRoleIndexLink=Index
EditUserExperimentRoleLabel_userInfo=UserInfo:
EditUserExperimentRoleRequiredMessage_userInfo=The UserInfo field is required.
EditUserExperimentRoleTitle_userInfo=UserInfo
EditUserExperimentRoleLabel_roleType=RoleType:
EditUserExperimentRoleRequiredMessage_roleType=The RoleType field is required.
EditUserExperimentRoleTitle_roleType=RoleType
EditUserExperimentRoleLabel_experiment=Experiment:
EditUserExperimentRoleRequiredMessage_experiment=The Experiment field is required.
EditUserExperimentRoleTitle_experiment=Experiment
ViewUserExperimentRoleTitle=View
ViewUserExperimentRoleDestroyLink=Destroy
ViewUserExperimentRoleEditLink=Edit
ViewUserExperimentRoleCreateLink=Create New UserExperimentRole
ViewUserExperimentRoleShowAllLink=Show All UserExperimentRole Items
ViewUserExperimentRoleIndexLink=Index
ViewUserExperimentRoleLabel_userInfo=UserInfo:
ViewUserExperimentRoleTitle_userInfo=UserInfo
ViewUserExperimentRoleLabel_roleType=RoleType:
ViewUserExperimentRoleTitle_roleType=RoleType
ViewUserExperimentRoleLabel_experiment=Experiment:
ViewUserExperimentRoleTitle_experiment=Experiment
ListUserExperimentRoleTitle=List
ListUserExperimentRoleEmpty=(No UserExperimentRole Items Found)
ListUserExperimentRoleDestroyLink=Destroy
ListUserExperimentRoleEditLink=Edit
ListUserExperimentRoleViewLink=View
ListUserExperimentRoleCreateLink=Create New UserExperimentRole
ListUserExperimentRoleIndexLink=Index
ListUserExperimentRoleTitle_userInfo=UserInfo
ListUserExperimentRoleTitle_roleType=RoleType
ListUserExperimentRoleTitle_experiment=Experiment
UserInfoCreated=UserInfo was successfully created.
UserInfoUpdated=UserInfo was successfully updated.
UserInfoDeleted=UserInfo was successfully deleted.
CreateUserInfoTitle=Create New UserInfo
CreateUserInfoSaveLink=Save
CreateUserInfoShowAllLink=Show All UserInfo Items
CreateUserInfoIndexLink=Index
CreateUserInfoLabel_id=Id:
CreateUserInfoRequiredMessage_id=The Id field is required.
CreateUserInfoTitle_id=Id
CreateUserInfoLabel_username=Username:
CreateUserInfoRequiredMessage_username=The Username field is required.
CreateUserInfoTitle_username=Username
CreateUserInfoLabel_firstName=FirstName:
CreateUserInfoRequiredMessage_firstName=The FirstName field is required.
CreateUserInfoTitle_firstName=FirstName
CreateUserInfoLabel_lastName=LastName:
CreateUserInfoRequiredMessage_lastName=The LastName field is required.
CreateUserInfoTitle_lastName=LastName
CreateUserInfoLabel_middleName=MiddleName:
CreateUserInfoTitle_middleName=MiddleName
CreateUserInfoLabel_email=Email:
CreateUserInfoTitle_email=Email
CreateUserInfoLabel_description=Description:
CreateUserInfoTitle_description=Description
CreateUserInfoLabel_password=Password:
CreateUserInfoTitle_password=Password
EditUserInfoTitle=Edit UserInfo
EditUserInfoSaveLink=Save
EditUserInfoViewLink=View
EditUserInfoShowAllLink=Show All UserInfo Items
EditUserInfoIndexLink=Index
EditUserInfoLabel_id=Id:
EditUserInfoRequiredMessage_id=The Id field is required.
EditUserInfoTitle_id=Id
EditUserInfoLabel_username=Username:
EditUserInfoRequiredMessage_username=The Username field is required.
EditUserInfoTitle_username=Username
EditUserInfoLabel_firstName=FirstName:
EditUserInfoRequiredMessage_firstName=The FirstName field is required.
EditUserInfoTitle_firstName=FirstName
EditUserInfoLabel_lastName=LastName:
EditUserInfoRequiredMessage_lastName=The LastName field is required.
EditUserInfoTitle_lastName=LastName
EditUserInfoLabel_middleName=MiddleName:
EditUserInfoTitle_middleName=MiddleName
EditUserInfoLabel_email=Email:
EditUserInfoTitle_email=Email
EditUserInfoLabel_description=Description:
EditUserInfoTitle_description=Description
EditUserInfoLabel_password=Password:
EditUserInfoTitle_password=Password
ViewUserInfoTitle=View
ViewUserInfoDestroyLink=Destroy
ViewUserInfoEditLink=Edit
ViewUserInfoCreateLink=Create New UserInfo
ViewUserInfoShowAllLink=Show All UserInfo Items
ViewUserInfoIndexLink=Index
ViewUserInfoLabel_id=Id:
ViewUserInfoTitle_id=Id
ViewUserInfoLabel_username=Username:
ViewUserInfoTitle_username=Username
ViewUserInfoLabel_firstName=FirstName:
ViewUserInfoTitle_firstName=FirstName
ViewUserInfoLabel_lastName=LastName:
ViewUserInfoTitle_lastName=LastName
ViewUserInfoLabel_middleName=MiddleName:
ViewUserInfoTitle_middleName=MiddleName
ViewUserInfoLabel_email=Email:
ViewUserInfoTitle_email=Email
ViewUserInfoLabel_description=Description:
ViewUserInfoTitle_description=Description
ViewUserInfoLabel_password=Password:
ViewUserInfoTitle_password=Password
ListUserInfoTitle=List
ListUserInfoEmpty=(No UserInfo Items Found)
ListUserInfoDestroyLink=Destroy
ListUserInfoEditLink=Edit
ListUserInfoViewLink=View
ListUserInfoCreateLink=Create New UserInfo
ListUserInfoIndexLink=Index
ListUserInfoTitle_id=Id
ListUserInfoTitle_username=Username
ListUserInfoTitle_firstName=FirstName
ListUserInfoTitle_lastName=LastName
ListUserInfoTitle_middleName=MiddleName
ListUserInfoTitle_email=Email
ListUserInfoTitle_description=Description
ListUserInfoTitle_password=Password
UserSettingCreated=UserSetting was successfully created.
UserSettingUpdated=UserSetting was successfully updated.
UserSettingDeleted=UserSetting was successfully deleted.
CreateUserSettingTitle=Create New UserSetting
CreateUserSettingSaveLink=Save
CreateUserSettingShowAllLink=Show All UserSetting Items
CreateUserSettingIndexLink=Index
CreateUserSettingLabel_id=Id:
CreateUserSettingRequiredMessage_id=The Id field is required.
CreateUserSettingTitle_id=Id
CreateUserSettingLabel_value=Value:
CreateUserSettingTitle_value=Value
CreateUserSettingLabel_userId=UserId:
CreateUserSettingRequiredMessage_userId=The UserId field is required.
CreateUserSettingTitle_userId=UserId
CreateUserSettingLabel_settingTypeId=SettingTypeId:
CreateUserSettingRequiredMessage_settingTypeId=The SettingTypeId field is required.
CreateUserSettingTitle_settingTypeId=SettingTypeId
EditUserSettingTitle=Edit UserSetting
EditUserSettingSaveLink=Save
EditUserSettingViewLink=View
EditUserSettingShowAllLink=Show All UserSetting Items
EditUserSettingIndexLink=Index
EditUserSettingLabel_id=Id:
EditUserSettingRequiredMessage_id=The Id field is required.
EditUserSettingTitle_id=Id
EditUserSettingLabel_value=Value:
EditUserSettingTitle_value=Value
EditUserSettingLabel_userId=UserId:
EditUserSettingRequiredMessage_userId=The UserId field is required.
EditUserSettingTitle_userId=UserId
EditUserSettingLabel_settingTypeId=SettingTypeId:
EditUserSettingRequiredMessage_settingTypeId=The SettingTypeId field is required.
EditUserSettingTitle_settingTypeId=SettingTypeId
ViewUserSettingTitle=View
ViewUserSettingDestroyLink=Destroy
ViewUserSettingEditLink=Edit
ViewUserSettingCreateLink=Create New UserSetting
ViewUserSettingShowAllLink=Show All UserSetting Items
ViewUserSettingIndexLink=Index
ViewUserSettingLabel_id=Id:
ViewUserSettingTitle_id=Id
ViewUserSettingLabel_value=Value:
ViewUserSettingTitle_value=Value
ViewUserSettingLabel_userId=UserId:
ViewUserSettingTitle_userId=UserId
ViewUserSettingLabel_settingTypeId=SettingTypeId:
ViewUserSettingTitle_settingTypeId=SettingTypeId
ListUserSettingTitle=List
ListUserSettingEmpty=(No UserSetting Items Found)
ListUserSettingDestroyLink=Destroy
ListUserSettingEditLink=Edit
ListUserSettingViewLink=View
ListUserSettingCreateLink=Create New UserSetting
ListUserSettingIndexLink=Index
ListUserSettingTitle_id=Id
ListUserSettingTitle_value=Value
ListUserSettingTitle_userId=UserId
ListUserSettingTitle_settingTypeId=SettingTypeId