use of cz.metacentrum.perun.core.api.AttributeDefinition in project perun by CESNET.
the class urn_perun_resource_attribute_def_def_openNebulaGroupName method getAttributeDefinition.
public AttributeDefinition getAttributeDefinition() {
AttributeDefinition attr = new AttributeDefinition();
attr.setNamespace(AttributesManager.NS_RESOURCE_ATTR_DEF);
attr.setFriendlyName("openNebulaGroupName");
attr.setDisplayName("OpenNebula Group Name");
attr.setType(String.class.getName());
attr.setDescription("Name of group in OpenNebula defined by resource in Perun");
return attr;
}
use of cz.metacentrum.perun.core.api.AttributeDefinition in project perun by CESNET.
the class urn_perun_resource_attribute_def_def_redmineProjectID method getAttributeDefinition.
@Override
public AttributeDefinition getAttributeDefinition() {
AttributeDefinition attr = new AttributeDefinition();
attr.setNamespace(AttributesManager.NS_RESOURCE_ATTR_DEF);
attr.setFriendlyName("redmineProjectID");
attr.setDisplayName("Redmine project ID");
attr.setType(String.class.getName());
attr.setDescription("ID for redmine project.");
return attr;
}
use of cz.metacentrum.perun.core.api.AttributeDefinition in project perun by CESNET.
the class urn_perun_user_attribute_def_virt_openNebulaSSHAdminKeys method getAttributeDefinition.
public AttributeDefinition getAttributeDefinition() {
AttributeDefinition attr = new AttributeDefinition();
attr.setNamespace(AttributesManager.NS_USER_ATTR_VIRT);
attr.setFriendlyName("openNebulaSSHAdminKeys");
attr.setDisplayName("Open Nebula SSH Admin keys");
attr.setType(ArrayList.class.getName());
attr.setDescription("List of user's ssh admin keys if any exists.");
return attr;
}
use of cz.metacentrum.perun.core.api.AttributeDefinition in project perun by CESNET.
the class urn_perun_user_attribute_def_def_vsupMailAlias method getAttributeDefinition.
public AttributeDefinition getAttributeDefinition() {
AttributeDefinition attr = new AttributeDefinition();
attr.setNamespace(AttributesManager.NS_USER_ATTR_DEF);
attr.setFriendlyName("vsupMailAlias");
attr.setDisplayName("School mail alias");
attr.setType(String.class.getName());
attr.setDescription("Generated school mail alias in a \"name.surname[counter]@vsup.cz\" form. This is a main alias used in Zimbra mail. Value can be empty. On users name change, attribute value must be fixed manually.");
return attr;
}
use of cz.metacentrum.perun.core.api.AttributeDefinition in project perun by CESNET.
the class FacilitiesManagerBlImpl method getFacilityContactGroup.
@Override
public ContactGroup getFacilityContactGroup(PerunSession sess, Facility facility, String name) throws InternalErrorException, FacilityContactNotExistsException {
//need to get richUsers with attributes
List<AttributeDefinition> mandatoryAttributes = this.getListOfMandatoryAttributes(sess);
ContactGroup cg = this.getFacilitiesManagerImpl().getFacilityContactGroup(sess, facility, name);
return this.setAttributesForRichUsersInContactGroup(sess, cg, mandatoryAttributes);
}
Aggregations