use of org.eclipse.vorto.repository.domain.NamespaceRole in project vorto by eclipse.
the class RoleProvider method modelCreator.
public static NamespaceRole modelCreator() {
NamespaceRole model_creator = new NamespaceRole();
model_creator.setName("model_creator");
model_creator.setPrivileges(3);
model_creator.setRole(2);
return model_creator;
}
use of org.eclipse.vorto.repository.domain.NamespaceRole in project vorto by eclipse.
the class RoleProvider method modelPromoter.
public static NamespaceRole modelPromoter() {
NamespaceRole model_promoter = new NamespaceRole();
model_promoter.setName("model_promoter");
model_promoter.setPrivileges(3);
model_promoter.setRole(4);
return model_promoter;
}
use of org.eclipse.vorto.repository.domain.NamespaceRole in project vorto by eclipse.
the class RoleProvider method namespaceAdmin.
public static NamespaceRole namespaceAdmin() {
NamespaceRole namespace_admin = new NamespaceRole();
namespace_admin.setName("namespace_admin");
namespace_admin.setPrivileges(7);
namespace_admin.setRole(32);
return namespace_admin;
}
use of org.eclipse.vorto.repository.domain.NamespaceRole in project vorto by eclipse.
the class RoleProvider method modelReviewer.
public static NamespaceRole modelReviewer() {
NamespaceRole model_reviewer = new NamespaceRole();
model_reviewer.setName("model_reviewer");
model_reviewer.setPrivileges(3);
model_reviewer.setRole(8);
return model_reviewer;
}
use of org.eclipse.vorto.repository.domain.NamespaceRole in project vorto by eclipse.
the class RoleProvider method modelCreator.
public static NamespaceRole modelCreator() {
NamespaceRole model_creator = new NamespaceRole();
model_creator.setName("model_creator");
model_creator.setPrivileges(3);
model_creator.setRole(2);
return model_creator;
}
Aggregations