fixes
This commit is contained in:
parent
a234787911
commit
cdaf9d43d5
|
@ -1,6 +1,7 @@
|
|||
package org.opencdmp.commons.types.descriptionstatus;
|
||||
|
||||
import jakarta.xml.bind.annotation.*;
|
||||
import org.opencdmp.commons.enums.PlanUserRole;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -14,7 +15,7 @@ public class DescriptionStatusDefinitionAuthorizationItemEntity {
|
|||
|
||||
@XmlElementWrapper(name = "plan_roles")
|
||||
@XmlElement(name = "plan_roles")
|
||||
public List<String> planRoles;
|
||||
public List<PlanUserRole> planRoles;
|
||||
|
||||
@XmlElement(name = "allowAuthenticated")
|
||||
public Boolean allowAuthenticated;
|
||||
|
@ -25,8 +26,8 @@ public class DescriptionStatusDefinitionAuthorizationItemEntity {
|
|||
public List<String> getRoles() { return this.roles; }
|
||||
public void setRoles(List<String> roles) { this.roles = roles; }
|
||||
|
||||
public List<String> getPlanRoles() { return this.planRoles; }
|
||||
public void setPlanRoles(List<String> planRoles) { this.planRoles = planRoles; }
|
||||
public List<PlanUserRole> getPlanRoles() { return this.planRoles; }
|
||||
public void setPlanRoles(List<PlanUserRole> planRoles) { this.planRoles = planRoles; }
|
||||
|
||||
public Boolean getAllowAuthenticated() { return this.allowAuthenticated; }
|
||||
public void setAllowAuthenticated(Boolean allowAuthenticated) { this.allowAuthenticated = allowAuthenticated; }
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package org.opencdmp.commons.types.planstatus;
|
||||
|
||||
import jakarta.xml.bind.annotation.*;
|
||||
import org.opencdmp.commons.enums.PlanUserRole;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -14,7 +15,7 @@ public class PlanStatusDefinitionAuthorizationItemEntity {
|
|||
|
||||
@XmlElementWrapper(name = "plan_roles")
|
||||
@XmlElement(name = "plan_roles")
|
||||
public List<String> planRoles;
|
||||
public List<PlanUserRole> planRoles;
|
||||
|
||||
@XmlElement(name = "allowAuthenticated")
|
||||
public Boolean allowAuthenticated;
|
||||
|
@ -25,8 +26,8 @@ public class PlanStatusDefinitionAuthorizationItemEntity {
|
|||
public List<String> getRoles() { return this.roles; }
|
||||
public void setRoles(List<String> roles) { this.roles = roles; }
|
||||
|
||||
public List<String> getPlanRoles() { return this.planRoles; }
|
||||
public void setPlanRoles(List<String> planRoles) { this.planRoles = planRoles; }
|
||||
public List<PlanUserRole> getPlanRoles() { return this.planRoles; }
|
||||
public void setPlanRoles(List<PlanUserRole> planRoles) { this.planRoles = planRoles; }
|
||||
|
||||
public Boolean getAllowAuthenticated() { return this.allowAuthenticated; }
|
||||
public void setAllowAuthenticated(Boolean allowAuthenticated) { this.allowAuthenticated = allowAuthenticated; }
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package org.opencdmp.model.descriptionstatus;
|
||||
|
||||
import org.opencdmp.commons.enums.PlanUserRole;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class DescriptionStatusDefinitionAuthorizationItem {
|
||||
|
@ -8,7 +10,7 @@ public class DescriptionStatusDefinitionAuthorizationItem {
|
|||
private List<String> roles;
|
||||
|
||||
public final static String _planRoles = "planRoles";
|
||||
private List<String> planRoles;
|
||||
private List<PlanUserRole> planRoles;
|
||||
|
||||
public final static String _allowAuthenticated = "allowAuthenticated";
|
||||
private Boolean allowAuthenticated;
|
||||
|
@ -20,9 +22,9 @@ public class DescriptionStatusDefinitionAuthorizationItem {
|
|||
|
||||
public void setRoles(List<String> roles) { this.roles = roles; }
|
||||
|
||||
public List<String> getPlanRoles() { return planRoles; }
|
||||
public List<PlanUserRole> getPlanRoles() { return planRoles; }
|
||||
|
||||
public void setPlanRoles(List<String> planRoles) { this.planRoles = planRoles; }
|
||||
public void setPlanRoles(List<PlanUserRole> planRoles) { this.planRoles = planRoles; }
|
||||
|
||||
public Boolean getAllowAuthenticated() { return allowAuthenticated; }
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package org.opencdmp.model.persist.descriptionstatus;
|
||||
|
||||
import gr.cite.tools.validation.specification.Specification;
|
||||
import org.opencdmp.commons.enums.PlanUserRole;
|
||||
import org.opencdmp.commons.validation.BaseValidator;
|
||||
import org.opencdmp.convention.ConventionService;
|
||||
import org.opencdmp.errorcode.ErrorThesaurusProperties;
|
||||
|
@ -19,7 +20,7 @@ public class DescriptionStatusDefinitionAuthorizationItemPersist {
|
|||
private List<String> roles = null;
|
||||
public final static String _roles = "roles";
|
||||
|
||||
private List<String> planRoles = null;
|
||||
private List<PlanUserRole> planRoles = null;
|
||||
public final static String _planRoles = "planRoles";
|
||||
|
||||
private Boolean allowAuthenticated;
|
||||
|
@ -31,8 +32,8 @@ public class DescriptionStatusDefinitionAuthorizationItemPersist {
|
|||
public List<String> getRoles() { return roles; }
|
||||
public void setRoles(List<String> roles) { this.roles = roles; }
|
||||
|
||||
public List<String> getPlanRoles() { return planRoles; }
|
||||
public void setPlanRoles(List<String> planRoles) { this.planRoles = planRoles; }
|
||||
public List<PlanUserRole> getPlanRoles() { return planRoles; }
|
||||
public void setPlanRoles(List<PlanUserRole> planRoles) { this.planRoles = planRoles; }
|
||||
|
||||
public Boolean getAllowAuthenticated() { return allowAuthenticated; }
|
||||
public void setAllowAuthenticated(Boolean allowAuthenticated) { this.allowAuthenticated = allowAuthenticated; }
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.opencdmp.model.persist.planstatus;
|
|||
|
||||
import gr.cite.tools.validation.ValidatorFactory;
|
||||
import gr.cite.tools.validation.specification.Specification;
|
||||
import org.opencdmp.commons.enums.PlanUserRole;
|
||||
import org.opencdmp.commons.validation.BaseValidator;
|
||||
import org.opencdmp.convention.ConventionService;
|
||||
import org.opencdmp.errorcode.ErrorThesaurusProperties;
|
||||
|
@ -19,7 +20,7 @@ public class PlanStatusDefinitionAuthorizationItemPersist {
|
|||
private List<String> roles = null;
|
||||
public final static String _roles = "roles";
|
||||
|
||||
private List<String> planRoles = null;
|
||||
private List<PlanUserRole> planRoles = null;
|
||||
public final static String _planRoles = "planRoles";
|
||||
|
||||
private Boolean allowAuthenticated;
|
||||
|
@ -32,8 +33,8 @@ public class PlanStatusDefinitionAuthorizationItemPersist {
|
|||
public List<String> getRoles() { return this.roles; }
|
||||
public void setRoles(List<String> roles) { this.roles = roles; }
|
||||
|
||||
public List<String> getPlanRoles() { return this.planRoles; }
|
||||
public void setPlanRoles(List<String> planRoles) { this.planRoles = planRoles; }
|
||||
public List<PlanUserRole> getPlanRoles() { return this.planRoles; }
|
||||
public void setPlanRoles(List<PlanUserRole> planRoles) { this.planRoles = planRoles; }
|
||||
|
||||
public Boolean getAllowAuthenticated() { return this.allowAuthenticated; }
|
||||
public void setAllowAuthenticated(Boolean allowAuthenticated) { this.allowAuthenticated = allowAuthenticated; }
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package org.opencdmp.model.planstatus;
|
||||
|
||||
import org.opencdmp.commons.enums.PlanUserRole;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class PlanStatusDefinitionAuthorizationItem {
|
||||
|
@ -8,7 +10,7 @@ public class PlanStatusDefinitionAuthorizationItem {
|
|||
private List<String> roles;
|
||||
|
||||
public final static String _planRoles = "planRoles";
|
||||
private List<String> planRoles;
|
||||
private List<PlanUserRole> planRoles;
|
||||
|
||||
public final static String _allowAuthenticated = "allowAuthenticated";
|
||||
private Boolean allowAuthenticated;
|
||||
|
@ -20,8 +22,8 @@ public class PlanStatusDefinitionAuthorizationItem {
|
|||
public List<String> getRoles() { return this.roles; }
|
||||
public void setRoles(List<String> roles) { this.roles = roles; }
|
||||
|
||||
public List<String> getPlanRoles() { return this.planRoles; }
|
||||
public void setPlanRoles(List<String> planRoles) { this.planRoles = planRoles; }
|
||||
public List<PlanUserRole> getPlanRoles() { return this.planRoles; }
|
||||
public void setPlanRoles(List<PlanUserRole> planRoles) { this.planRoles = planRoles; }
|
||||
|
||||
public Boolean getAllowAuthenticated() { return this.allowAuthenticated; }
|
||||
public void setAllowAuthenticated(Boolean allowAuthenticated) { this.allowAuthenticated = allowAuthenticated; }
|
||||
|
|
Loading…
Reference in New Issue