private List<PropertyEntity> getPropertiesForRelation(ContextEntity context, AbstractResourceRelationEntity relation) { return utils().getPropertyValues(relation, context); }
private List<PropertyEntity> getPropertiesForResource(final ResourceEntity applicationServer, final ContextEntity context, AMWTemplateExceptionHandler templateExceptionHandler) { return utils().getPropertyValues(applicationServer, context, templateExceptionHandler); }
public Map<String, FreeMarkerProperty> propertiesForContext(final ContextEntity context) { Map<String, FreeMarkerProperty> result = translatePropertyList(utils().getPropertyValues(context), context.getName(), context.getId(), null, null, null); result.put(RESERVED_PROPERTY_DOMAIN, new FreeMarkerProperty(getDomainName(context), RESERVED_PROPERTY_DOMAIN)); result.put(RESERVED_PROPERTY_NAME_ALIAS, new FreeMarkerProperty(context.getNameAlias(), RESERVED_PROPERTY_NAME_ALIAS)); return result; }