Uses of Class
cz.metacentrum.perun.core.api.Resource
Packages that use Resource
Package
Description
Exceptions.
-
Uses of Resource in cz.metacentrum.perun.audit.events.AttributesManagerEvents
Methods in cz.metacentrum.perun.audit.events.AttributesManagerEvents that return ResourceModifier and TypeMethodDescriptionAllAttributesRemovedForGroupAndResource.getResource()AllAttributesRemovedForResource.getResource()AllAttributesRemovedForResourceAndMember.getResource()AllGroupResourceAttributesRemovedForGroups.getResource()AllMemberResourceAttributesRemovedForMembers.getResource()AttributeChangedForResourceAndMember.getResource()AttributeRemovedForGroupAndResource.getResource()AttributeRemovedForResource.getResource()AttributeRemovedForResourceAndMember.getResource()AttributeSetForGroupAndResource.getResource()AttributeSetForResource.getResource()AttributeSetForResourceAndMember.getResource()Constructors in cz.metacentrum.perun.audit.events.AttributesManagerEvents with parameters of type ResourceModifierConstructorDescriptionAllAttributesRemovedForGroupAndResource(Group group, Resource resource) AllAttributesRemovedForResource(Resource resource) AllAttributesRemovedForResourceAndMember(Resource resource, Member member) AttributeChangedForResourceAndMember(Attribute attribute, Resource resource, Member member) AttributeRemovedForGroupAndResource(AttributeDefinition attribute, Group group, Resource resource) AttributeRemovedForResource(AttributeDefinition attribute, Resource resource) AttributeRemovedForResourceAndMember(AttributeDefinition attribute, Resource resource, Member member) AttributeSetForGroupAndResource(Attribute attribute, Group group, Resource resource) AttributeSetForResource(Attribute attribute, Resource resource) AttributeSetForResourceAndMember(Attribute attribute, Resource resource, Member member) -
Uses of Resource in cz.metacentrum.perun.audit.events.ResourceManagerEvents
Methods in cz.metacentrum.perun.audit.events.ResourceManagerEvents that return ResourceModifier and TypeMethodDescriptionGroupAssignedToResource.getResource()GroupRemovedFromResource.getResource()ResourceCreated.getResource()ResourceDeleted.getResource()ResourceSelfServiceAddedForGroup.getResource()ResourceSelfServiceAddedForUser.getResource()ResourceSelfServiceRemovedForGroup.getResource()ResourceSelfServiceRemovedForUser.getResource()ResourceUpdated.getResource()ServiceAssignedToResource.getResource()ServiceRemovedFromResource.getResource()Constructors in cz.metacentrum.perun.audit.events.ResourceManagerEvents with parameters of type ResourceModifierConstructorDescriptionGroupAssignedToResource(Group group, Resource resource) GroupRemovedFromResource(Group group, Resource resource) ResourceCreated(Resource resource) ResourceDeleted(Resource resource, Facility facility) ResourceSelfServiceAddedForGroup(Resource resource, Group group) ResourceSelfServiceAddedForUser(Resource resource, User user) ResourceSelfServiceRemovedForGroup(Resource resource, Group group) ResourceSelfServiceRemovedForUser(Resource resource, User user) ResourceUpdated(Resource resource) ServiceAssignedToResource(Service service, Resource resource) ServiceRemovedFromResource(Service service, Resource resource) -
Uses of Resource in cz.metacentrum.perun.controller.model
Methods in cz.metacentrum.perun.controller.model that return ResourceMethods in cz.metacentrum.perun.controller.model with parameters of type Resource -
Uses of Resource in cz.metacentrum.perun.core.api
Subclasses of Resource in cz.metacentrum.perun.core.apiMethods in cz.metacentrum.perun.core.api that return ResourceModifier and TypeMethodDescriptionResourcesManager.copyResource(PerunSession perunSession, Resource templateResource, Resource destinationResource, boolean withGroups) Copy "template" settings from user's another existing resource and create new resource with this template.ResourcesManager.createResource(PerunSession perunSession, Resource resource, Vo vo, Facility facility) Inserts resource into DB.EnrichedBanOnResource.getResource()EnrichedResource.getResource()GroupResourceAssignment.getResource()ResourcesManager.getResourceById(PerunSession perunSession, int id) Searches for the Resource with specified id.ResourcesManager.getResourceByName(PerunSession sess, Vo vo, Facility facility, String name) Return resource by its name.ResourcesManager.updateResource(PerunSession perunSession, Resource resource) Updates Resource.Methods in cz.metacentrum.perun.core.api that return types with arguments of type ResourceModifier and TypeMethodDescriptionResourcesManager.getAllowedResources(PerunSession sess, Member member) Get all resources which have the member access on.UsersManager.getAllowedResources(PerunSession sess, Facility facility, User user) Get all resources from the facility which have the user access on.UsersManager.getAllowedResources(PerunSession sess, User user) Get all resources which have the user access on.ResourcesManager.getAllResources(PerunSession sess) Get all resources from database.ResourcesManager.getAllResourcesByResourceTag(PerunSession perunSession, ResourceTag resourceTag) Get all resources in specific Vo (specific by resourceTag.getVoId) for existing resourceTagFacilitiesManager.getAssignedResources(PerunSession perunSession, Facility facility) Returns all resources assigned to the facility.ResourcesManager.getAssignedResources(PerunSession perunSession, Group group) List all resources to which the group is assigned.ResourcesManager.getAssignedResources(PerunSession sess, Member member) Get all resources where the member is assigned.ResourcesManager.getAssignedResources(PerunSession sess, Member member, Service service) Get all resources where the member and the service are assigned.ServicesManager.getAssignedResources(PerunSession sess, Service service) Get all resources where the service is defined.FacilitiesManager.getAssignedResourcesByAssignedService(PerunSession perunSession, Facility facility, Service service) Returns resources with specific service assigned to the facility.UsersManager.getAssociatedResources(PerunSession sess, Facility facility, User user) Return all resources of specified facility with which user is associated through all his members.ResourcesManager.getResources(PerunSession perunSession, Vo vo) Get all VO resources.Searcher.getResources(PerunSession sess, Map<String, String> attributesWithSearchingValues, boolean allowPartialMatchForString) This method get Map of Attributes with searching values and try to find all resources, which have specific attributes in format.ResourcesManager.getResourcesByIds(PerunSession perunSession, List<Integer> ids) Search for the Resources with specific ids.ResourcesManager.getResourcesWhereGroupIsAdmin(PerunSession sess, Facility facility, Vo vo, Group authorizedGroup) Return all resources for the facility and the vo where the group is authorized as resource manager.ResourcesManager.getResourcesWhereUserIsAdmin(PerunSession sess, Facility facility, Vo vo, User authorizedUser) Return all resources for the facility and the vo where user is authorized as resource manager.ResourcesManager.getResourcesWhereUserIsAdmin(PerunSession sess, User user) Returns list of resources, where the user is an admin.ResourcesManager.getResourcesWhereUserIsAdmin(PerunSession sess, Vo vo, User authorizedUser) Return all resources for the vo where user is authorized as resource manager.AuthzResolver.getResourcesWhereUserIsInRoles(PerunSession sess, User user, List<String> roles) Get all Resources where the given user has set one of the given roles or the given user is a member of an authorized group with such roles.UsersManager.getUserAssignments(PerunSession sess, User user) Returns all assignments of the user, assignments being Facilities and Resources they are assigned to.Methods in cz.metacentrum.perun.core.api with parameters of type ResourceModifier and TypeMethodDescriptionvoidResourcesManager.activateGroupResourceAssignment(PerunSession session, Group group, Resource resource, boolean async) Try to activate the group-resource status.voidResourcesManager.addAdmin(PerunSession sess, Resource resource, Group group) Add role resource admin to group for the selected resource.voidResourcesManager.addAdmin(PerunSession sess, Resource resource, User user) Add role resource admin to user for the selected resource.voidResourcesManager.addResourceSelfServiceGroup(PerunSession sess, Resource resource, Group group) Sets ResourceSelfService role to given group for given resource.voidResourcesManager.addResourceSelfServiceUser(PerunSession sess, Resource resource, User user) Sets ResourceSelfService role to given user for given resource.voidResourcesManager.assignGroupsToResource(PerunSession perunSession, List<Group> groups, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) Assign groups to a resource.voidResourcesManager.assignGroupToResource(PerunSession perunSession, Group group, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) Assign group to a resource.voidResourcesManager.assignResourceTagsToResource(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) Assign existing ResourceTags on existing Resource.voidResourcesManager.assignResourceTagToResource(PerunSession perunSession, ResourceTag resourceTag, Resource resource) Assign existing ResourceTag on existing Resource.voidResourcesManager.assignService(PerunSession perunSession, Resource resource, Service service) Assign service to resource.voidResourcesManager.assignServices(PerunSession perunSession, Resource resource, List<Service> services) Assign services to resource.voidAttributesManager.checkAttributeSemantics(PerunSession sess, Member member, Resource resource, Attribute attribute) Check if value of this member-resource attribute has valid semantics.voidAttributesManager.checkAttributeSemantics(PerunSession sess, Resource resource, Attribute attribute) Check if value of this resource attribute has valid semantics.voidAttributesManager.checkAttributeSemantics(PerunSession sess, Resource resource, Group group, Attribute attribute) Checks if value of this group-resource attribute has valid semantics.voidAttributesManager.checkAttributesSemantics(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Check if value of attributes has valid semantics.voidAttributesManager.checkAttributesSemantics(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.voidAttributesManager.checkAttributesSemantics(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) PRIVILEGE: Check attributes only when principal has access to write on them.voidAttributesManager.checkAttributesSemantics(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.voidAttributesManager.checkAttributesSemantics(PerunSession sess, Resource resource, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.voidAttributesManager.checkAttributesSyntax(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Check if value of attributes has valid syntax.voidAttributesManager.checkAttributesSyntax(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.voidAttributesManager.checkAttributesSyntax(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) PRIVILEGE: Check attributes only when principal has access to write on them.voidAttributesManager.checkAttributesSyntax(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.voidAttributesManager.checkAttributesSyntax(PerunSession sess, Resource resource, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.voidAttributesManager.checkAttributeSyntax(PerunSession sess, Member member, Resource resource, Attribute attribute) Check if value of this member-resource attribute has valid syntax.voidAttributesManager.checkAttributeSyntax(PerunSession sess, Resource resource, Attribute attribute) Check if value of this resource attribute has valid syntax.voidAttributesManager.checkAttributeSyntax(PerunSession sess, Resource resource, Group group, Attribute attribute) Checks if value of this group-resource attribute has valid syntaxvoidResourcesManager.copyAttributes(PerunSession sess, Resource sourceResource, Resource destinationResource) Copy all attributes of the source resource to the destination resource.voidResourcesManager.copyGroups(PerunSession sess, Resource sourceResource, Resource destinationResource) Copy all groups of the source resource to the destination resource.ResourcesManager.copyResource(PerunSession perunSession, Resource templateResource, Resource destinationResource, boolean withGroups) Copy "template" settings from user's another existing resource and create new resource with this template.voidResourcesManager.copyServices(PerunSession sess, Resource sourceResource, Resource destinationResource) Copy all services of the source resource to the destination resource.ResourcesManager.createResource(PerunSession perunSession, Resource resource, Vo vo, Facility facility) Inserts resource into DB.voidResourcesManager.deactivateGroupResourceAssignment(PerunSession session, Group group, Resource resource) Deactivates the group-resource assignment.voidResourcesManager.deleteResource(PerunSession perunSession, Resource resource) Deletes resource by id.AttributesManager.fillAttribute(PerunSession sess, Member member, Resource resource, Attribute attribute) This method tries to fill value of the member-resource attribute.AttributesManager.fillAttribute(PerunSession sess, Resource resource, Attribute attribute) This method tries to fill a value of the resource attribute.AttributesManager.fillAttribute(PerunSession sess, Resource resource, Group group, Attribute attribute) This method tries to fill group-resource attribute.AttributesManager.fillAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) This method tries to fill value of the user, member, member-resource and user-facility attributes.AttributesManager.fillAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) PRIVILEGE: Fill attributes only when principal has access to write on them.AttributesManager.fillAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) PRIVILEGE: Fill attributes only when principal has access to write on them.AttributesManager.fillAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) PRIVILEGE: Fill attributes only when principal has access to write on them.AttributesManager.fillAttributes(PerunSession sess, Resource resource, List<Attribute> attributes) PRIVILEGE: Fill attributes only when principal has access to write on them.ResourcesManager.getAdminGroups(PerunSession sess, Resource resource) Deprecated.ResourcesManager.getAdmins(PerunSession perunSession, Resource resource, boolean onlyDirectAdmins) Deprecated.AttributesManager.getAllAttributesStartWithNameWithoutNullValue(PerunSession sess, Resource resource, String startPartOfName) Get all non-empty attributes associated with the resource starts with name startPartOfName.ResourcesManager.getAllowedMembers(PerunSession perunSession, Resource resource) Returns all members assigned to the resource.ResourcesManager.getAllowedUsers(PerunSession sess, Resource resource) Returns all users who is assigned with the resource.ResourcesManager.getAllResourcesTagsForResource(PerunSession perunSession, Resource resource) Get all resourcesTags for existing ResourceResourcesManager.getAssignedGroups(PerunSession perunSession, Resource resource) List all groups associated with the resource.ResourcesManager.getAssignedGroups(PerunSession perunSession, Resource resource, Member member) List all groups associated with the resource and memberResourcesManager.getAssignedMembers(PerunSession sess, Resource resource) Returns all members assigned to the resource.ResourcesManager.getAssignedMembersWithStatus(PerunSession sess, Resource resource) Returns members of groups assigned to resource with status of group-resource assignment.ResourcesManager.getAssignedRichMembers(PerunSession sess, Resource resource) Returns all members assigned to the resource as RichMembers.ResourcesManager.getAssignedServices(PerunSession perunSession, Resource resource) List all services associated with the resource.AttributesManager.getAttribute(PerunSession sess, Member member, Resource resource, String attributeName) Get particular attribute for the member on this resource.AttributesManager.getAttribute(PerunSession sess, Resource resource, Group group, String attributeName) Get particular group attribute on resourceAttributesManager.getAttribute(PerunSession sess, Resource resource, String attributeName) Get particular attribute for the resource.AttributesManager.getAttributeById(PerunSession sess, Member member, Resource resource, int id) Get particular attribute for the member on this resource.AttributesManager.getAttributeById(PerunSession sess, Resource resource, int id) Get particular attribute for the resource.AttributesManager.getAttributeById(PerunSession sess, Resource resource, Group group, int id) Get particular group attribute on this resourceAttributesManager.getAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member) Get all non-empty member, user, member-resource and user-facility attributes.AttributesManager.getAttributes(PerunSession sess, Member member, Resource resource) Get all non-empty attributes associated with the member on the resource.AttributesManager.getAttributes(PerunSession sess, Member member, Resource resource, boolean workWithUserAttributes) Gets all non-empty attributes associated with the member on the resource and if workWithUserAttributes is true, gets also all non-empty user, user-facility and member attributes.AttributesManager.getAttributes(PerunSession sess, Member member, Resource resource, List<String> attrNames, boolean workWithUserAttributes) Gets selected non-empty attributes associated with the member and the resource.AttributesManager.getAttributes(PerunSession sess, Resource resource) Get all non-empty attributes associated with the resource.AttributesManager.getAttributes(PerunSession sess, Resource resource, Group group) Get all non-empty attributes associated with the group on resourceAttributesManager.getAttributes(PerunSession sess, Resource resource, Group group, boolean workWithGroupAttributes) Get all non-empty attributes associated with the group and resource.AttributesManager.getAttributes(PerunSession sess, Resource resource, Group group, Member member, List<String> attrNames) Get all attributes by the list of attrNames if they are in one of these namespaces: - member - group - member-group - resource - member-resource - group-resource - user (get from member object) - facility (get from resource object) - user-facilityAttributesManager.getAttributes(PerunSession sess, Resource resource, Group group, List<String> attrNames, boolean workWithGroupAttributes) Get all attributes associated with the group and the resource which have their name in list attrNames (empty too).AttributesManager.getAttributes(PerunSession sess, Resource resource, List<String> attrNames) Get all attributes associated with the resource which have name in list attrNames (empty too).MembersManager.getCompleteRichMembers(PerunSession sess, Group group, Resource resource, List<String> attrsNames, List<String> allowedStatuses) Get all RichMembers with attributes specific for list of attrNames.ResourcesManager.getFacility(PerunSession perunSession, Resource resource) Get facility which belongs to the concrete resource.ResourcesManager.getGroupAssignments(PerunSession session, Resource resource, List<String> attrNames) Lists all of the assigned groups for the given resource.UsersManager.getGroupsWhereUserIsActive(PerunSession sess, Resource resource, User user) Return all groups where user is active (has VALID status in VO and Group together) for specified user and resourceAttributesManager.getRequiredAttributes(PerunSession sess, Member member, Resource resource) Get member-resource attributes which are required by services which are relater to this member-resource.AttributesManager.getRequiredAttributes(PerunSession sess, Member member, Resource resource, boolean workWithUserAttributes) If workWithUserAttribute is false => Get member-resource attributes which are required by services which are relater to this member-resource.AttributesManager.getRequiredAttributes(PerunSession sess, Resource resource) Get resource attributes which are required by services which is relatod to this resource.AttributesManager.getRequiredAttributes(PerunSession sess, Resource resource, Service service, List<Member> members) Get member attributes which are required by service for each member in list of members.AttributesManager.getRequiredAttributes(PerunSession sess, Service service, Member member, Resource resource) Get member-resource attributes which are required by the service.AttributesManager.getRequiredAttributes(PerunSession sess, Service service, Member member, Resource resource, boolean workWithUserAttributes) PRIVILEGE: Get only those required attributes principal has access to.AttributesManager.getRequiredAttributes(PerunSession sess, Service service, Resource resource) Get resource attributes which are required by the service.AttributesManager.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group) Get group-resource attributes required for the service.AttributesManager.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group, boolean workWithGroupAttributes) Get group-resource attributes required for the service. !!AttributesManager.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group, Member member, boolean workWithUserAttributes) Get member, member-resource and member-group attributes required by the specified service. if workWithUserAttributes == TRUE return also user and user-facility attributesAttributesManager.getRequiredAttributes(PerunSession sess, Service service, Resource resource, List<Member> members) Get member-resource attributes which are required by service for each member in list of members.AttributesManager.getRequiredAttributes(PerunSession sess, Service service, Resource resource, List<Member> members, boolean workWithUserAttributes) Get member-resource, member, user-facility and user attributes which are required by service for each member in list of members.AttributesManager.getRequiredAttributes(PerunSession sess, List<Service> services, Resource resource) Get resource attributes which are required by the services.AttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Facility facility, Resource resource, User user, Member member) Get member, user, member-resource and user-facility attributes which are required by services which are defined on "resourceToGetServicesFrom" resource.AttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Facility facility, User user) Get user-facility attributes which are required by services which are defined on specified resourceAttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Group group) Get group attributes which are required by services defined on specified resourceAttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Host host) Get host attributes which are required by services defined on specified resourceAttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member) Get member attributes which are required by services defined on specified resourceAttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Group group) Get member-group attributes which are required by services defined on specified resource Services are known from the resourceToGetServicesFrom.AttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Group group, boolean workWithUserAttributes) Get member-group attributes which are required by services defined on specified resource and if workWithUserAttributes is true also user and member attributes.AttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Resource resource) Get member-resource attributes which are required by services which are defined on "resourceToGetServicesFrom" resource.AttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Resource resource, boolean workWithUserAttributes) Get member-resource attributes which are required by services and if workWithUserAttributes is true also user, user-facility and member attributes.AttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource, Group group) Get group-resource attributes which are required by services defined on specified resourceAttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource, Group group, boolean workWithGroupAttributes) Get group-resource attributes which are required by services defined on specified resource Get also group attributes, if workWithGroupAttributes is true.AttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource, Group group, Member member, boolean workWithUserAttributes) Get member-group and member-resource attributes required by the services specified on resource Get also user, member, user-facility attributes, if workWithUserAttributes is true.AttributesManager.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, User user) Get user attributes which are required by services defined on specified resourceResourcesManager.getRichAdmins(PerunSession perunSession, Resource resource, List<String> specificAttributes, boolean allUserAttributes, boolean onlyDirectAdmins) Deprecated.GroupsManager.getRichGroupsAssignedToResourceWithAttributesByNames(PerunSession sess, Member member, Resource resource, List<String> attrNames) Get list of all richGroups with selected attributes assigned to the resource filtered by specific member.GroupsManager.getRichGroupsAssignedToResourceWithAttributesByNames(PerunSession sess, Resource resource, List<String> attrNames) Get list of all richGroups with selected attributes assigned to resource.UsersManager.getRichGroupsWhereUserIsActive(PerunSession sess, Resource resource, User user, List<String> attrNames) Return all RichGroups where user is active (has VALID status in VO and Group together) for specified user and resource with specified group attributes by their names (URNs).ResourcesManager.getVo(PerunSession perunSession, Resource resource) Get Vo which is tied to specified resource.static booleanAuthzResolver.isAuthorizedForAttribute(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, Group group, Resource resource, boolean checkMfa) Checks if the principal is authorized to do some action of group-resource attribute.static booleanAuthzResolver.isAuthorizedForAttribute(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, Member member, Resource resource, boolean checkMfa) Checks if the principal is authorized to do some action of resource-member attribute.static booleanAuthzResolver.isAuthorizedForAttribute(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, Resource resource, boolean checkMfa) Checks if the principal is authorized to do some action of resource attribute.ResourcesManager.isResourceLastAssignedServices(PerunSession sess, Resource resource, List<Service> services) Checks whether the resource is the last one on the facility to have the provided services assigned.voidResourcesManager.removeAdmin(PerunSession sess, Resource resource, Group group) Remove role resource admin from group for the selected resource.voidResourcesManager.removeAdmin(PerunSession sess, Resource resource, User user) Remove role resource admin from user for the selected resource.voidAttributesManager.removeAllAttributes(PerunSession sess, Member member, Resource resource) Unset all attributes for the member on the resource.voidAttributesManager.removeAllAttributes(PerunSession sess, Resource resource) Unset all attributes for the resource.voidAttributesManager.removeAllAttributes(PerunSession sess, Resource resource, Group group) Remove all attributes for group on resourcevoidAttributesManager.removeAllAttributes(PerunSession sess, Resource resource, Group group, boolean workWithGroupAttributes) Unset all attributes for the group and resource.voidResourcesManager.removeAllResourcesTagFromResource(PerunSession perunSession, Resource resource) Remove all Resource tags for specific resource.voidAttributesManager.removeAttribute(PerunSession sess, Member member, Resource resource, AttributeDefinition attribute) Unset particular attribute for the member on the resource.voidAttributesManager.removeAttribute(PerunSession sess, Resource resource, AttributeDefinition attribute) Unset particular attribute for the resource.voidAttributesManager.removeAttribute(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) Unset particular group attribute on the resourcevoidAttributesManager.removeAttributes(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<? extends AttributeDefinition> attributes) Unset the member, user, member-group, member-resource and user-facility attributes.voidAttributesManager.removeAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<? extends AttributeDefinition> attributes) Unset the member, user, member-resource and user-facility attributes.voidAttributesManager.removeAttributes(PerunSession sess, Member member, Resource resource, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.voidAttributesManager.removeAttributes(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.voidAttributesManager.removeAttributes(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes, boolean workWithGroupAttributes) Unset the group-resource attributes.voidAttributesManager.removeAttributes(PerunSession sess, Resource resource, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.voidResourcesManager.removeGroupFromResource(PerunSession perunSession, Group group, Resource resource) Remove group from a resource.voidResourcesManager.removeGroupsFromResource(PerunSession perunSession, List<Group> groups, Resource resource) Remove groups from a resource.voidResourcesManager.removeResourceSelfServiceGroup(PerunSession sess, Resource resource, Group group) Unset ResourceSelfService role to given group for given resource.voidResourcesManager.removeResourceSelfServiceUser(PerunSession sess, Resource resource, User user) Unset ResourceSelfService role to given user for given resource.voidResourcesManager.removeResourceTagFromResource(PerunSession perunSession, ResourceTag resourceTag, Resource resource) Remove specific ResourceTag from existing Resource.voidResourcesManager.removeResourceTagsFromResource(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) Remove specific ResourceTags from existing Resource.voidResourcesManager.removeService(PerunSession perunSession, Resource resource, Service service) Remove service from resource.voidResourcesManager.removeServices(PerunSession perunSession, Resource resource, List<Service> services, boolean removeTasks, boolean removeTaskResults, boolean removeDestinations) Remove services from resource.voidAttributesManager.setAttribute(PerunSession sess, Member member, Resource resource, Attribute attribute) Store the particular attribute associated with the resource and member combination.voidAttributesManager.setAttribute(PerunSession sess, Resource resource, Attribute attribute) Store the particular attribute associated with the resource.voidAttributesManager.setAttribute(PerunSession sess, Resource resource, Group group, Attribute attribute) Stores attribute associated with group resource combination.voidAttributesManager.setAttributes(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<Attribute> attributes) Store the member, user, member-group, member-resource and user-facility attributes.voidAttributesManager.setAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Store the member, user, member-resource and user-facility attributes.voidAttributesManager.setAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) Store the attributes associated with the resource and member combination.voidAttributesManager.setAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) Store the attributes associated with the resource and member combination.voidAttributesManager.setAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) Store the attributes associated with the group on resource.voidAttributesManager.setAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttributes) Store the attributes associated with group and resource if workWithUserAttributes is true then also from group itself.voidAttributesManager.setAttributes(PerunSession sess, Resource resource, List<Attribute> attributes) Store the attributes associated with the resource.voidEnrichedBanOnResource.setResource(Resource resource) voidEnrichedResource.setResource(Resource resource) voidGroupResourceAssignment.setResource(Resource resource) ResourcesManager.updateResource(PerunSession perunSession, Resource resource) Updates Resource.Method parameters in cz.metacentrum.perun.core.api with type arguments of type ResourceModifier and TypeMethodDescriptionvoidResourcesManager.assignGroupToResources(PerunSession perunSession, Group group, List<Resource> resources, boolean async, boolean assignInactive, boolean autoAssignSubgroups) Assign group to the resources.voidResourcesManager.removeGroupFromResources(PerunSession perunSession, Group groups, List<Resource> resources) Remove group from the resources.voidResourcesManager.removeService(PerunSession perunSession, List<Resource> resources, Service service) Remove service from multiple resources in the same facilityConstructors in cz.metacentrum.perun.core.api with parameters of type ResourceModifierConstructorDescriptionEnrichedBanOnResource(RichMember member, Resource resource, BanOnResource ban) EnrichedResource(Resource resource, List<Attribute> attributes) GroupResourceAssignment(Group group, Resource resource, GroupResourceStatus status, String failureCause) RichResource(Resource resource) Constructs a new instance. -
Uses of Resource in cz.metacentrum.perun.core.api.exceptions
Methods in cz.metacentrum.perun.core.api.exceptions that return ResourceModifier and TypeMethodDescriptionAlreadyAdminException.getResource()Getter for the resourceResourceExistsException.getResource()Getter for the resourceResourceNotExistsException.getResource()Getter for the resourceConstructors in cz.metacentrum.perun.core.api.exceptions with parameters of type ResourceModifierConstructorDescriptionAlreadyAdminException(String message, Throwable cause, Group authorizedGroup, Resource resource) Constructor with a message, Throwable object, authorized group and resourceAlreadyAdminException(String message, Throwable cause, Group authorizedGroup, Resource resource, String role) Constructor with a message, Throwable object, authorized group, resource and roleAlreadyAdminException(String message, Throwable cause, User user, Resource resource) Constructor with a message, Throwable object, user and resourceConstructor with a message, Throwable object, user, resource and roleResourceExistsException(Resource resource) Constructor with the resourceResourceNotExistsException(Resource resource) Constructor with the resource -
Uses of Resource in cz.metacentrum.perun.core.bl
Methods in cz.metacentrum.perun.core.bl that return ResourceModifier and TypeMethodDescriptionResourcesManagerBl.copyResource(PerunSession perunSession, Resource templateResource, Resource destinationResource, boolean withGroups) Copy "template" settings from user's another existing resource and create new resource with this template.ResourcesManagerBl.createResource(PerunSession perunSession, Resource resource, Vo vo, Facility facility) Inserts resource into DB.ResourcesManagerBl.getResourceById(PerunSession perunSession, int id) Searches for the Resource with specified id.ResourcesManagerBl.getResourceByName(PerunSession sess, Vo vo, Facility facility, String name) Return resource by its name.ResourcesManagerBl.updateResource(PerunSession perunSession, Resource resource) Updates Resource.Methods in cz.metacentrum.perun.core.bl that return types with arguments of type ResourceModifier and TypeMethodDescriptionResourcesManagerBl.getAllowedResources(PerunSession sess, Facility facility, User user) Return all resources which are under the facility and has member of the user with status other than INVALID.ResourcesManagerBl.getAllowedResources(PerunSession sess, Member member) Get all resources which have the member access on.UsersManagerBl.getAllowedResources(PerunSession sess, Facility facility, User user) Get all resources from the facility which have the user access on.UsersManagerBl.getAllowedResources(PerunSession sess, User user) Get all resources which have the user access on.ResourcesManagerBl.getAllResources(PerunSession sess) Get all resources from database.ResourcesManagerBl.getAllResourcesByResourceTag(PerunSession perunSession, ResourceTag resourceTag) Get all resources in specific Vo (specific by resourceTag.getVoId) for existing resourceTagFacilitiesManagerBl.getAssignedResources(PerunSession perunSession, Facility facility) Returns all resources assigned to the facility.FacilitiesManagerBl.getAssignedResources(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService) Returns all resources assigned to the facility with optionally VO and Service specifiedResourcesManagerBl.getAssignedResources(PerunSession perunSession, Group group) List all resources to which the group is assigned.ResourcesManagerBl.getAssignedResources(PerunSession sess, Member member) Get all resources where the member is assigned.ResourcesManagerBl.getAssignedResources(PerunSession sess, Member member, Service service) Get all resources where the member and the service are assigned.ResourcesManagerBl.getAssignedResources(PerunSession sess, User user, Vo vo) Return List of assigned resources to user on the vo.ServicesManagerBl.getAssignedResources(PerunSession sess, Service service) Get all resources where the service is defined.UsersManagerBl.getAssignedResources(PerunSession sess, Facility facility, User user) Get all resources from the facility where the user is assigned.UsersManagerBl.getAssignedResources(PerunSession sess, User user) Get all resources where the user is assigned.ResourcesManagerBl.getAssociatedResources(PerunSession perunSession, Group group) List all resources associated with the group.ResourcesManagerBl.getAssociatedResources(PerunSession sess, Member member) Returns all resources with which the member is associated through the groups.UsersManagerBl.getAssociatedResources(PerunSession sess, Facility facility, User user) Return all resources of specified facility with which user is associated through all his members.UsersManagerBl.getAssociatedResources(PerunSession sess, User user) Get all resources with which user can be associated (similar to assigned resources, but does not require ACTIVE group-resource assignment).GroupsManagerBl.getGroupResourcePairsByAttribute(PerunSession sess, Attribute attribute) Returns all group-resource which have set the attribute with the value.ResourcesManagerBl.getResources(PerunSession sess) Finds all resources.ResourcesManagerBl.getResources(PerunSession sess, User user, List<Status> memberStatuses, List<MemberGroupStatus> memberGroupStatuses, List<GroupResourceStatus> groupResourceStatuses) Return all resources where user is assigned.ResourcesManagerBl.getResources(PerunSession perunSession, Vo vo) Get all VO resources.SearcherBl.getResources(PerunSession sess, Map<String, String> attributesWithSearchingValues, boolean allowPartialMatchForString) This method get Map of Attributes with searching values and try to find all resources, which have specific attributes in format.ResourcesManagerBl.getResourcesByAttribute(PerunSession sess, Attribute attribute) Returns all resource which have set the attribute with the value.ResourcesManagerBl.getResourcesByIds(PerunSession perunSession, List<Integer> ids) Searches for the Resources with specified ids.ResourcesManagerBl.getResourcesWhereGroupIsAdmin(PerunSession sess, Facility facility, Vo vo, Group authorizedGroup) Return all resources for the facility and the vo where the group is authorized as resource manager.ResourcesManagerBl.getResourcesWhereUserIsAdmin(PerunSession sess, Facility facility, Vo vo, User authorizedUser) Return all resources for the facility and the vo where user is authorized as resource manager.ResourcesManagerBl.getResourcesWhereUserIsAdmin(PerunSession sess, User user) Returns list of resources, where the user is an admin.ResourcesManagerBl.getResourcesWhereUserIsAdmin(PerunSession sess, Vo vo, User authorizedUser) Return all resources for the vo where user is authorized as resource manager.Methods in cz.metacentrum.perun.core.bl with parameters of type ResourceModifier and TypeMethodDescriptionvoidResourcesManagerBl.activateGroupResourceAssignment(PerunSession sess, Group group, Resource resource, boolean async) Try to activate the group-resource status.voidResourcesManagerBl.addResourceSelfServiceGroup(PerunSession sess, Resource resource, Group group) Sets ResourceSelfService role to given group for given resource.voidResourcesManagerBl.addResourceSelfServiceUser(PerunSession sess, Resource resource, User user) Sets ResourceSelfService role to given user for given resource.voidResourcesManagerBl.assignAutomaticGroupToResource(PerunSession perunSession, Group sourceGroup, Group groupToAssign, Resource resource) Asynchronously assigns single subgroup to resource as automatically assigned source group's subgroup.voidResourcesManagerBl.assignGroupsToResource(PerunSession perunSession, Iterable<Group> groups, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) Assign groups to a resource.voidResourcesManagerBl.assignGroupToResource(PerunSession perunSession, Group group, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) Assign group to a resource.voidResourcesManagerBl.assignResourceTagsToResource(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) Assign existing ResourceTags on existing Resource.voidResourcesManagerBl.assignResourceTagToResource(PerunSession perunSession, ResourceTag resourceTag, Resource resource) Assign existing ResourceTag on existing Resource.voidResourcesManagerBl.assignService(PerunSession perunSession, Resource resource, Service service) Assign service to resource.voidResourcesManagerBl.assignServices(PerunSession perunSession, Resource resource, List<Service> services) Assign services to resource.voidAttributesManagerBl.checkAttributeSemantics(PerunSession sess, Member member, Resource resource, Attribute attribute) Check if value of this member-resource attribute has valid semantics.voidAttributesManagerBl.checkAttributeSemantics(PerunSession sess, Resource resource, Attribute attribute) Check if value of this resource attribute has valid semantics.voidAttributesManagerBl.checkAttributeSemantics(PerunSession sess, Resource resource, Group group, Attribute attribute) Check if value of this group-resource attribute has valid semanticsvoidAttributesManagerBl.checkAttributesSemantics(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<Attribute> attributes) Check if value of attributes has valid semantics.voidAttributesManagerBl.checkAttributesSemantics(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Check if value of attributes has valid semantics.voidAttributesManagerBl.checkAttributesSemantics(PerunSession sess, Member mber, Resource resource, List<Attribute> attributes) Batch version of checkAttributeSemanticsvoidAttributesManagerBl.checkAttributesSemantics(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) Batch version of checkAttributeSemanticsvoidAttributesManagerBl.checkAttributesSemantics(PerunSession sess, Resource resource, Group group, List<Attribute> attribute) batch version of checkAttributeSemanticsvoidAttributesManagerBl.checkAttributesSemantics(PerunSession sess, Resource resource, Group group, List<Attribute> attribute, boolean workWithGroupAttribute) batch version of checkAttributeSemantics with workWithGroupAttributes parameter If workWithGroupAttributes is true, checks whether attribute is group-resource or group attribute.voidAttributesManagerBl.checkAttributesSemantics(PerunSession sess, Resource resource, List<Attribute> attributes) Batch version of checkAttributeSemanticsvoidAttributesManagerBl.checkAttributesSyntax(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<Attribute> attributes) Check if value of attributes has valid syntax.voidAttributesManagerBl.checkAttributesSyntax(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Check if value of attributes has valid syntax.voidAttributesManagerBl.checkAttributesSyntax(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) Batch version of checkAttributeSyntaxvoidAttributesManagerBl.checkAttributesSyntax(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) Batch version of checkAttributeSyntaxvoidAttributesManagerBl.checkAttributesSyntax(PerunSession sess, Resource resource, Group group, List<Attribute> attribute) batch version of checkAttributeSyntaxvoidAttributesManagerBl.checkAttributesSyntax(PerunSession sess, Resource resource, Group group, List<Attribute> attribute, boolean workWithGroupAttribute) batch version of checkAttributeSyntax with workWithGroupAttributes parameter.voidAttributesManagerBl.checkAttributesSyntax(PerunSession sess, Resource resource, List<Attribute> attributes) Batch version of checkAttributeSyntaxvoidAttributesManagerBl.checkAttributeSyntax(PerunSession sess, Member member, Resource resource, Attribute attribute) Check if value of this member-resource attribute has valid syntax.voidAttributesManagerBl.checkAttributeSyntax(PerunSession sess, Resource resource, Attribute attribute) Check if value of this resource attribute has valid syntax.voidAttributesManagerBl.checkAttributeSyntax(PerunSession sess, Resource resource, Group group, Attribute attribute) Check if value of this group-resource attribute has valid syntaxvoidAttributesManagerBl.checkGroupIsFromTheSameVoLikeResource(PerunSession sess, Group group, Resource resource) Check if group is assigned on resource.voidResourcesManagerBl.checkResourceExists(PerunSession sess, Resource resource) GroupsManagerBl.convertGroupsToRichGroupsWithAttributes(PerunSession sess, Member member, Resource resource, List<Group> groups, List<String> attrNames) This method takes list of groups, resource, member and list of attrNames and then creates list of RichGroups containing all selected group, group-resource and member-group attributes filtered by list (attributes from other namespaces are skipped without any warning).GroupsManagerBl.convertGroupsToRichGroupsWithAttributes(PerunSession sess, Resource resource, List<Group> groups) This method takes list of groups and resource and then creates list of RichGroups containing all group and group-resource attributesGroupsManagerBl.convertGroupsToRichGroupsWithAttributes(PerunSession sess, Resource resource, List<Group> groups, List<String> attrNames) This method takes list of groups, resource and list of attrNames and then creates list of RichGroups containing all selected group and group-resource attributes by list (attributes from other namespaces are skipped).MembersManagerBl.convertMembersToRichMembersWithAttributes(PerunSession sess, List<RichMember> richMembers, Resource resource, List<AttributeDefinition> attrsDef) Fill the RichMember object with data from Member and corresponding User, user/member, user-facility and member-resource attributes defined by list of attribute definition.ResourcesManagerBl.convertToEnrichedResource(PerunSession sess, Resource resource, List<String> attrNames) Creates enrichedResource from given resource and load attributes with given names.voidResourcesManagerBl.copyAttributes(PerunSession sess, Resource sourceResource, Resource destinationResource) Copy all attributes of the source resource to the destination resource.voidResourcesManagerBl.copyGroups(PerunSession sess, Resource sourceResource, Resource destinationResource) Copy all groups of the source resource to the destination resource.ResourcesManagerBl.copyResource(PerunSession perunSession, Resource templateResource, Resource destinationResource, boolean withGroups) Copy "template" settings from user's another existing resource and create new resource with this template.voidResourcesManagerBl.copyServices(PerunSession sess, Resource sourceResource, Resource destinationResource) Copy all services of the source resource to the destination resource.ResourcesManagerBl.createResource(PerunSession perunSession, Resource resource, Vo vo, Facility facility) Inserts resource into DB.voidResourcesManagerBl.deactivateGroupResourceAssignment(PerunSession sess, Group group, Resource resource) Deactivates the group-resource assignment.voidResourcesManagerBl.deleteResource(PerunSession perunSession, Resource resource) Deletes resource by id.AttributesManagerBl.fillAttribute(PerunSession sess, Member member, Resource resource, Attribute attribute) This method try to fill value of the member-resource attribute.AttributesManagerBl.fillAttribute(PerunSession sess, Resource resource, Attribute attribute) This method try to fill a value of the resource attribute.AttributesManagerBl.fillAttribute(PerunSession sess, Resource resource, Group group, Attribute attribute) This method tries to fill value of group-resource attribute.AttributesManagerBl.fillAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) This method try to fill value of the user, member, member-resource and user-facility attributes.AttributesManagerBl.fillAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes, boolean returnOnlyAttributesWithChangedValue) This method try to fill value of the user, member, member-resource and user-facility attributes.AttributesManagerBl.fillAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) Batch version of fillAttribute.AttributesManagerBl.fillAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) AttributesManagerBl.fillAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attribute) Batch version of fillAttribute.AttributesManagerBl.fillAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attribute, boolean workWithGroupAttributes) AttributesManagerBl.fillAttributes(PerunSession sess, Resource resource, List<Attribute> attributes) Batch version of fillAttribute.GroupsManagerBl.filterOnlyAllowedAttributes(PerunSession sess, List<RichGroup> richGroups, Member member, Resource resource, boolean useContext) For list of richGroups filter all their group attributes and remove all which principal has no access to.GroupsManagerBl.filterOnlyAllowedAttributes(PerunSession sess, List<RichGroup> richGroups, Resource resource, boolean useContext) For list of richGroups filter all their group attributes and remove all which principal has no access to.voidAttributesManagerBl.forceCheckAttributeSemantics(PerunSession sess, Resource resource, Attribute attribute) Check if value of this resource attribute has valid semantics no matter if attribute is required or not.voidAttributesManagerBl.forceCheckAttributesSemantics(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Check if value of attributes has valid semantics.ResourcesManagerBl.getAdminGroups(PerunSession sess, Resource resource) Gets list of all group administrators of the Resource.ResourcesManagerBl.getAdmins(PerunSession perunSession, Resource resource, boolean onlyDirectAdmins) Gets list of all user administrators of the Resource.AttributesManagerBl.getAllAttributesStartWithNameWithoutNullValue(PerunSession sess, Resource resource, String startPartOfName) Get all non-empty attributes associated with the resource starts with name startPartOfName.ResourcesManagerBl.getAllowedMembers(PerunSession perunSession, Resource resource) Returns all members who can access the resource.ResourcesManagerBl.getAllowedMembersNotExpiredInGroups(PerunSession perunSession, Resource resource) Returns all members who can access the resource and who are also valid in at least one group associated to the resource.ResourcesManagerBl.getAllowedUsers(PerunSession sess, Resource resource) Get all users, who can assess the resource.ResourcesManagerBl.getAllowedUsersNotExpiredInGroups(PerunSession sess, Resource resource) Get all users, who can assess the resource and who are not expired in at least one group associated to the resource.ResourcesManagerBl.getAllResourcesTagsForResource(PerunSession perunSession, Resource resource) Get all resourcesTags for existing ResourceResourcesManagerBl.getAssignedGroups(PerunSession perunSession, Resource resource) List all groups associated with the resource.ResourcesManagerBl.getAssignedGroups(PerunSession perunSession, Resource resource, Member member) List all groups associated with the resource where Member is a member.GroupsManagerBl.getAssignedGroupsToResource(PerunSession perunSession, Resource resource) Return list of assigned groups on the resource (without subgroups unless they are assigned too)GroupsManagerBl.getAssignedGroupsToResource(PerunSession perunSession, Resource resource, boolean withSubGroups) Return list of assigned groups on the resource.GroupsManagerBl.getAssignedGroupsToResource(PerunSession perunSession, Resource resource, Member member) Return list of assigned groups on the resource (without subgroups unless they are assigned too), which contain specific memberResourcesManagerBl.getAssignedMembers(PerunSession perunSession, Resource resource) Returns all members assigned to the resource.ResourcesManagerBl.getAssignedMembersWithStatus(PerunSession sess, Resource resource) Returns members of groups assigned to resource with status of group-resource assignment.ResourcesManagerBl.getAssignedRichMembers(PerunSession perunSession, Resource resource) Returns all members assigned to the resource as RichMembers.ResourcesManagerBl.getAssignedServices(PerunSession perunSession, Resource resource) List all services associated with the resource.ResourcesManagerBl.getAssignedUsers(PerunSession perunSession, Resource resource) Returns all users assigned to the resource.ResourcesManagerBl.getAssociatedGroups(PerunSession perunSession, Resource resource, Member member) Return list of groups associated with the resource with specified member.GroupsManagerBl.getAssociatedGroupsToResource(PerunSession perunSession, Resource resource) Return list of assigned groups on the resource.GroupsManagerBl.getAssociatedGroupsToResource(PerunSession perunSession, Resource resource, Member member) Return list of groups associated with the resource with specified member.ResourcesManagerBl.getAssociatedMembers(PerunSession sess, Resource resource) Returns all members who are associated with the resource.ResourcesManagerBl.getAssociatedUsers(PerunSession sess, Resource resource) Returns all users who are associated with the defined resource.AttributesManagerBl.getAttribute(PerunSession sess, Member member, Resource resource, String attributeName) Get particular attribute for the member on this resource.AttributesManagerBl.getAttribute(PerunSession sess, Resource resource, Group group, String attributeName) Get particular group attribute on the resourceAttributesManagerBl.getAttribute(PerunSession sess, Resource resource, String attributeName) Get particular attribute for the resource.AttributesManagerBl.getAttributeById(PerunSession sess, Member member, Resource resource, int id) Get particular attribute for the member on this resource.AttributesManagerBl.getAttributeById(PerunSession sess, Resource resource, int id) Get particular attribute for the resource.AttributesManagerBl.getAttributeById(PerunSession sess, Resource resource, Group group, int id) Get particular group-resource attributeAttributesManagerBl.getAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member) Get all non-empty member, user, member-resource and user-facility attributes.AttributesManagerBl.getAttributes(PerunSession sess, Group group, Member member, Resource resource, List<String> attrNames, boolean workWithUserAttributes) Gets selected attributes associated with the member, group and the resource.AttributesManagerBl.getAttributes(PerunSession sess, Member member, Resource resource) Get all non-empty attributes associated with the member on the resource.AttributesManagerBl.getAttributes(PerunSession sess, Member member, Resource resource, boolean workWithUserAttributes) Gets all non-empty attributes associated with the member on the resource and if workWithUserAttributes is true, gets also all non-empty user, user-facility and member attributes.AttributesManagerBl.getAttributes(PerunSession sess, Member member, Resource resource, List<String> attrNames, boolean workWithUserAttributes) Gets selected non-empty attributes associated with the member and the resource.AttributesManagerBl.getAttributes(PerunSession sess, Resource resource) Get all non-empty attributes associated with the resource.AttributesManagerBl.getAttributes(PerunSession sess, Resource resource, Group group) Get all non-empty attributes associated with the group on resource.AttributesManagerBl.getAttributes(PerunSession sess, Resource resource, Group group, boolean workWithGroupAttributes) AttributesManagerBl.getAttributes(PerunSession sess, Resource resource, Group group, Member member, List<String> attrNames) Get all attributes by the list of attrNames if they are in one of these namespaces: - member - group - member-group - resource - member-resource - group-resource - user (get from member object) - facility (get from resource object) - user-facilityAttributesManagerBl.getAttributes(PerunSession sess, Resource resource, Group group, List<String> attrNames, boolean workWithGroupAttributes) Get selected attributes associated with the group on resource.AttributesManagerBl.getAttributes(PerunSession sess, Resource resource, List<String> attrNames) Get all attributes associated with the resource which have name in list attrNames (empty too).MembersManagerBl.getCompleteRichMembers(PerunSession sess, Group group, Resource resource, List<String> attrsNames, List<String> allowedStatuses) Get all RichMembers with attributes specific for list of attrNames.ResourcesManagerBl.getEnrichedBansForResource(PerunSession sess, Resource resource, List<String> attrNames) Get all enriched bans for members on the resource with user and member attributesFacilitiesManagerBl.getFacilitiesByPerunBean(PerunSession sess, Resource resource) Returns list of facilities connected with a resourceResourcesManagerBl.getFacility(PerunSession perunSession, Resource resource) Get facility which belongs to the concrete resource.ModulesUtilsBl.getGoogleGroupNameNamespaceAttributeWithNotNullValue(PerunSessionImpl sess, Resource resource) Get value of attribute A_F_Def_googleGroupName-Namespace If this value is null, throw WrongReferenceAttributeValueExceptionResourcesManagerBl.getGroupAssignments(PerunSession sess, Resource resource, List<String> attrNames) Lists all of the assigned groups for the given resource.GroupsManagerBl.getGroupsByPerunBean(PerunSession sess, Resource resource) Returns list of groups connected with a resourceUsersManagerBl.getGroupsWhereUserIsActive(PerunSession sess, Resource resource, User user) Return all groups where user is active (has VALID status in VO and Group together) for specified user and resourceAttributesManagerBl.getRequiredAttributes(PerunSession sess, Member member, Resource resource) Get member-resource attributes which are required by services which are relater to this member-resource.AttributesManagerBl.getRequiredAttributes(PerunSession sess, Member member, Resource resource, boolean workWithUserAttributes) If workWithUserAttribute is false => Get member-resource attributes which are required by services which are relater to this member-resource.AttributesManagerBl.getRequiredAttributes(PerunSession sess, Resource resource) Get resource attributes which are required by services which is related to this resource.AttributesManagerBl.getRequiredAttributes(PerunSession sess, Resource resource, Service service, List<Member> members) Get member attributes which are required by service for each member in list of members. !!!AttributesManagerBl.getRequiredAttributes(PerunSession sess, Service service, Facility facility, Resource resource, User user, Member member) Get memner, user, member-resource, user-facility attributes which are required by the service.AttributesManagerBl.getRequiredAttributes(PerunSession sess, Service service, Facility facility, Resource resource, List<Member> members, boolean workWithUserAttributes) Get member-resource, member, user-facility and user attributes which are required by service for each member in list of members.AttributesManagerBl.getRequiredAttributes(PerunSession sess, Service service, Member member, Resource resource) Get member-resource attributes which are required by the service.AttributesManagerBl.getRequiredAttributes(PerunSession sess, Service service, Member member, Resource resource, boolean workWithUserAttributes) AttributesManagerBl.getRequiredAttributes(PerunSession sess, Service service, Resource resource) Get resource attributes which are required by the service.AttributesManagerBl.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group) AttributesManagerBl.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group, boolean withGroupAttributes) Get group-resource attributes which are required by the service.AttributesManagerBl.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group, Member member, boolean workWithUserAttributes) Get member, member-resource and member-group attributes which are required by the service. if workWithUserAttributes == TRUE return also user and user-facility attributesAttributesManagerBl.getRequiredAttributes(PerunSession sess, Service service, Resource resource, List<Member> members) Get member-resource attributes which are required by service for each member in list of members. !!!AttributesManagerBl.getRequiredAttributes(PerunSession sess, List<Service> services, Facility facility, Resource resource, User user, Member member) Get member, user, member-resource, user-facility attributes which are required by the services.AttributesManagerBl.getRequiredAttributes(PerunSession sess, List<Service> services, Resource resource) Get resource attributes which are required by selected services.AttributesManagerBl.getRequiredAttributes(PerunSession sess, List<Service> services, Resource resource, Group group, boolean withGroupAttributes) Get group-resource attributes which are required by the services.AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Facility facility) Get facility attributes which are required by services.AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Facility facility, Resource resource, User user, Member member) Get member, user, member-resource and user-facility attributes which are required by services which are defined on "resourceToGetServicesFrom" resource.AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Facility facility, User user) Get user-facility attributes which are required by services.AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Group group) AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Host host) Get the host attributes which are required by services.AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member) Get member attributes which are required by services defined on specified resourceAttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Group group) Get member-group attributes which are required by services.AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Group group, boolean workWithUserAttributes) Get member-group attributes which are required by services if workWithUserAttributes is true also user and member attributes.AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Resource resource) Get member-resource attributes which are required by services.AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Resource resource, boolean workWithUserAttributes) Get member-resource attributes which are required by services and if workWithUserAttributes is true also user, user-facility and member attributes.AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource) Get resource attributes which are required by services.AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource, Group group) Get the group-resource attributes which are required by services.AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource, Group group, boolean workWithGroupAttributes) AttributesManagerBl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, User user) Get user attributes which are required by services.AttributesManagerBl.getResourceRequiredAttributesDefinition(PerunSession sess, Resource resource) Get attributes definions required by all services assigned on the resource.ResourcesManagerBl.getRichAdmins(PerunSession perunSession, Resource resource, List<String> specificAttributes, boolean allUserAttributes, boolean onlyDirectAdmins) Gets list of all richUser administrators of the Resource.GroupsManagerBl.getRichGroupsWithAttributesAssignedToResource(PerunSession sess, Member member, Resource resource, List<String> attrNames) Get list of all richGroups with selected attributes assigned to the resource filtered by specific member.GroupsManagerBl.getRichGroupsWithAttributesAssignedToResource(PerunSession sess, Resource resource, List<String> attrNames) Get all RichGroups with selected attributes assigned to the resource.MembersManagerBl.getRichMembersWithAttributesByNames(PerunSession sess, Group group, Resource resource, List<String> attrsNames) Get RichMembers with Attributes but only with selected attributes from list attrsDef for group.MembersManagerBl.getUnifiedMemberGroupStatus(PerunSession sess, Member member, Resource resource) Returns unified result of MemberGroupStatus for specified member and resource.ModulesUtilsBl.getUnixGIDNamespaceAttributeWithNotNullValue(PerunSessionImpl sess, Resource resource) Get value of attribute A_F_Def_unixGID-Namespace If this value is null, throw WrongReferenceAttributeValueExceptionModulesUtilsBl.getUnixGroupNameNamespaceAttributeWithNotNullValue(PerunSessionImpl sess, Resource resource) Get value of attribute A_F_Def_unixGroupName-Namespace If this value is null, throw WrongReferenceAttributeValueExceptionUsersManagerBl.getUsersByPerunBean(PerunSession sess, Resource resource) Returns list of users connected with a resourceAttributesManagerBl.getVirtualAttributes(PerunSession sess, Member member, Resource resource) Get all virtual attributes associated with the member-resource attributes.ResourcesManagerBl.getVo(PerunSession perunSession, Resource resource) Get Vo which is tied to specified resource.VosManagerBl.getVosByPerunBean(PerunSession sess, Resource resource) Returns list of vos connected with a resourcebooleanResourcesManagerBl.groupResourceAssignmentExists(PerunSession sess, Resource resource, Group group) Returns true if the group is assigned to the current resource with any status, false otherwise.intModulesUtilsBl.haveTheSameAttributeWithTheSameNamespace(PerunSessionImpl sess, Resource resource, Attribute attr) This method get if the resource has the same attribute "attr" with the same namespace and same or different valuesbooleanResourcesManagerBl.isGroupAssigned(PerunSession sess, Resource resource, Group group) Returns true if the group is assigned to the current resource with ACTIVE status, false otherwise.booleanResourcesManagerBl.isGroupManuallyAssigned(PerunSession sess, Group group, Resource resource) Returns true if the group is assigned to the given resource manually, false otherwise.ResourcesManagerBl.isResourceLastAssignedServices(PerunSession sess, Resource resource, List<Service> services) Checks whether the resource is the last one on the facility to have the provided services assigned.booleanAttributesManagerBl.isTrulyRequiredAttribute(PerunSession sess, Member member, Resource resource, AttributeDefinition attributeDefinition) Check if this the attribute is truly required for the member and the resource right now.booleanAttributesManagerBl.isTrulyRequiredAttribute(PerunSession sess, Resource resource, AttributeDefinition attributeDefinition) Check if this the attribute is truly required for the resource right now.booleanResourcesManagerBl.isUserAllowed(PerunSession sess, User user, Resource resource) Returns true if the user is allowed to the current resource, false otherwise.booleanResourcesManagerBl.isUserAssigned(PerunSession sess, User user, Resource resource) Returns true if the user is assigned to the current resource, false otherwise.voidResourcesManagerBl.processGroupResourceActivationAsync(PerunSession sess, Group group, Resource resource) Asynchronously processes group-resource activation.voidAttributesManagerBl.removeAllAttributes(PerunSession sess, Member member, Resource resource) Unset all attributes for the member on the resource.voidAttributesManagerBl.removeAllAttributes(PerunSession sess, Resource resource) Unset all attributes for the resource.voidAttributesManagerBl.removeAllAttributes(PerunSession sess, Resource resource, Group group) Unset all group-resource attributesvoidAttributesManagerBl.removeAllAttributes(PerunSession sess, Resource resource, Group group, boolean workWithGroupAttributes) Unset all attributes for the group and resource.voidAttributesManagerBl.removeAllGroupResourceAttributes(PerunSession sess, Resource resource) Remove all non-virtual group-resource attributes assigned to resourcevoidAttributesManagerBl.removeAllMemberResourceAttributes(PerunSession sess, Resource resource) Remove all non-virtual member-resource attributes assigned to resourcevoidResourcesManagerBl.removeAllResourcesTagFromResource(PerunSession perunSession, Resource resource) Remove all existing Resource tags for specific resource.voidAttributesManagerBl.removeAttribute(PerunSession sess, Member member, Resource resource, AttributeDefinition attribute) Unset particular attribute for the member on the resource.booleanAttributesManagerBl.removeAttribute(PerunSession sess, Resource resource, AttributeDefinition attribute) Unset particular attribute for the resource.voidAttributesManagerBl.removeAttribute(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) Unset particular group-resource attributevoidAttributesManagerBl.removeAttributes(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<? extends AttributeDefinition> attributes) Unset the member, user, member-group, member-resource and user-facility attributes.voidAttributesManagerBl.removeAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<? extends AttributeDefinition> attributes) Unset the member, user, member-resource and user-facility attributes.voidAttributesManagerBl.removeAttributes(PerunSession sess, Member member, Resource resource, List<? extends AttributeDefinition> attributes) Batch version of removeAttribute.voidAttributesManagerBl.removeAttributes(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attribute) Batch version of removeAttribute.voidAttributesManagerBl.removeAttributes(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes, boolean workWithGroupAttributes) Unset the group_resource attributes.voidAttributesManagerBl.removeAttributes(PerunSession sess, Resource resource, List<? extends AttributeDefinition> attributes) Batch version of removeAttribute.booleanAttributesManagerBl.removeAttributeWithoutCheck(PerunSession sess, Member member, Resource resource, AttributeDefinition attribute) Unset all attributes for the member-resource without check of value.booleanAttributesManagerBl.removeAttributeWithoutCheck(PerunSession sess, Resource resource, AttributeDefinition attribute) Unset all attributes for the resource without check of value.booleanAttributesManagerBl.removeAttributeWithoutCheck(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) Unset all attributes for the group-resource without check of value.voidResourcesManagerBl.removeAutomaticGroupFromResource(PerunSession perunSession, Group group, Resource resource, int sourceGroupId) Remove automatically assigned group from resource.voidResourcesManagerBl.removeGroupFromResource(PerunSession perunSession, Group group, Resource resource) Remove group from a resource.voidResourcesManagerBl.removeGroupsFromResource(PerunSession perunSession, List<Group> groups, Resource resource) Remove groups from a resource.voidResourcesManagerBl.removeResourceSelfServiceGroup(PerunSession sess, Resource resource, Group group) Unset ResourceSelfService role to given group for given resource.voidResourcesManagerBl.removeResourceSelfServiceUser(PerunSession sess, Resource resource, User user) Unset ResourceSelfService role to given user for given resource.voidResourcesManagerBl.removeResourceTagFromResource(PerunSession perunSession, ResourceTag resourceTag, Resource resource) Remove specific ResourceTag from existing Resource.voidResourcesManagerBl.removeResourceTagsFromResource(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) Remove specific ResourceTags from existing Resource.voidResourcesManagerBl.removeService(PerunSession perunSession, Resource resource, Service service) Remove service from resource.voidResourcesManagerBl.removeServices(PerunSession perunSession, Resource resource, List<Service> services, boolean removeTasks, boolean removeTaskResults, boolean removeDestinations) Remove services from resource.voidAttributesManagerBl.setAttribute(PerunSession sess, Member member, Resource resource, Attribute attribute) Store the particular attribute associated with the resource and member combination.voidAttributesManagerBl.setAttribute(PerunSession sess, Resource resource, Attribute attribute) Store the particular attribute associated with the resource.voidAttributesManagerBl.setAttribute(PerunSession sess, Resource resource, Group group, Attribute attribute) Store the group-resource attributevoidAttributesManagerBl.setAttributes(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<Attribute> attributes) Store the member, user, member-group, member-resource and user-facility attributes.voidAttributesManagerBl.setAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Store the member, user, member-resource and user-facility attributes.voidAttributesManagerBl.setAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) Store the attributes associated with the resource and member combination.voidAttributesManagerBl.setAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) Store the attributes associated with the resource and member combination.voidAttributesManagerBl.setAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) Stores the group-resource attributes.voidAttributesManagerBl.setAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttributes) voidAttributesManagerBl.setAttributes(PerunSession sess, Resource resource, List<Attribute> attributes) Store the attributes associated with the resource.booleanAttributesManagerBl.setAttributeWithoutCheck(PerunSession sess, Member member, Resource resource, Attribute attribute, boolean workWithUserAttributes) Just store the particular attribute associated with the member-resource, doesn't preform any value check.booleanAttributesManagerBl.setAttributeWithoutCheck(PerunSession sess, Resource resource, Attribute attribute) Just store the particular attribute associated with the resource, doesn't preform any value check.booleanAttributesManagerBl.setAttributeWithoutCheck(PerunSession sess, Resource resource, Group group, Attribute attribute) Just store the group-resource attribute, do not preform any value check.voidAttributesManagerBl.setRequiredAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member) Get and set required attribute for member, resource, user and facility.voidAttributesManagerBl.setRequiredAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, boolean forceAttributesChecks) Get and set required attribute for member, resource, user and facility.voidAttributesManagerBl.setRequiredAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Take list of required attributes and set those which are empty and can be filled, then check them all.voidAttributesManagerBl.setRequiredAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes, boolean forceAttributesChecks) Take list of required attributes and set those which are empty and can be filled, then check them all.voidAttributesManagerBl.setRequiredAttributes(PerunSession sess, Service service, Facility facility, Resource resource, User user, Member member) Get and set required attribute for member, resource, user, facility and specific service.voidAttributesManagerBl.setRequiredAttributes(PerunSession sess, Service service, Facility facility, Resource resource, User user, Member member, boolean forceAttributesChecks) Get and set required attribute for member, resource, user, facility and specific service.voidAttributesManagerBl.setRequiredAttributes(PerunSession sess, List<Service> services, Facility facility, Resource resource, User user, Member member, boolean forceAttributesChecks) Get all required attributes for user, user-facility, member and member-resource attributes and set them.ResourcesManagerBl.updateResource(PerunSession perunSession, Resource resource) Updates Resource.Method parameters in cz.metacentrum.perun.core.bl with type arguments of type ResourceModifier and TypeMethodDescriptionvoidResourcesManagerBl.assignGroupToResources(PerunSession perunSession, Group group, List<Resource> resources, boolean async, boolean assignInactive, boolean autoAssignSubgroups) Assign group to the resources.ModulesUtilsBl.getCommonGIDOfResourcesWithSameNameInSameNamespace(PerunSessionImpl sess, List<Resource> resourcesWithSameGroupNameInSameNamespace, String nameOfAttribute, Integer commonGID) This method is looking for exactly one commonGID for all objects in list.voidResourcesManagerBl.removeGroupFromResources(PerunSession perunSession, Group group, List<Resource> resources) Remove group from resources. -
Uses of Resource in cz.metacentrum.perun.core.blImpl
Methods in cz.metacentrum.perun.core.blImpl that return ResourceModifier and TypeMethodDescriptionResourcesManagerBlImpl.copyResource(PerunSession sess, Resource templateResource, Resource destinationResource, boolean withGroups) ResourcesManagerBlImpl.createResource(PerunSession sess, Resource resource, Vo vo, Facility facility) ResourcesManagerBlImpl.getResourceById(PerunSession sess, int id) ResourcesManagerBlImpl.getResourceByName(PerunSession sess, Vo vo, Facility facility, String name) ResourcesManagerBlImpl.updateResource(PerunSession sess, Resource resource) Methods in cz.metacentrum.perun.core.blImpl that return types with arguments of type ResourceModifier and TypeMethodDescriptionModulesUtilsBlImpl.findCollisionResourcesWithSameGid(PerunSessionImpl sess, Group group, String namespace) ModulesUtilsBlImpl.findCollisionResourcesWithSameGid(PerunSessionImpl sess, Resource resource, String namespace) ModulesUtilsBlImpl.findCollisionResourcesWithSameGroupName(PerunSessionImpl sess, Group group, String namespace) ModulesUtilsBlImpl.findCollisionResourcesWithSameGroupName(PerunSessionImpl sess, Resource resource, String namespace) ResourcesManagerBlImpl.getAllowedResources(PerunSession sess, Facility facility, User user) ResourcesManagerBlImpl.getAllowedResources(PerunSession sess, Member member) UsersManagerBlImpl.getAllowedResources(PerunSession sess, Facility facility, User user) UsersManagerBlImpl.getAllowedResources(PerunSession sess, User user) ResourcesManagerBlImpl.getAllResources(PerunSession sess) ResourcesManagerBlImpl.getAllResourcesByResourceTag(PerunSession perunSession, ResourceTag resourceTag) FacilitiesManagerBlImpl.getAssignedResources(PerunSession sess, Facility facility) FacilitiesManagerBlImpl.getAssignedResources(PerunSession sess, Facility facility, Vo specificVo, Service specificService) ResourcesManagerBlImpl.getAssignedResources(PerunSession sess, Group group) ResourcesManagerBlImpl.getAssignedResources(PerunSession sess, Member member) ResourcesManagerBlImpl.getAssignedResources(PerunSession sess, Member member, Service service) ResourcesManagerBlImpl.getAssignedResources(PerunSession sess, User user, Vo vo) ServicesManagerBlImpl.getAssignedResources(PerunSession sess, Service service) UsersManagerBlImpl.getAssignedResources(PerunSession sess, Facility facility, User user) UsersManagerBlImpl.getAssignedResources(PerunSession sess, User user) ResourcesManagerBlImpl.getAssociatedResources(PerunSession sess, Group group) ResourcesManagerBlImpl.getAssociatedResources(PerunSession sess, Member member) UsersManagerBlImpl.getAssociatedResources(PerunSession sess, Facility facility, User user) UsersManagerBlImpl.getAssociatedResources(PerunSession sess, User user) GroupsManagerBlImpl.getGroupResourcePairsByAttribute(PerunSession sess, Attribute attribute) ResourcesManagerBlImpl.getResources(PerunSession sess) ResourcesManagerBlImpl.getResources(PerunSession sess, User user, List<Status> memberStatuses, List<MemberGroupStatus> memberGroupStatuses, List<GroupResourceStatus> groupResourceStatuses) ResourcesManagerBlImpl.getResources(PerunSession sess, Vo vo) SearcherBlImpl.getResources(PerunSession sess, Map<String, String> attributesWithSearchingValues, boolean allowPartialMatchForString) ResourcesManagerBlImpl.getResourcesByAttribute(PerunSession sess, Attribute attribute) ResourcesManagerBlImpl.getResourcesByIds(PerunSession sess, List<Integer> ids) ResourcesManagerBlImpl.getResourcesWhereGroupIsAdmin(PerunSession sess, Facility facility, Vo vo, Group authorizedGroup) ResourcesManagerBlImpl.getResourcesWhereUserIsAdmin(PerunSession sess, Facility facility, Vo vo, User authorizedUser) ResourcesManagerBlImpl.getResourcesWhereUserIsAdmin(PerunSession sess, User user) ResourcesManagerBlImpl.getResourcesWhereUserIsAdmin(PerunSession sess, Vo vo, User authorizedUser) AuthzResolverBlImpl.getResourcesWhereUserIsInRoles(PerunSession sess, User user, List<String> roles) Get all Resources where the given user has set one of the given roles or the given user is a member of an authorized group with such roles.Methods in cz.metacentrum.perun.core.blImpl with parameters of type ResourceModifier and TypeMethodDescriptionvoidResourcesManagerBlImpl.activateGroupResourceAssignment(PerunSession sess, Group group, Resource resource, boolean async) voidResourcesManagerBlImpl.addResourceSelfServiceGroup(PerunSession sess, Resource resource, Group group) voidResourcesManagerBlImpl.addResourceSelfServiceUser(PerunSession sess, Resource resource, User user) voidResourcesManagerBlImpl.assignAutomaticGroupToResource(PerunSession perunSession, Group sourceGroup, Group groupToAssign, Resource resource) voidResourcesManagerBlImpl.assignGroupsToResource(PerunSession perunSession, Iterable<Group> groups, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) voidResourcesManagerBlImpl.assignGroupToResource(PerunSession sess, Group group, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) voidResourcesManagerBlImpl.assignResourceTagsToResource(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) voidResourcesManagerBlImpl.assignResourceTagToResource(PerunSession perunSession, ResourceTag resourceTag, Resource resource) voidResourcesManagerBlImpl.assignService(PerunSession sess, Resource resource, Service service) voidResourcesManagerBlImpl.assignServices(PerunSession sess, Resource resource, List<Service> services) voidAttributesManagerBlImpl.checkAttributeSemantics(PerunSession sess, Member member, Resource resource, Attribute attribute) voidAttributesManagerBlImpl.checkAttributeSemantics(PerunSession sess, Resource resource, Attribute attribute) voidAttributesManagerBlImpl.checkAttributeSemantics(PerunSession sess, Resource resource, Group group, Attribute attribute) voidAttributesManagerBlImpl.checkAttributesSemantics(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<Attribute> attributes) voidAttributesManagerBlImpl.checkAttributesSemantics(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) voidAttributesManagerBlImpl.checkAttributesSemantics(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) voidAttributesManagerBlImpl.checkAttributesSemantics(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) voidAttributesManagerBlImpl.checkAttributesSemantics(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) voidAttributesManagerBlImpl.checkAttributesSemantics(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttribute) voidAttributesManagerBlImpl.checkAttributesSemantics(PerunSession sess, Resource resource, List<Attribute> attributes) voidAttributesManagerBlImpl.checkAttributesSyntax(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<Attribute> attributes) voidAttributesManagerBlImpl.checkAttributesSyntax(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) voidAttributesManagerBlImpl.checkAttributesSyntax(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) voidAttributesManagerBlImpl.checkAttributesSyntax(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) voidAttributesManagerBlImpl.checkAttributesSyntax(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) voidAttributesManagerBlImpl.checkAttributesSyntax(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttribute) voidAttributesManagerBlImpl.checkAttributesSyntax(PerunSession sess, Resource resource, List<Attribute> attributes) voidAttributesManagerBlImpl.checkAttributeSyntax(PerunSession sess, Member member, Resource resource, Attribute attribute) voidAttributesManagerBlImpl.checkAttributeSyntax(PerunSession sess, Resource resource, Attribute attribute) voidAttributesManagerBlImpl.checkAttributeSyntax(PerunSession sess, Resource resource, Group group, Attribute attribute) voidAttributesManagerBlImpl.checkGroupIsFromTheSameVoLikeResource(PerunSession sess, Group group, Resource resource) Check if group is assigned on resource.voidResourcesManagerBlImpl.checkResourceExists(PerunSession sess, Resource resource) voidResourcesManagerBlImpl.checkSemanticsOfFacilityAndResourceRequiredAttributes(PerunSession sess, Resource resource) Checks semantics of all required attributes of given resource and its facility.GroupsManagerBlImpl.convertGroupsToRichGroupsWithAttributes(PerunSession sess, Member member, Resource resource, List<Group> groups, List<String> attrNames) GroupsManagerBlImpl.convertGroupsToRichGroupsWithAttributes(PerunSession sess, Resource resource, List<Group> groups) GroupsManagerBlImpl.convertGroupsToRichGroupsWithAttributes(PerunSession sess, Resource resource, List<Group> groups, List<String> attrNames) MembersManagerBlImpl.convertMembersToRichMembersWithAttributes(PerunSession sess, Group group, Resource resource, List<RichMember> richMembers, List<AttributeDefinition> attrsDef) Adds userAttributes and memberAttributes to rich members.MembersManagerBlImpl.convertMembersToRichMembersWithAttributes(PerunSession sess, List<RichMember> richMembers, Resource resource, List<AttributeDefinition> attrsDef) Adds userAttributes and memberAttributes to rich members.ResourcesManagerBlImpl.convertToEnrichedResource(PerunSession sess, Resource resource, List<String> attrNames) voidResourcesManagerBlImpl.copyAttributes(PerunSession sess, Resource sourceResource, Resource destinationResource) voidResourcesManagerBlImpl.copyGroups(PerunSession sess, Resource sourceResource, Resource destinationResource) ResourcesManagerBlImpl.copyResource(PerunSession sess, Resource templateResource, Resource destinationResource, boolean withGroups) voidResourcesManagerBlImpl.copyServices(PerunSession sess, Resource sourceResource, Resource destinationResource) ResourcesManagerBlImpl.createResource(PerunSession sess, Resource resource, Vo vo, Facility facility) voidResourcesManagerBlImpl.deactivateGroupResourceAssignment(PerunSession sess, Group group, Resource resource) voidResourcesManagerBlImpl.deleteResource(PerunSession sess, Resource resource) voidResourcesManagerBlImpl.fillAndSetRequiredAttributesForGroups(PerunSession sess, List<Service> services, Resource resource) Fill and set group and group-resource attributes required by given services for all groups which are assigned to the given resource.AttributesManagerBlImpl.fillAttribute(PerunSession sess, Member member, Resource resource, Attribute attribute) AttributesManagerBlImpl.fillAttribute(PerunSession sess, Resource resource, Attribute attribute) AttributesManagerBlImpl.fillAttribute(PerunSession sess, Resource resource, Group group, Attribute attribute) AttributesManagerBlImpl.fillAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) AttributesManagerBlImpl.fillAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes, boolean returnOnlyAttributesWithChangedValue) AttributesManagerBlImpl.fillAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) AttributesManagerBlImpl.fillAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) AttributesManagerBlImpl.fillAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) AttributesManagerBlImpl.fillAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttributes) AttributesManagerBlImpl.fillAttributes(PerunSession sess, Resource resource, List<Attribute> attributes) GroupsManagerBlImpl.filterOnlyAllowedAttributes(PerunSession sess, List<RichGroup> richGroups, Member member, Resource resource, boolean useContext) GroupsManagerBlImpl.filterOnlyAllowedAttributes(PerunSession sess, List<RichGroup> richGroups, Resource resource, boolean useContext) ModulesUtilsBlImpl.findCollisionGroupsWithSamgeGroupGid(PerunSessionImpl sess, Resource resource, String namespace) ModulesUtilsBlImpl.findCollisionGroupsWithSamgeGroupName(PerunSessionImpl sess, Resource resource, String namespace) ModulesUtilsBlImpl.findCollisionResourcesWithSameGid(PerunSessionImpl sess, Resource resource, String namespace) ModulesUtilsBlImpl.findCollisionResourcesWithSameGroupName(PerunSessionImpl sess, Resource resource, String namespace) voidAttributesManagerBlImpl.forceCheckAttributeSemantics(PerunSession sess, Resource resource, Attribute attribute) voidAttributesManagerBlImpl.forceCheckAttributesSemantics(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) ResourcesManagerBlImpl.getAdminGroups(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getAdmins(PerunSession perunSession, Resource resource, boolean onlyDirectAdmins) AttributesManagerBlImpl.getAllAttributesStartWithNameWithoutNullValue(PerunSession sess, Resource resource, String startPartOfName) ResourcesManagerBlImpl.getAllowedMembers(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getAllowedMembersNotExpiredInGroups(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getAllowedUsers(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getAllowedUsersNotExpiredInGroups(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getAllResourcesTagsForResource(PerunSession perunSession, Resource resource) ResourcesManagerBlImpl.getAssignedGroups(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getAssignedGroups(PerunSession sess, Resource resource, Member member) GroupsManagerBlImpl.getAssignedGroupsToResource(PerunSession sess, Resource resource) GroupsManagerBlImpl.getAssignedGroupsToResource(PerunSession sess, Resource resource, boolean withSubGroups) GroupsManagerBlImpl.getAssignedGroupsToResource(PerunSession sess, Resource resource, Member member) ResourcesManagerBlImpl.getAssignedMembers(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getAssignedMembersWithStatus(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getAssignedRichMembers(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getAssignedServices(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getAssignedUsers(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getAssociatedGroups(PerunSession sess, Resource resource, Member member) GroupsManagerBlImpl.getAssociatedGroupsToResource(PerunSession sess, Resource resource) GroupsManagerBlImpl.getAssociatedGroupsToResource(PerunSession sess, Resource resource, Member member) ResourcesManagerBlImpl.getAssociatedMembers(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getAssociatedUsers(PerunSession sess, Resource resource) AttributesManagerBlImpl.getAttribute(PerunSession sess, Member member, Resource resource, String attributeName) AttributesManagerBlImpl.getAttribute(PerunSession sess, Resource resource, Group group, String attributeName) AttributesManagerBlImpl.getAttribute(PerunSession sess, Resource resource, String attributeName) AttributesManagerBlImpl.getAttributeById(PerunSession sess, Member member, Resource resource, int id) AttributesManagerBlImpl.getAttributeById(PerunSession sess, Resource resource, int id) AttributesManagerBlImpl.getAttributeById(PerunSession sess, Resource resource, Group group, int id) AttributesManagerBlImpl.getAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member) AttributesManagerBlImpl.getAttributes(PerunSession sess, Group group, Member member, Resource resource, List<String> attrNames, boolean workWithUserAttributes) AttributesManagerBlImpl.getAttributes(PerunSession sess, Member member, Resource resource) AttributesManagerBlImpl.getAttributes(PerunSession sess, Member member, Resource resource, boolean workWithUserAttributes) AttributesManagerBlImpl.getAttributes(PerunSession sess, Member member, Resource resource, List<String> attrNames, boolean workWithUserAttributes) AttributesManagerBlImpl.getAttributes(PerunSession sess, Resource resource) AttributesManagerBlImpl.getAttributes(PerunSession sess, Resource resource, Group group) AttributesManagerBlImpl.getAttributes(PerunSession sess, Resource resource, Group group, boolean workWithGroupAttributes) AttributesManagerBlImpl.getAttributes(PerunSession sess, Resource resource, Group group, Member member, List<String> attrNames) AttributesManagerBlImpl.getAttributes(PerunSession sess, Resource resource, Group group, List<String> attrNames, boolean workWithGroupAttributes) AttributesManagerBlImpl.getAttributes(PerunSession sess, Resource resource, List<String> attrNames) MembersManagerBlImpl.getCompleteRichMembers(PerunSession sess, Group group, Resource resource, List<String> attrsNames, List<String> allowedStatuses) ResourcesManagerBlImpl.getEnrichedBansForResource(PerunSession sess, Resource resource, List<String> attrNames) FacilitiesManagerBlImpl.getFacilitiesByPerunBean(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getFacility(PerunSession sess, Resource resource) ModulesUtilsBlImpl.getGoogleGroupNameNamespaceAttributeWithNotNullValue(PerunSessionImpl sess, Resource resource) ResourcesManagerBlImpl.getGroupAssignments(PerunSession sess, Resource resource, List<String> attrNames) GroupsManagerBlImpl.getGroupsByPerunBean(PerunSession sess, Resource resource) UsersManagerBlImpl.getGroupsWhereUserIsActive(PerunSession sess, Resource resource, User user) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Member member, Resource resource) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Member member, Resource resource, boolean workWithUserAttributes) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Resource resource) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Resource resource, Service service, List<Member> members) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Service service, Facility facility, Resource resource, User user, Member member) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Service service, Facility facility, Resource resource, List<Member> members, boolean workWithUserAttributes) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Service service, Member member, Resource resource) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Service service, Member member, Resource resource, boolean workWithUserAttributes) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Service service, Resource resource) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group, boolean withGroupAttributes) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group, Member member, boolean workWithUserAttributes) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, Service service, Resource resource, List<Member> members) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, List<Service> services, Facility facility, Resource resource, User user, Member member) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, List<Service> services, Resource resource) AttributesManagerBlImpl.getRequiredAttributes(PerunSession sess, List<Service> services, Resource resource, Group group, boolean withGroupAttributes) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Facility facility) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Facility facility, Resource resource, User user, Member member) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Facility facility, User user) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Group group) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Host host) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Group group) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Group group, boolean workWithUserAttributes) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Resource resource) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Resource resource, boolean workWithUserAttributes) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource, Group group) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource, Group group, boolean workWithGroupAttributes) AttributesManagerBlImpl.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, User user) AttributesManagerBlImpl.getResourceRequiredAttributesDefinition(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getRichAdmins(PerunSession perunSession, Resource resource, List<String> specificAttributes, boolean allUserAttributes, boolean onlyDirectAdmins) GroupsManagerBlImpl.getRichGroupsWithAttributesAssignedToResource(PerunSession sess, Member member, Resource resource, List<String> attrNames) GroupsManagerBlImpl.getRichGroupsWithAttributesAssignedToResource(PerunSession sess, Resource resource, List<String> attrNames) MembersManagerBlImpl.getRichMembersWithAttributesByNames(PerunSession sess, Group group, Resource resource, List<String> attrsNames) MembersManagerBlImpl.getUnifiedMemberGroupStatus(PerunSession sess, Member member, Resource resource) ModulesUtilsBlImpl.getUnixGIDNamespaceAttributeWithNotNullValue(PerunSessionImpl sess, Resource resource) ModulesUtilsBlImpl.getUnixGroupNameNamespaceAttributeWithNotNullValue(PerunSessionImpl sess, Resource resource) UsersManagerBlImpl.getUsersByPerunBean(PerunSession sess, Resource resource) AttributesManagerBlImpl.getVirtualAttributes(PerunSession sess, Member member, Resource resource) ResourcesManagerBlImpl.getVo(PerunSession sess, Resource resource) VosManagerBlImpl.getVosByPerunBean(PerunSession sess, Resource resource) booleanResourcesManagerBlImpl.groupResourceAssignmentExists(PerunSession sess, Resource resource, Group group) intModulesUtilsBlImpl.haveTheSameAttributeWithTheSameNamespace(PerunSessionImpl sess, Resource resource, Attribute attr) static booleanAuthzResolverBlImpl.isAuthorizedForAttribute(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, Group group, Resource resource) static booleanAuthzResolverBlImpl.isAuthorizedForAttribute(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, Member member, Resource resource) static booleanAuthzResolverBlImpl.isAuthorizedForAttribute(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, Resource resource) booleanResourcesManagerBlImpl.isGroupAssigned(PerunSession sess, Resource resource, Group group) booleanResourcesManagerBlImpl.isGroupManuallyAssigned(PerunSession sess, Group group, Resource resource) ResourcesManagerBlImpl.isResourceLastAssignedServices(PerunSession sess, Resource resource, List<Service> services) booleanAttributesManagerBlImpl.isTrulyRequiredAttribute(PerunSession sess, Member member, Resource resource, AttributeDefinition attributeDefinition) booleanAttributesManagerBlImpl.isTrulyRequiredAttribute(PerunSession sess, Resource resource, AttributeDefinition attributeDefinition) booleanResourcesManagerBlImpl.isUserAllowed(PerunSession sess, User user, Resource resource) booleanResourcesManagerBlImpl.isUserAssigned(PerunSession sess, User user, Resource resource) voidResourcesManagerBlImpl.processGroupResourceActivationAsync(PerunSession sess, Group group, Resource resource) voidAttributesManagerBlImpl.removeAllAttributes(PerunSession sess, Member member, Resource resource) voidAttributesManagerBlImpl.removeAllAttributes(PerunSession sess, Resource resource) voidAttributesManagerBlImpl.removeAllAttributes(PerunSession sess, Resource resource, Group group) voidAttributesManagerBlImpl.removeAllAttributes(PerunSession sess, Resource resource, Group group, boolean workWithGroupAttributes) static voidAuthzResolverBlImpl.removeAllAuthzForResource(PerunSession sess, Resource resource) voidAttributesManagerBlImpl.removeAllGroupResourceAttributes(PerunSession sess, Resource resource) voidAttributesManagerBlImpl.removeAllMemberResourceAttributes(PerunSession sess, Resource resource) voidResourcesManagerBlImpl.removeAllResourcesTagFromResource(PerunSession perunSession, Resource resource) voidAttributesManagerBlImpl.removeAttribute(PerunSession sess, Member member, Resource resource, AttributeDefinition attribute) booleanAttributesManagerBlImpl.removeAttribute(PerunSession sess, Resource resource, AttributeDefinition attribute) voidAttributesManagerBlImpl.removeAttribute(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) voidAttributesManagerBlImpl.removeAttributes(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<? extends AttributeDefinition> attributes) voidAttributesManagerBlImpl.removeAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<? extends AttributeDefinition> attributes) voidAttributesManagerBlImpl.removeAttributes(PerunSession sess, Member member, Resource resource, List<? extends AttributeDefinition> attributes) voidAttributesManagerBlImpl.removeAttributes(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes) voidAttributesManagerBlImpl.removeAttributes(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes, boolean workWithGroupAttributes) voidAttributesManagerBlImpl.removeAttributes(PerunSession sess, Resource resource, List<? extends AttributeDefinition> attributes) booleanAttributesManagerBlImpl.removeAttributeWithoutCheck(PerunSession sess, Member member, Resource resource, AttributeDefinition attribute) booleanAttributesManagerBlImpl.removeAttributeWithoutCheck(PerunSession sess, Resource resource, AttributeDefinition attribute) booleanAttributesManagerBlImpl.removeAttributeWithoutCheck(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) voidResourcesManagerBlImpl.removeAutomaticGroupFromResource(PerunSession sess, Group group, Resource resource, int sourceGroupId) voidResourcesManagerBlImpl.removeGroupFromResource(PerunSession sess, Group group, Resource resource) voidResourcesManagerBlImpl.removeGroupsFromResource(PerunSession perunSession, List<Group> groups, Resource resource) voidResourcesManagerBlImpl.removeResourceSelfServiceGroup(PerunSession sess, Resource resource, Group group) voidResourcesManagerBlImpl.removeResourceSelfServiceUser(PerunSession sess, Resource resource, User user) voidResourcesManagerBlImpl.removeResourceTagFromResource(PerunSession perunSession, ResourceTag resourceTag, Resource resource) voidResourcesManagerBlImpl.removeResourceTagsFromResource(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) voidResourcesManagerBlImpl.removeService(PerunSession sess, Resource resource, Service service) voidResourcesManagerBlImpl.removeServices(PerunSession sess, Resource resource, List<Service> services, boolean removeTasks, boolean removeTaskResults, boolean removeDestinations) voidAttributesManagerBlImpl.setAttribute(PerunSession sess, Member member, Resource resource, Attribute attribute) voidAttributesManagerBlImpl.setAttribute(PerunSession sess, Resource resource, Attribute attribute) voidAttributesManagerBlImpl.setAttribute(PerunSession sess, Resource resource, Group group, Attribute attribute) voidAttributesManagerBlImpl.setAttributes(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<Attribute> attributes) voidAttributesManagerBlImpl.setAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) voidAttributesManagerBlImpl.setAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) voidAttributesManagerBlImpl.setAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) voidAttributesManagerBlImpl.setAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) voidAttributesManagerBlImpl.setAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttributes) voidAttributesManagerBlImpl.setAttributes(PerunSession sess, Resource resource, List<Attribute> attributes) booleanAttributesManagerBlImpl.setAttributeWithoutCheck(PerunSession sess, Member member, Resource resource, Attribute attribute, boolean workWithUserAttributes) booleanAttributesManagerBlImpl.setAttributeWithoutCheck(PerunSession sess, Resource resource, Attribute attribute) booleanAttributesManagerBlImpl.setAttributeWithoutCheck(PerunSession sess, Resource resource, Group group, Attribute attribute) voidAttributesManagerBlImpl.setRequiredAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member) voidAttributesManagerBlImpl.setRequiredAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, boolean forceAttributesChecks) voidAttributesManagerBlImpl.setRequiredAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) voidAttributesManagerBlImpl.setRequiredAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes, boolean forceAttributesChecks) voidAttributesManagerBlImpl.setRequiredAttributes(PerunSession sess, Service service, Facility facility, Resource resource, User user, Member member) voidAttributesManagerBlImpl.setRequiredAttributes(PerunSession sess, Service service, Facility facility, Resource resource, User user, Member member, boolean forceAttributesChecks) voidAttributesManagerBlImpl.setRequiredAttributes(PerunSession sess, List<Service> services, Facility facility, Resource resource, User user, Member member, boolean forceAttributesChecks) voidResourcesManagerBlImpl.updateAllRequiredAttributesForAllowedMembers(PerunSession sess, Resource resource, List<Service> services) For given resource, finds all allowed members and sets them attributes, (member-resource, member, user-facility and user) that are required by given services.ResourcesManagerBlImpl.updateResource(PerunSession sess, Resource resource) Method parameters in cz.metacentrum.perun.core.blImpl with type arguments of type ResourceModifier and TypeMethodDescriptionvoidResourcesManagerBlImpl.assignGroupToResources(PerunSession perunSession, Group group, List<Resource> resources, boolean async, boolean assignInactive, boolean autoAssignSubgroups) ModulesUtilsBlImpl.getCommonGIDOfResourcesWithSameNameInSameNamespace(PerunSessionImpl sess, List<Resource> resourcesWithSameGroupNameInSameNamespace, String gidNamespace, Integer commonGID) booleanModulesUtilsBlImpl.hasAccessToWriteToAttributeForAnyResource(PerunSessionImpl sess, AttributeDefinition attrDef, List<Resource> resources) voidResourcesManagerBlImpl.removeGroupFromResources(PerunSession perunSession, Group group, List<Resource> resources) -
Uses of Resource in cz.metacentrum.perun.core.entry
Methods in cz.metacentrum.perun.core.entry that return ResourceModifier and TypeMethodDescriptionResourcesManagerEntry.copyResource(PerunSession sess, Resource templateResource, Resource destinationResource, boolean withGroups) ResourcesManagerEntry.createResource(PerunSession sess, Resource resource, Vo vo, Facility facility) ResourcesManagerEntry.getResourceById(PerunSession sess, int id) ResourcesManagerEntry.getResourceByName(PerunSession sess, Vo vo, Facility facility, String name) ResourcesManagerEntry.updateResource(PerunSession sess, Resource resource) Methods in cz.metacentrum.perun.core.entry that return types with arguments of type ResourceModifier and TypeMethodDescriptionResourcesManagerEntry.getAllowedResources(PerunSession sess, Member member) UsersManagerEntry.getAllowedResources(PerunSession sess, Facility facility, User user) UsersManagerEntry.getAllowedResources(PerunSession sess, User user) ResourcesManagerEntry.getAllResources(PerunSession sess) ResourcesManagerEntry.getAllResourcesByResourceTag(PerunSession perunSession, ResourceTag resourceTag) FacilitiesManagerEntry.getAssignedResources(PerunSession sess, Facility facility) ResourcesManagerEntry.getAssignedResources(PerunSession sess, Group group) ResourcesManagerEntry.getAssignedResources(PerunSession sess, Member member) ResourcesManagerEntry.getAssignedResources(PerunSession sess, Member member, Service service) ServicesManagerEntry.getAssignedResources(PerunSession sess, Service service) FacilitiesManagerEntry.getAssignedResourcesByAssignedService(PerunSession sess, Facility facility, Service service) UsersManagerEntry.getAssociatedResources(PerunSession sess, Facility facility, User user) ResourcesManagerEntry.getResources(PerunSession sess, Vo vo) SearcherEntry.getResources(PerunSession sess, Map<String, String> attributesWithSearchingValues, boolean allowPartialMatchForString) ResourcesManagerEntry.getResourcesByIds(PerunSession sess, List<Integer> ids) ResourcesManagerEntry.getResourcesWhereGroupIsAdmin(PerunSession sess, Facility facility, Vo vo, Group authorizedGroup) ResourcesManagerEntry.getResourcesWhereUserIsAdmin(PerunSession sess, Facility facility, Vo vo, User authorizedUser) ResourcesManagerEntry.getResourcesWhereUserIsAdmin(PerunSession sess, User user) ResourcesManagerEntry.getResourcesWhereUserIsAdmin(PerunSession sess, Vo vo, User authorizedUser) UsersManagerEntry.getUserAssignments(PerunSession sess, User user) Methods in cz.metacentrum.perun.core.entry with parameters of type ResourceModifier and TypeMethodDescriptionvoidResourcesManagerEntry.activateGroupResourceAssignment(PerunSession sess, Group group, Resource resource, boolean async) voidResourcesManagerEntry.addAdmin(PerunSession sess, Resource resource, Group group) voidResourcesManagerEntry.addAdmin(PerunSession sess, Resource resource, User user) voidResourcesManagerEntry.addResourceSelfServiceGroup(PerunSession sess, Resource resource, Group group) voidResourcesManagerEntry.addResourceSelfServiceUser(PerunSession sess, Resource resource, User user) voidResourcesManagerEntry.assignGroupsToResource(PerunSession perunSession, List<Group> groups, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) voidResourcesManagerEntry.assignGroupToResource(PerunSession sess, Group group, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) voidResourcesManagerEntry.assignResourceTagsToResource(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) voidResourcesManagerEntry.assignResourceTagToResource(PerunSession perunSession, ResourceTag resourceTag, Resource resource) voidResourcesManagerEntry.assignService(PerunSession sess, Resource resource, Service service) voidResourcesManagerEntry.assignServices(PerunSession sess, Resource resource, List<Service> services) voidAttributesManagerEntry.checkAttributeSemantics(PerunSession sess, Member member, Resource resource, Attribute attribute) voidAttributesManagerEntry.checkAttributeSemantics(PerunSession sess, Resource resource, Attribute attribute) voidAttributesManagerEntry.checkAttributeSemantics(PerunSession sess, Resource resource, Group group, Attribute attribute) voidAttributesManagerEntry.checkAttributesSemantics(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) voidAttributesManagerEntry.checkAttributesSemantics(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) voidAttributesManagerEntry.checkAttributesSemantics(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) voidAttributesManagerEntry.checkAttributesSemantics(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) voidAttributesManagerEntry.checkAttributesSemantics(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttribute) voidAttributesManagerEntry.checkAttributesSemantics(PerunSession sess, Resource resource, List<Attribute> attributes) voidAttributesManagerEntry.checkAttributesSyntax(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) voidAttributesManagerEntry.checkAttributesSyntax(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) voidAttributesManagerEntry.checkAttributesSyntax(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) voidAttributesManagerEntry.checkAttributesSyntax(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) voidAttributesManagerEntry.checkAttributesSyntax(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttribute) voidAttributesManagerEntry.checkAttributesSyntax(PerunSession sess, Resource resource, List<Attribute> attributes) voidAttributesManagerEntry.checkAttributeSyntax(PerunSession sess, Member member, Resource resource, Attribute attribute) voidAttributesManagerEntry.checkAttributeSyntax(PerunSession sess, Resource resource, Attribute attribute) voidAttributesManagerEntry.checkAttributeSyntax(PerunSession sess, Resource resource, Group group, Attribute attribute) voidResourcesManagerEntry.copyAttributes(PerunSession sess, Resource sourceResource, Resource destinationResource) voidResourcesManagerEntry.copyGroups(PerunSession sess, Resource sourceResource, Resource destinationResource) ResourcesManagerEntry.copyResource(PerunSession sess, Resource templateResource, Resource destinationResource, boolean withGroups) voidResourcesManagerEntry.copyServices(PerunSession sess, Resource sourceResource, Resource destinationResource) ResourcesManagerEntry.createResource(PerunSession sess, Resource resource, Vo vo, Facility facility) voidResourcesManagerEntry.deactivateGroupResourceAssignment(PerunSession sess, Group group, Resource resource) voidResourcesManagerEntry.deleteResource(PerunSession sess, Resource resource) AttributesManagerEntry.fillAttribute(PerunSession sess, Member member, Resource resource, Attribute attribute) AttributesManagerEntry.fillAttribute(PerunSession sess, Resource resource, Attribute attribute) AttributesManagerEntry.fillAttribute(PerunSession sess, Resource resource, Group group, Attribute attribute) AttributesManagerEntry.fillAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) AttributesManagerEntry.fillAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) AttributesManagerEntry.fillAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) AttributesManagerEntry.fillAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) AttributesManagerEntry.fillAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttributes) AttributesManagerEntry.fillAttributes(PerunSession sess, Resource resource, List<Attribute> attributes) ResourcesManagerEntry.getAdminGroups(PerunSession sess, Resource resource) ResourcesManagerEntry.getAdmins(PerunSession perunSession, Resource resource, boolean onlyDirectAdmins) AttributesManagerEntry.getAllAttributesStartWithNameWithoutNullValue(PerunSession sess, Resource resource, String startPartOfName) ResourcesManagerEntry.getAllowedMembers(PerunSession sess, Resource resource) ResourcesManagerEntry.getAllowedUsers(PerunSession sess, Resource resource) ResourcesManagerEntry.getAllResourcesTagsForResource(PerunSession perunSession, Resource resource) ResourcesManagerEntry.getAssignedGroups(PerunSession sess, Resource resource) ResourcesManagerEntry.getAssignedGroups(PerunSession sess, Resource resource, Member member) ResourcesManagerEntry.getAssignedMembers(PerunSession sess, Resource resource) ResourcesManagerEntry.getAssignedMembersWithStatus(PerunSession sess, Resource resource) ResourcesManagerEntry.getAssignedRichMembers(PerunSession sess, Resource resource) ResourcesManagerEntry.getAssignedServices(PerunSession sess, Resource resource) AttributesManagerEntry.getAttribute(PerunSession sess, Member member, Resource resource, String attributeName) AttributesManagerEntry.getAttribute(PerunSession sess, Resource resource, Group group, String attributeName) AttributesManagerEntry.getAttribute(PerunSession sess, Resource resource, String attributeName) AttributesManagerEntry.getAttributeById(PerunSession sess, Member member, Resource resource, int id) AttributesManagerEntry.getAttributeById(PerunSession sess, Resource resource, int id) AttributesManagerEntry.getAttributeById(PerunSession sess, Resource resource, Group group, int id) AttributesManagerEntry.getAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member) AttributesManagerEntry.getAttributes(PerunSession sess, Member member, Resource resource) AttributesManagerEntry.getAttributes(PerunSession sess, Member member, Resource resource, boolean workWithUserAttributes) AttributesManagerEntry.getAttributes(PerunSession sess, Member member, Resource resource, List<String> attrNames, boolean workWithUserAttributes) AttributesManagerEntry.getAttributes(PerunSession sess, Resource resource) AttributesManagerEntry.getAttributes(PerunSession sess, Resource resource, Group group) AttributesManagerEntry.getAttributes(PerunSession sess, Resource resource, Group group, boolean workWithGroupAttributes) AttributesManagerEntry.getAttributes(PerunSession sess, Resource resource, Group group, Member member, List<String> attrNames) AttributesManagerEntry.getAttributes(PerunSession sess, Resource resource, Group group, List<String> attrNames, boolean workWithGroupAttributes) AttributesManagerEntry.getAttributes(PerunSession sess, Resource resource, List<String> attrNames) MembersManagerEntry.getCompleteRichMembers(PerunSession sess, Group group, Resource resource, List<String> attrsNames, List<String> allowedStatuses) ResourcesManagerEntry.getFacility(PerunSession sess, Resource resource) ResourcesManagerEntry.getGroupAssignments(PerunSession sess, Resource resource, List<String> attrNames) UsersManagerEntry.getGroupsWhereUserIsActive(PerunSession sess, Resource resource, User user) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, Member member, Resource resource) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, Member member, Resource resource, boolean workWithUserAttributes) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, Resource resource) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, Resource resource, Service service, List<Member> members) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, Service service, Member member, Resource resource) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, Service service, Member member, Resource resource, boolean workWithUserAttributes) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, Service service, Resource resource) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group, boolean workWithGroupAttributes) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group, Member member, boolean workWithUserAttributes) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, Service service, Resource resource, List<Member> members) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, Service service, Resource resource, List<Member> members, boolean workWithUserAttributes) AttributesManagerEntry.getRequiredAttributes(PerunSession sess, List<Service> services, Resource resource) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Facility facility, Resource resource, User user, Member member) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Facility facility, User user) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Group group) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Host host) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Group group) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Group group, boolean workWithUserAttributes) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Resource resource) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Resource resource, boolean workWithUserAttributes) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource, Group group) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource, Group group, boolean workWithGroupAttributes) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource, Group group, Member member, boolean workWithUserAttributes) AttributesManagerEntry.getResourceRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, User user) ResourcesManagerEntry.getRichAdmins(PerunSession perunSession, Resource resource, List<String> specificAttributes, boolean allUserAttributes, boolean onlyDirectAdmins) GroupsManagerEntry.getRichGroupsAssignedToResourceWithAttributesByNames(PerunSession sess, Member member, Resource resource, List<String> attrNames) GroupsManagerEntry.getRichGroupsAssignedToResourceWithAttributesByNames(PerunSession sess, Resource resource, List<String> attrNames) UsersManagerEntry.getRichGroupsWhereUserIsActive(PerunSession sess, Resource resource, User user, List<String> attrNames) ResourcesManagerEntry.getVo(PerunSession sess, Resource resource) ResourcesManagerEntry.isResourceLastAssignedServices(PerunSession sess, Resource resource, List<Service> services) voidResourcesManagerEntry.removeAdmin(PerunSession sess, Resource resource, Group group) voidResourcesManagerEntry.removeAdmin(PerunSession sess, Resource resource, User user) voidAttributesManagerEntry.removeAllAttributes(PerunSession sess, Member member, Resource resource) voidAttributesManagerEntry.removeAllAttributes(PerunSession sess, Resource resource) voidAttributesManagerEntry.removeAllAttributes(PerunSession sess, Resource resource, Group group) voidAttributesManagerEntry.removeAllAttributes(PerunSession sess, Resource resource, Group group, boolean workWithGroupAttributes) voidResourcesManagerEntry.removeAllResourcesTagFromResource(PerunSession perunSession, Resource resource) voidAttributesManagerEntry.removeAttribute(PerunSession sess, Member member, Resource resource, AttributeDefinition attribute) voidAttributesManagerEntry.removeAttribute(PerunSession sess, Resource resource, AttributeDefinition attribute) voidAttributesManagerEntry.removeAttribute(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) voidAttributesManagerEntry.removeAttributes(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<? extends AttributeDefinition> attributes) voidAttributesManagerEntry.removeAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<? extends AttributeDefinition> attributes) voidAttributesManagerEntry.removeAttributes(PerunSession sess, Member member, Resource resource, List<? extends AttributeDefinition> attributes) voidAttributesManagerEntry.removeAttributes(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes) voidAttributesManagerEntry.removeAttributes(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes, boolean workWithGroupAttributes) voidAttributesManagerEntry.removeAttributes(PerunSession sess, Resource resource, List<? extends AttributeDefinition> attributes) voidResourcesManagerEntry.removeGroupFromResource(PerunSession sess, Group group, Resource resource) voidResourcesManagerEntry.removeGroupsFromResource(PerunSession perunSession, List<Group> groups, Resource resource) voidResourcesManagerEntry.removeResourceSelfServiceGroup(PerunSession sess, Resource resource, Group group) voidResourcesManagerEntry.removeResourceSelfServiceUser(PerunSession sess, Resource resource, User user) voidResourcesManagerEntry.removeResourceTagFromResource(PerunSession perunSession, ResourceTag resourceTag, Resource resource) voidResourcesManagerEntry.removeResourceTagsFromResource(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) voidResourcesManagerEntry.removeService(PerunSession sess, Resource resource, Service service) voidResourcesManagerEntry.removeServices(PerunSession sess, Resource resource, List<Service> services, boolean removeTasks, boolean removeTaskResults, boolean removeDestinations) voidAttributesManagerEntry.setAttribute(PerunSession sess, Member member, Resource resource, Attribute attribute) voidAttributesManagerEntry.setAttribute(PerunSession sess, Resource resource, Attribute attribute) voidAttributesManagerEntry.setAttribute(PerunSession sess, Resource resource, Group group, Attribute attribute) voidAttributesManagerEntry.setAttributes(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<Attribute> attributes) voidAttributesManagerEntry.setAttributes(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) voidAttributesManagerEntry.setAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) voidAttributesManagerEntry.setAttributes(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) voidAttributesManagerEntry.setAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) voidAttributesManagerEntry.setAttributes(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttributes) voidAttributesManagerEntry.setAttributes(PerunSession sess, Resource resource, List<Attribute> attributes) ResourcesManagerEntry.updateResource(PerunSession sess, Resource resource) Method parameters in cz.metacentrum.perun.core.entry with type arguments of type ResourceModifier and TypeMethodDescriptionvoidResourcesManagerEntry.assignGroupToResources(PerunSession perunSession, Group group, List<Resource> resources, boolean async, boolean assignInactive, boolean autoAssignSubgroups) voidResourcesManagerEntry.removeGroupFromResources(PerunSession perunSession, Group group, List<Resource> resources) voidResourcesManagerEntry.removeService(PerunSession perunSession, List<Resource> resources, Service service) -
Uses of Resource in cz.metacentrum.perun.core.impl
Fields in cz.metacentrum.perun.core.impl with type parameters of type ResourceMethods in cz.metacentrum.perun.core.impl that return ResourceModifier and TypeMethodDescriptionResourcesManagerImpl.createResource(PerunSession sess, Vo vo, Resource resource, Facility facility) ResourcesManagerImpl.getResourceById(PerunSession sess, int id) ResourcesManagerImpl.getResourceByName(PerunSession sess, Vo vo, Facility facility, String name) ResourcesManagerImpl.updateResource(PerunSession sess, Resource resource) Methods in cz.metacentrum.perun.core.impl that return types with arguments of type ResourceModifier and TypeMethodDescriptionResourcesManagerImpl.getAllowedResources(PerunSession sess, Facility facility, User user) UsersManagerImpl.getAllowedResources(PerunSession sess, User user) ResourcesManagerImpl.getAllResources(PerunSession sess) ResourcesManagerImpl.getAllResourcesByResourceTag(PerunSession perunSession, ResourceTag resourceTag) FacilitiesManagerImpl.getAssignedResources(PerunSession sess, Facility facility) FacilitiesManagerImpl.getAssignedResources(PerunSession sess, Facility facility, Vo specificVo, Service specificService) ResourcesManagerImpl.getAssignedResources(PerunSession sess, Group group) ResourcesManagerImpl.getAssignedResources(PerunSession sess, Member member) ResourcesManagerImpl.getAssignedResources(PerunSession sess, Member member, Service service) ResourcesManagerImpl.getAssignedResources(PerunSession sess, User user, Vo vo) ServicesManagerImpl.getAssignedResources(PerunSession sess, Service service) UsersManagerImpl.getAssignedResources(PerunSession sess, Facility facility, User user) UsersManagerImpl.getAssignedResources(PerunSession sess, User user) ResourcesManagerImpl.getAssociatedResources(PerunSession sess, Group group) ResourcesManagerImpl.getAssociatedResources(PerunSession sess, Member member) UsersManagerImpl.getAssociatedResources(PerunSession sess, Facility facility, User user) UsersManagerImpl.getAssociatedResources(PerunSession sess, User user) GroupsManagerImpl.getGroupResourcePairsByAttribute(PerunSession sess, Attribute attribute) ResourcesManagerImpl.getResources(PerunSession sess) ResourcesManagerImpl.getResources(PerunSession sess, User user, List<Status> memberStatuses, List<MemberGroupStatus> memberGroupStatuses, List<GroupResourceStatus> groupResourceStatuses) ResourcesManagerImpl.getResources(PerunSession sess, Vo vo) SearcherImpl.getResources(PerunSession sess, Map<Attribute, String> attributesWithSearchingValues, boolean allowPartialMatchForString) ResourcesManagerImpl.getResourcesByAttribute(PerunSession sess, Attribute attribute) ResourcesManagerImpl.getResourcesByIds(PerunSession sess, List<Integer> ids) ResourcesManagerImpl.getResourcesWhereGroupIsAdmin(PerunSession sess, Facility facility, Vo vo, Group authorizedGroup) ResourcesManagerImpl.getResourcesWhereUserIsAdmin(PerunSession sess, Facility facility, Vo vo, User authorizedUser) ResourcesManagerImpl.getResourcesWhereUserIsAdmin(PerunSession sess, User user) ResourcesManagerImpl.getResourcesWhereUserIsAdmin(PerunSession sess, Vo vo, User authorizedUser) AuthzResolverImpl.getResourcesWhereUserIsInRoles(User user, List<String> roles) Methods in cz.metacentrum.perun.core.impl with parameters of type ResourceModifier and TypeMethodDescriptionvoidAuthzResolverImpl.addAdmin(PerunSession sess, Resource resource, Group group) voidAuthzResolverImpl.addAdmin(PerunSession sess, Resource resource, User user) voidAuthzResolverImpl.addResourceRole(PerunSession sess, Group group, String role, Resource resource) voidAuthzResolverImpl.addResourceRole(PerunSession sess, User user, String role, Resource resource) voidResourcesManagerImpl.assignAutomaticGroupToResource(PerunSession sess, Group group, Resource resource, Group sourceGroup) voidResourcesManagerImpl.assignGroupToResource(PerunSession sess, Group group, Resource resource, boolean autoAssignSubgroups) voidResourcesManagerImpl.assignGroupToResourceState(PerunSession sess, Group group, Resource resource, GroupResourceStatus status) voidResourcesManagerImpl.assignResourceTagToResource(PerunSession perunSession, ResourceTag resourceTag, Resource resource) voidResourcesManagerImpl.assignService(PerunSession sess, Resource resource, Service service) voidResourceAssignmentChecker.assignSubgroupsToResource(Resource resource, List<AssignedGroup> automaticallyAssignedSubgroups, AssignedGroup sourceGroup) Filter subgroups of source group (with autoassign) which are not assigned and assign them.voidAttributesManagerImpl.changedAttributeHook(PerunSession sess, Member member, Resource resource, Attribute attribute) voidAttributesManagerImpl.changedAttributeHook(PerunSession sess, Resource resource, Attribute attribute) voidAttributesManagerImpl.changedAttributeHook(PerunSession sess, Resource resource, Group group, Attribute attribute) voidAttributesManagerImpl.checkAttributeSemantics(PerunSession sess, Member member, Resource resource, Attribute attribute) voidAttributesManagerImpl.checkAttributeSemantics(PerunSession sess, Resource resource, Attribute attribute) voidAttributesManagerImpl.checkAttributeSemantics(PerunSession sess, Resource resource, Group group, Attribute attribute) voidAttributesManagerImpl.checkAttributesSemantics(PerunSession sess, Resource resource, List<Attribute> attributes) voidAttributesManagerImpl.checkAttributeSyntax(PerunSession sess, Member member, Resource resource, Attribute attribute) voidAttributesManagerImpl.checkAttributeSyntax(PerunSession sess, Resource resource, Attribute attribute) voidAttributesManagerImpl.checkAttributeSyntax(PerunSession sess, Resource resource, Group group, Attribute attribute) voidAttributesManagerImpl.checkAttributeSyntax(PerunSession sess, Resource resource, List<Attribute> attributes) voidResourcesManagerImpl.checkResourceExists(PerunSession sess, Resource resource) ResourcesManagerImpl.createResource(PerunSession sess, Vo vo, Resource resource, Facility facility) voidResourcesManagerImpl.deleteResource(PerunSession sess, Vo vo, Resource resource) AttributesManagerImpl.fillAttribute(PerunSession sess, Member member, Resource resource, Attribute attribute) AttributesManagerImpl.fillAttribute(PerunSession sess, Resource resource, Attribute attribute) AttributesManagerImpl.fillAttribute(PerunSession sess, Resource resource, Group group, Attribute attribute) ResourcesManagerImpl.getAdminGroups(PerunSession sess, Resource resource) ResourcesManagerImpl.getAdmins(PerunSession sess, Resource resource) AttributesManagerImpl.getAllAttributesStartWithNameWithoutNullValue(PerunSession sess, Resource resource, String startPartOfName) ResourcesManagerImpl.getAllowedMembers(PerunSession sess, Resource resource) ResourcesManagerImpl.getAllowedMembersNotExpiredInGroup(PerunSession sess, Resource resource) ResourcesManagerImpl.getAllowedUsers(PerunSession sess, Resource resource) ResourcesManagerImpl.getAllowedUsersNotExpiredInGroup(PerunSession sess, Resource resource) ResourcesManagerImpl.getAllResourcesTagsForResource(PerunSession perunSession, Resource resource) GroupsManagerImpl.getAssignedGroupsToResource(PerunSession perunSession, Resource resource) GroupsManagerImpl.getAssignedGroupsToResource(PerunSession perunSession, Resource resource, Member member) ResourcesManagerImpl.getAssignedMembers(PerunSession sess, Resource resource) ResourcesManagerImpl.getAssignedMembersWithStatus(PerunSession sess, Resource resource) ResourcesManagerImpl.getAssignedServices(PerunSession sess, Resource resource) ResourcesManagerImpl.getAssignedUsers(PerunSession sess, Resource resource) GroupsManagerImpl.getAssociatedGroupsToResource(PerunSession perunSession, Resource resource) GroupsManagerImpl.getAssociatedGroupsToResource(PerunSession perunSession, Resource resource, Member member) ResourcesManagerImpl.getAssociatedMembers(PerunSession sess, Resource resource) ResourcesManagerImpl.getAssociatedUsers(PerunSession sess, Resource resource) AttributesManagerImpl.getAttribute(PerunSession sess, Member member, Resource resource, String attributeName) AttributesManagerImpl.getAttribute(PerunSession sess, Resource resource, Group group, String attributeName) AttributesManagerImpl.getAttribute(PerunSession sess, Resource resource, String attributeName) AttributesManagerImpl.getAttributeById(PerunSession sess, Member member, Resource resource, int id) AttributesManagerImpl.getAttributeById(PerunSession sess, Resource resource, int id) AttributesManagerImpl.getAttributeById(PerunSession sess, Resource resource, Group group, int id) AttributesManagerImpl.getAttributes(PerunSession sess, Member member, Resource resource) AttributesManagerImpl.getAttributes(PerunSession sess, Member member, Resource resource, List<String> attrNames) AttributesManagerImpl.getAttributes(PerunSession sess, Resource resource) AttributesManagerImpl.getAttributes(PerunSession sess, Resource resource, Group group) AttributesManagerImpl.getAttributes(PerunSession sess, Resource resource, Group group, List<String> attrNames) AttributesManagerImpl.getAttributes(PerunSession sess, Resource resource, List<String> attrNames) ResourcesManagerImpl.getDirectAdmins(PerunSession perunSession, Resource resource) intResourcesManagerImpl.getFacilityId(PerunSession sess, Resource resource) Deprecated.ResourcesManagerImpl.getFailedGroupResourceAssignmentCause(PerunSession sess, Group group, Resource resource) ResourcesManagerImpl.getGroupAssignments(PerunSession sess, Resource resource) ResourcesManagerImpl.getGroupResourceStatus(PerunSession sess, Group group, Resource resource) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Resource resource, Facility facility) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Resource resource, Facility facility, User user) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Group group) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Host host) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Group group) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Resource resource) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource, Group group) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Resource resource, Service service, List<Member> members) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Resource resource, User user) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Resource resource, List<Integer> serviceIds) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Service service, Member member, Resource resource) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Service service, Resource resource) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, Service service, Resource resource, List<Member> members) AttributesManagerImpl.getRequiredAttributes(PerunSession sess, List<Service> services, Resource resource, Group group) AttributesManagerImpl.getResourceRequiredAttributesDefinition(PerunSession sess, Resource resource) MembersManagerImpl.getUnifiedMemberGroupStatus(PerunSession sess, Member member, Resource resource) AttributesManagerImpl.getVirtualAttributes(PerunSession sess, Member member, Resource resource) AttributesManagerImpl.getVirtualAttributes(PerunSession sess, Resource resource) booleanResourcesManagerImpl.groupResourceAssignmentExists(PerunSession sess, Resource resource, Group group) booleanAttributesManagerImpl.isAttributeRequiredByResource(PerunSession sess, Resource resource, AttributeDefinition attributeDefinition) booleanResourcesManagerImpl.isGroupAssigned(PerunSession sess, Resource resource, Group group) booleanResourcesManagerImpl.isGroupManuallyAssigned(PerunSession sess, Group group, Resource resource) booleanResourcesManagerImpl.isUserAllowed(PerunSession sess, User user, Resource resource) booleanResourcesManagerImpl.isUserAssigned(PerunSession sess, User user, Resource resource) voidAuthzResolverImpl.removeAdmin(PerunSession sess, Resource resource, Group group) voidAuthzResolverImpl.removeAdmin(PerunSession sess, Resource resource, User user) booleanAttributesManagerImpl.removeAllAttributes(PerunSession sess, Member member, Resource resource) booleanAttributesManagerImpl.removeAllAttributes(PerunSession sess, Resource resource) booleanAttributesManagerImpl.removeAllAttributes(PerunSession sess, Resource resource, Group group) voidAuthzResolverImpl.removeAllAuthzForResource(PerunSession sess, Resource resource) voidAttributesManagerImpl.removeAllGroupResourceAttributes(PerunSession sess, Resource resource) voidAttributesManagerImpl.removeAllMemberResourceAttributes(PerunSession sess, Resource resource) voidResourcesManagerImpl.removeAllResourcesTagFromResource(PerunSession perunSession, Resource resource) booleanAttributesManagerImpl.removeAttribute(PerunSession sess, Member member, Resource resource, AttributeDefinition attribute) booleanAttributesManagerImpl.removeAttribute(PerunSession sess, Resource resource, AttributeDefinition attribute) booleanAttributesManagerImpl.removeAttribute(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) voidResourcesManagerImpl.removeAutomaticGroupFromResource(PerunSession perunSession, Group group, Resource resource, int sourceGroupId) voidResourcesManagerImpl.removeGroupFromResource(PerunSession sess, Group group, Resource resource) voidAuthzResolverImpl.removeResourceRole(PerunSession sess, String role, Resource resource, Group group) voidAuthzResolverImpl.removeResourceRole(PerunSession sess, String role, Resource resource, User user) voidResourcesManagerImpl.removeResourceTagFromResource(PerunSession perunSession, ResourceTag resourceTag, Resource resource) voidResourcesManagerImpl.removeService(PerunSession sess, Resource resource, Service service) voidResourceAssignmentChecker.removeSubgroupFromResource(Resource resource, List<AssignedGroup> sourceGroups, AssignedGroup assignedSubgroup) Remove assigned subgroup which source group is not assigned as source group.booleanAttributesManagerImpl.removeVirtualAttribute(PerunSession sess, Resource resource, AttributeDefinition attribute) booleanAttributesManagerImpl.removeVirtualAttribute(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) booleanResourcesManagerImpl.resourceExists(PerunSession sess, Resource resource) voidResourcesManagerImpl.setFailedGroupResourceAssignmentCause(PerunSession sess, Group group, Resource resource, String cause) voidResourcesManagerImpl.setGroupResourceStatus(PerunSession sess, Group group, Resource resource, GroupResourceStatus status) booleanAttributesManagerImpl.setVirtualAttribute(PerunSession sess, Resource resource, Attribute attribute) booleanAttributesManagerImpl.setVirtualAttribute(PerunSession sess, Resource resource, Group group, Attribute attribute) ResourcesManagerImpl.updateResource(PerunSession sess, Resource resource) -
Uses of Resource in cz.metacentrum.perun.core.impl.modules.attributes
Methods in cz.metacentrum.perun.core.impl.modules.attributes with parameters of type ResourceModifier and TypeMethodDescriptionvoidurn_perun_resource_attribute_def_def_unixGID_namespace.changedAttributeHook(PerunSessionImpl session, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_unixGroupName_namespace.changedAttributeHook(PerunSessionImpl session, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_adName.checkAttributeSemantics(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_drupalGroupType.checkAttributeSemantics(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_isSystemUnixGroup.checkAttributeSemantics(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_o365EmailAddresses_mu.checkAttributeSemantics(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_projectDataLimit.checkAttributeSemantics(PerunSessionImpl perunSession, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_projectDataQuota.checkAttributeSemantics(PerunSessionImpl perunSession, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_projectName.checkAttributeSemantics(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_projectOwnerLogin.checkAttributeSemantics(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_systemUnixGID.checkAttributeSemantics(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_systemUnixGroupName.checkAttributeSemantics(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_virt_googleGroupName.checkAttributeSemantics(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_virt_unixGID.checkAttributeSemantics(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_virt_unixGroupName.checkAttributeSemantics(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_member_resource_attribute_def_def_bucketQuota.checkAttributeSemantics(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) voidurn_perun_member_resource_attribute_def_def_dataQuotas.checkAttributeSemantics(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) voidurn_perun_member_resource_attribute_def_def_fileQuotas.checkAttributeSemantics(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_accountExpirationTime.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_apacheAuthzFile.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_defaultBucketQuota.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_defaultDataQuotas.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_defaultFileQuotas.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_defaultHomeMountPoint.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) Checks if the homemountpoint is contained in list of homemountpoint at underlying facilityvoidurn_perun_resource_attribute_def_def_defaultShell.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) Checks the attribute with a default shell at the specified resource.voidurn_perun_resource_attribute_def_def_fairshareGroupName.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_fsScratchDirs.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_homeMountPoints.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) Allows only homeMountPoints which are contained in underlying facilityvoidurn_perun_resource_attribute_def_def_k4GroupCode.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_k4GroupPriority.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_k5loginTargetUser.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_m365LicenseGroup.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_mailaliasesTargetUser.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_mailingListManagerEmail.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_projectsBasePath.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_replicaDestination.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_replicaDestinationPath.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_shells.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) Checks the attribute with all available shells from resource's facilityvoidurn_perun_resource_attribute_def_def_sshkeysTargetUser.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_unixGID_namespace.checkAttributeSemantics(PerunSessionImpl sess, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_unixGroupName_namespace.checkAttributeSemantics(PerunSessionImpl sess, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_virt_unixGID.checkAttributeSemantics(PerunSessionImpl sess, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_virt_unixGroupName.checkAttributeSemantics(PerunSessionImpl sess, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_adName.checkAttributeSyntax(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_drupalGroupType.checkAttributeSyntax(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_isSystemUnixGroup.checkAttributeSyntax(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_o365EmailAddresses_mu.checkAttributeSyntax(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_projectDataLimit.checkAttributeSyntax(PerunSessionImpl perunSession, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_projectDataQuota.checkAttributeSyntax(PerunSessionImpl perunSession, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_projectDirPermissions.checkAttributeSyntax(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_projectName.checkAttributeSyntax(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_projectOwnerLogin.checkAttributeSyntax(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_systemUnixGID.checkAttributeSyntax(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_systemUnixGroupName.checkAttributeSyntax(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_vomsGroupName.checkAttributeSyntax(PerunSessionImpl perunSession, Group group, Resource resource, Attribute attribute) voidurn_perun_group_resource_attribute_def_def_vomsRoles.checkAttributeSyntax(PerunSessionImpl perunSession, Group group, Resource resource, Attribute attribute) voidurn_perun_member_resource_attribute_def_def_bucketQuota.checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) voidurn_perun_member_resource_attribute_def_def_bucketQuotaOverride.checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) voidurn_perun_member_resource_attribute_def_def_dataQuotas.checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) voidurn_perun_member_resource_attribute_def_def_dataQuotasOverride.checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) voidurn_perun_member_resource_attribute_def_def_fileQuotas.checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) voidurn_perun_member_resource_attribute_def_def_fileQuotasOverride.checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) voidurn_perun_member_resource_attribute_def_virt_groupStatus.checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_apacheAuthzFile.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_capabilities.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_defaultBucketQuota.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_defaultDataQuotas.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_defaultFileQuotas.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_defaultHomeMountPoint.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) Checks syntax of attribute value, allows valid unix paths only.voidurn_perun_resource_attribute_def_def_fairshareGroupName.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_fsScratchDirs.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_homeMountPoints.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_k4GroupCode.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_k4GroupName.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_k5loginTargetUser.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_kerberosPrincipalsFileSuffix.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_mailaliasesTargetUser.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_mailingListManagerEmail.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_maxUserBucketQuota.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_maxUserDataQuotas.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_maxUserFileQuotas.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_projectsBasePath.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_replicaDestination.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_replicaDestinationPath.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_shells.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_sshkeysTargetUser.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_unixGroupName_namespace.checkAttributeSyntax(PerunSessionImpl sess, Resource resource, Attribute attribute) voidurn_perun_resource_attribute_def_def_vomsRoles.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) urn_perun_group_resource_attribute_def_def_drupalGroupType.fillAttribute(PerunSessionImpl session, Group group, Resource resource, AttributeDefinition attribute) urn_perun_group_resource_attribute_def_def_isSystemUnixGroup.fillAttribute(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attributeDefinition) urn_perun_group_resource_attribute_def_def_o365EmailAddresses_mu.fillAttribute(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attrDef) Prefills value created by joining value of urn:perun:group_resource:attribute-def:def:adName with "@group.muni.cz"urn_perun_group_resource_attribute_def_def_systemUnixGID.fillAttribute(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attributeDefinition) urn_perun_group_resource_attribute_def_def_systemUnixGroupName.fillAttribute(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attributeDefinition) urn_perun_group_resource_attribute_def_virt_googleGroupName.fillAttribute(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attributeDefinition) urn_perun_group_resource_attribute_def_virt_unixGID.fillAttribute(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attributeDefinition) urn_perun_group_resource_attribute_def_virt_unixGroupName.fillAttribute(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attributeDefinition) urn_perun_resource_attribute_def_def_accountExpirationTime.fillAttribute(PerunSessionImpl perunSession, Resource resource, AttributeDefinition attribute) urn_perun_resource_attribute_def_def_defaultHomeMountPoint.fillAttribute(PerunSessionImpl perunSession, Resource resource, AttributeDefinition attribute) urn_perun_resource_attribute_def_def_defaultShell.fillAttribute(PerunSessionImpl perunSession, Resource resource, AttributeDefinition attribute) Fills the default shell at specified resource.urn_perun_resource_attribute_def_def_homeMountPoints.fillAttribute(PerunSessionImpl perunSession, Resource resource, AttributeDefinition attribute) Fill with attribute from underlying facilityurn_perun_resource_attribute_def_def_shells.fillAttribute(PerunSessionImpl perunSession, Resource resource, AttributeDefinition attribute) Fills the list of shells at the specified resource from facilityurn_perun_resource_attribute_def_def_unixGID_namespace.fillAttribute(PerunSessionImpl sess, Resource resource, AttributeDefinition attributeDefinition) urn_perun_resource_attribute_def_def_userSettingsDescription.fillAttribute(PerunSessionImpl session, Resource resource, AttributeDefinition attribute) urn_perun_resource_attribute_def_def_userSettingsName.fillAttribute(PerunSessionImpl session, Resource resource, AttributeDefinition attribute) urn_perun_resource_attribute_def_virt_unixGID.fillAttribute(PerunSessionImpl sess, Resource resource, AttributeDefinition attributeDefinition) urn_perun_resource_attribute_def_virt_unixGroupName.fillAttribute(PerunSessionImpl sess, Resource resource, AttributeDefinition attributeDefinition) urn_perun_group_resource_attribute_def_virt_googleGroupName.getAttributeValue(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attributeDefinition) urn_perun_group_resource_attribute_def_virt_unixGID.getAttributeValue(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attributeDefinition) urn_perun_group_resource_attribute_def_virt_unixGroupName.getAttributeValue(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attributeDefinition) urn_perun_member_resource_attribute_def_virt_bucketQuota.getAttributeValue(PerunSessionImpl sess, Member member, Resource resource, AttributeDefinition attributeDefinition) urn_perun_member_resource_attribute_def_virt_dataQuotas.getAttributeValue(PerunSessionImpl sess, Member member, Resource resource, AttributeDefinition attributeDefinition) urn_perun_member_resource_attribute_def_virt_fileQuotas.getAttributeValue(PerunSessionImpl sess, Member member, Resource resource, AttributeDefinition attributeDefinition) urn_perun_member_resource_attribute_def_virt_groupStatus.getAttributeValue(PerunSessionImpl sess, Member member, Resource resource, AttributeDefinition attributeDefinition) urn_perun_member_resource_attribute_def_virt_isBanned.getAttributeValue(PerunSessionImpl sess, Member member, Resource resource, AttributeDefinition attributeDefinition) urn_perun_resource_attribute_def_virt_assignedGroups.getAttributeValue(PerunSessionImpl sess, Resource resource, AttributeDefinition attributeDefinition) urn_perun_resource_attribute_def_virt_unixGID.getAttributeValue(PerunSessionImpl sess, Resource resource, AttributeDefinition attributeDefinition) urn_perun_resource_attribute_def_virt_unixGroupName.getAttributeValue(PerunSessionImpl sess, Resource resource, AttributeDefinition attributeDefinition) urn_perun_resource_attribute_def_virt_voShortName.getAttributeValue(PerunSessionImpl sess, Resource resource, AttributeDefinition attributeDefinition) booleanurn_perun_group_resource_attribute_def_virt_googleGroupName.removeAttributeValue(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attribute) booleanurn_perun_group_resource_attribute_def_virt_unixGID.removeAttributeValue(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attribute) booleanurn_perun_group_resource_attribute_def_virt_unixGroupName.removeAttributeValue(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attribute) booleanurn_perun_resource_attribute_def_virt_unixGID.removeAttributeValue(PerunSessionImpl sess, Resource resource, AttributeDefinition attribute) booleanurn_perun_resource_attribute_def_virt_unixGroupName.removeAttributeValue(PerunSessionImpl sess, Resource resource, AttributeDefinition attribute) booleanurn_perun_resource_attribute_def_virt_voShortName.removeAttributeValue(PerunSessionImpl sess, Resource resource, AttributeDefinition attribute) booleanurn_perun_group_resource_attribute_def_virt_googleGroupName.setAttributeValue(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) booleanurn_perun_group_resource_attribute_def_virt_unixGID.setAttributeValue(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) booleanurn_perun_group_resource_attribute_def_virt_unixGroupName.setAttributeValue(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) booleanurn_perun_resource_attribute_def_virt_unixGID.setAttributeValue(PerunSessionImpl sess, Resource resource, Attribute attribute) booleanurn_perun_resource_attribute_def_virt_unixGroupName.setAttributeValue(PerunSessionImpl sess, Resource resource, Attribute attribute) booleanurn_perun_resource_attribute_def_virt_voShortName.setAttributeValue(PerunSessionImpl sess, Resource resource, Attribute attribute) -
Uses of Resource in cz.metacentrum.perun.core.implApi
Methods in cz.metacentrum.perun.core.implApi that return ResourceModifier and TypeMethodDescriptionResourcesManagerImplApi.createResource(PerunSession perunSession, Vo vo, Resource resource, Facility facility) Creates the resource.ResourcesManagerImplApi.getResourceById(PerunSession perunSession, int id) Searches for the Resource with specified id.ResourcesManagerImplApi.getResourceByName(PerunSession sess, Vo vo, Facility facility, String name) Return resource by its name.ResourcesManagerImplApi.updateResource(PerunSession perunSession, Resource resource) Updates Resource.Methods in cz.metacentrum.perun.core.implApi that return types with arguments of type ResourceModifier and TypeMethodDescriptionResourcesManagerImplApi.getAllowedResources(PerunSession sess, Facility facility, User user) Return all resources through which user is allowed on facility.UsersManagerImplApi.getAllowedResources(PerunSession sess, User user) Return all resources, where user is allowed by all his members.ResourcesManagerImplApi.getAllResources(PerunSession sess) Get all resources from database.ResourcesManagerImplApi.getAllResourcesByResourceTag(PerunSession perunSession, ResourceTag resourceTag) Get all resources in specific Vo (specific by resourceTag.getVoId) for existing resourceTagFacilitiesManagerImplApi.getAssignedResources(PerunSession perunSession, Facility facility) Returns all resources assigned to the facility.FacilitiesManagerImplApi.getAssignedResources(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService) Returns all resources assigned to the facility with optionally VO and Service specified.ResourcesManagerImplApi.getAssignedResources(PerunSession perunSession, Group group) List all resources to which the group is assigned.ResourcesManagerImplApi.getAssignedResources(PerunSession sess, Member member) Returns all resources where the member is assigned through the groups.ResourcesManagerImplApi.getAssignedResources(PerunSession sess, Member member, Service service) Returns all resources where member and service are assigned together.ResourcesManagerImplApi.getAssignedResources(PerunSession sess, User user, Vo vo) Returns all resources where the user is assigned through the specified vo and its groups.ServicesManagerImplApi.getAssignedResources(PerunSession sess, Service service) Get all resources which use this service.UsersManagerImplApi.getAssignedResources(PerunSession sess, Facility facility, User user) Return all resources of specified facility, where user is assigned through all his members.UsersManagerImplApi.getAssignedResources(PerunSession sess, User user) Return all resources, where user is assigned through all his members.ResourcesManagerImplApi.getAssociatedResources(PerunSession perunSession, Group group) List all resources associated with the group.ResourcesManagerImplApi.getAssociatedResources(PerunSession sess, Member member) Returns all resources with which the member is associated through the groups.UsersManagerImplApi.getAssociatedResources(PerunSession sess, Facility facility, User user) Return all resources of specified facility with which user is associated through all his members.UsersManagerImplApi.getAssociatedResources(PerunSession sess, User user) Get all resources with which user can be associated (similar to assigned resources, but does not require ACTIVE group-resource assignment).GroupsManagerImplApi.getGroupResourcePairsByAttribute(PerunSession sess, Attribute attribute) Returns all group-resource which have set the attribute with the value.ResourcesManagerImplApi.getResources(PerunSession sess) Get all resources.ResourcesManagerImplApi.getResources(PerunSession sess, User user, List<Status> memberStatuses, List<MemberGroupStatus> memberGroupStatuses, List<GroupResourceStatus> groupResourceStatuses) Return all resources where user is assigned.ResourcesManagerImplApi.getResources(PerunSession perunSession, Vo vo) Get all VO resources.SearcherImplApi.getResources(PerunSession sess, Map<Attribute, String> attributesWithSearchingValues, boolean allowPartialMatchForString) This method get Map of Attributes with searching values and try to find all resources, which have specific attributes in format.ResourcesManagerImplApi.getResourcesByAttribute(PerunSession sess, Attribute attribute) Returns all resources which have set the attribute with the value.ResourcesManagerImplApi.getResourcesByIds(PerunSession perunSession, List<Integer> ids) Gets resources by their ids.ResourcesManagerImplApi.getResourcesWhereGroupIsAdmin(PerunSession sess, Facility facility, Vo vo, Group authorizedGroup) Return all resources for the facility and the vo where the group is authorized as resource manager.ResourcesManagerImplApi.getResourcesWhereUserIsAdmin(PerunSession sess, Facility facility, Vo vo, User authorizedUser) Return all resources for the facility and the vo where user is authorized as resource manager.ResourcesManagerImplApi.getResourcesWhereUserIsAdmin(PerunSession sess, User user) Returns list of resources, where the user is an admin.ResourcesManagerImplApi.getResourcesWhereUserIsAdmin(PerunSession sess, Vo vo, User authorizedUser) Return all resources for the vo where user is authorized as resource manager.AuthzResolverImplApi.getResourcesWhereUserIsInRoles(User user, List<String> roles) Get all Resources where the given user has set one of the given roles or the given user is a member of an authorized group with such roles.Methods in cz.metacentrum.perun.core.implApi with parameters of type ResourceModifier and TypeMethodDescriptionvoidAuthzResolverImplApi.addAdmin(PerunSession sess, Resource resource, Group group) Add group of users role admin for the resourcevoidAuthzResolverImplApi.addAdmin(PerunSession sess, Resource resource, User user) Add user role admin for the resourcevoidAuthzResolverImplApi.addResourceRole(PerunSession sess, Group group, String role, Resource resource) Sets role to given group for given resource.voidAuthzResolverImplApi.addResourceRole(PerunSession sess, User user, String role, Resource resource) Sets role to given user for given resource.voidResourcesManagerImplApi.assignAutomaticGroupToResource(PerunSession perunSession, Group group, Resource resource, Group sourceGroup) Assign group to a resource (automatic subgroup assignment).voidResourcesManagerImplApi.assignGroupToResource(PerunSession perunSession, Group group, Resource resource, boolean autoAssignSubgroups) Assign group to a resource.voidResourcesManagerImplApi.assignGroupToResourceState(PerunSession perunSession, Group group, Resource resource, GroupResourceStatus status) Set initial status to group-resource assignment.voidResourcesManagerImplApi.assignResourceTagToResource(PerunSession perunSession, ResourceTag resourceTag, Resource resource) Assign existing ResourceTag on existing Resource.voidResourcesManagerImplApi.assignService(PerunSession perunSession, Resource resource, Service service) Assign service to resource.voidAttributesManagerImplApi.changedAttributeHook(PerunSession sess, Member member, Resource resource, Attribute attribute) If you need to do some further work with other modules, this method do thatvoidAttributesManagerImplApi.changedAttributeHook(PerunSession sess, Resource resource, Attribute attribute) If you need to do some further work with other modules, this method do thatvoidAttributesManagerImplApi.changedAttributeHook(PerunSession sess, Resource resource, Group group, Attribute attribute) If you need to do some further work with other modules, this method do thatvoidAttributesManagerImplApi.checkAttributeSemantics(PerunSession sess, Member member, Resource resource, Attribute attribute) Check if value of this member-resource attribute has valid semantics.voidAttributesManagerImplApi.checkAttributeSemantics(PerunSession sess, Resource resource, Attribute attribute) Check if value of this resource attribute has valid semantics.voidAttributesManagerImplApi.checkAttributeSemantics(PerunSession sess, Resource resource, Group group, Attribute attribute) Check if value of this group-resource attribute has valid semantics.voidAttributesManagerImplApi.checkAttributeSyntax(PerunSession sess, Member member, Resource resource, Attribute attribute) Check if value of this member-resource attribute has valid syntax.voidAttributesManagerImplApi.checkAttributeSyntax(PerunSession sess, Resource resource, Attribute attribute) Check if value of this resource attribute has valid syntax.voidAttributesManagerImplApi.checkAttributeSyntax(PerunSession sess, Resource resource, Group group, Attribute attribute) Check if value of this group-resource attribute has valid syntax.voidResourcesManagerImplApi.checkResourceExists(PerunSession perunSession, Resource resource) Check if resource exists in underlaying data source.ResourcesManagerImplApi.createResource(PerunSession perunSession, Vo vo, Resource resource, Facility facility) Creates the resource.voidResourcesManagerImplApi.deleteResource(PerunSession perunSession, Vo vo, Resource resource) Deletes resource by id.AttributesManagerImplApi.fillAttribute(PerunSession sess, Member member, Resource resource, Attribute attribute) This method try to fill value of the member-resource attribute.AttributesManagerImplApi.fillAttribute(PerunSession sess, Resource resource, Attribute attribute) This method try to fill a value of the resource attribute.AttributesManagerImplApi.fillAttribute(PerunSession sess, Resource resource, Group group, Attribute attribute) ResourcesManagerImplApi.getAdminGroups(PerunSession sess, Resource resource) Gets list of all group administrators of the Resource.ResourcesManagerImplApi.getAdmins(PerunSession sess, Resource resource) Gets list of all user administrators of the Resource.AttributesManagerImplApi.getAllAttributesStartWithNameWithoutNullValue(PerunSession sess, Resource resource, String startPartOfName) Get all non-empty attributes associated with the resource starts with name startPartOfName.ResourcesManagerImplApi.getAllowedMembers(PerunSession sess, Resource resource) Returns all members who are "allowed" on the resource disregarding their possible expired status in a group.ResourcesManagerImplApi.getAllowedMembersNotExpiredInGroup(PerunSession sess, Resource resource) Returns all members which are allowed on the resource and are not expired within their assigned groups.ResourcesManagerImplApi.getAllowedUsers(PerunSession sess, Resource resource) Returns all users who are allowed on the defined resource.ResourcesManagerImplApi.getAllowedUsersNotExpiredInGroup(PerunSession sess, Resource resource) Returns all users which are allowed on the resource and are not expired within their assigned groups.ResourcesManagerImplApi.getAllResourcesTagsForResource(PerunSession perunSession, Resource resource) Get all resourcesTags for existing ResourceGroupsManagerImplApi.getAssignedGroupsToResource(PerunSession perunSession, Resource resource) Return list of assigned groups on the resource.GroupsManagerImplApi.getAssignedGroupsToResource(PerunSession perunSession, Resource resource, Member member) Return list of assigned groups on the resource with specified member.ResourcesManagerImplApi.getAssignedMembers(PerunSession sess, Resource resource) Returns all members who are assigned on the defined resource.ResourcesManagerImplApi.getAssignedMembersWithStatus(PerunSession sess, Resource resource) Returns members of groups assigned to resource with status of group-resource assignment.ResourcesManagerImplApi.getAssignedServices(PerunSession perunSession, Resource resource) List all services' id associated with the resource.ResourcesManagerImplApi.getAssignedUsers(PerunSession perunSession, Resource resource) Returns all user assigned to the resource.GroupsManagerImplApi.getAssociatedGroupsToResource(PerunSession perunSession, Resource resource) Return list of assigned groups on the resource.GroupsManagerImplApi.getAssociatedGroupsToResource(PerunSession perunSession, Resource resource, Member member) Return list of groups associated with the resource with specified member.ResourcesManagerImplApi.getAssociatedMembers(PerunSession sess, Resource resource) Returns all members who are associated with the resource.ResourcesManagerImplApi.getAssociatedUsers(PerunSession sess, Resource resource) Returns all users who are associated with the defined resource.AttributesManagerImplApi.getAttribute(PerunSession sess, Member member, Resource resource, String attributeName) Get particular attribute for the member on this resource.AttributesManagerImplApi.getAttribute(PerunSession sess, Resource resource, Group group, String attributeName) AttributesManagerImplApi.getAttribute(PerunSession sess, Resource resource, String attributeName) Get particular attribute for the resource.AttributesManagerImplApi.getAttributeById(PerunSession sess, Member member, Resource resource, int id) Get particular attribute for the member on this resource.AttributesManagerImplApi.getAttributeById(PerunSession sess, Resource resource, int id) Get particular attribute for the resource.AttributesManagerImplApi.getAttributeById(PerunSession sess, Resource resource, Group group, int id) AttributesManagerImplApi.getAttributes(PerunSession sess, Member member, Resource resource) Get all non-empty attributes associated with the member on the resource.AttributesManagerImplApi.getAttributes(PerunSession sess, Member member, Resource resource, List<String> attrNames) Get all attributes (empty and virtual too) associated with the member on the resource which have name in list attrNames.AttributesManagerImplApi.getAttributes(PerunSession sess, Resource resource) Get all non-empty attributes associated with the resource.AttributesManagerImplApi.getAttributes(PerunSession sess, Resource resource, Group group) AttributesManagerImplApi.getAttributes(PerunSession sess, Resource resource, Group group, List<String> attrNames) Get all attributes (empty and virtual too) associated with the group on the resource which have name in list attrNames.AttributesManagerImplApi.getAttributes(PerunSession sess, Resource resource, List<String> attrNames) Get all attributes associated with the resource which have name in list attrNames (empty too).ResourcesManagerImplApi.getDirectAdmins(PerunSession perunSession, Resource resource) Gets list of direct user administrators of the Resource.intResourcesManagerImplApi.getFacilityId(PerunSession perunSession, Resource resource) Get facility id which belongs to the concrete resource.ResourcesManagerImplApi.getFailedGroupResourceAssignmentCause(PerunSession sess, Group group, Resource resource) Gets the current cause of failed group-resource assignment.ResourcesManagerImplApi.getGroupAssignments(PerunSession sess, Resource resource) Lists all of the assigned groups for the given resource without the groups' attributes.ResourcesManagerImplApi.getGroupResourceStatus(PerunSession sess, Group group, Resource resource) Gets status of given group-resource assignment.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Facility facility) Get facility attributes which are required by services.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Facility facility, User user) Get user-facility attributes which are required by services.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Group group) AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Host host) AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member) Get member attributes which are required by services.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Group group) Get member-group attributes which are required by services.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Member member, Resource resource) Get member-resource attributes which are required by services.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource) Get resource attributes which are required by services.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, Resource resource, Group group) AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Resource resource, Service service, List<Member> members) Get member attributes which are required by service for each member in list of members.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Resource resourceToGetServicesFrom, User user) Get user attributes which are required by services.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Resource resource, List<Integer> serviceIds) Get resource attributes which are required by services.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Service service, Member member, Resource resource) Get member-resource attributes which are required by the service.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Service service, Resource resource) Get resource attributes which are required by the service.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Service service, Resource resource, Group group) AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, Service service, Resource resource, List<Member> members) Get member-resource attributes which are required by service for each member in list of members.AttributesManagerImplApi.getRequiredAttributes(PerunSession sess, List<Service> services, Resource resource, Group group) Get group-resource attributes which are required by the services.AttributesManagerImplApi.getResourceRequiredAttributesDefinition(PerunSession sess, Resource resource) Get attributes definions required by all services assigned on the resource.MembersManagerImplApi.getUnifiedMemberGroupStatus(PerunSession sess, Member member, Resource resource) Returns unified result of MemberGroupStatus for specified member and resource.AttributesManagerImplApi.getVirtualAttributes(PerunSession sess, Member member, Resource resource) Get all virtual attributes associated with the member on the resource.AttributesManagerImplApi.getVirtualAttributes(PerunSession sess, Resource resource) Get all virtual attributes associated with the resource.booleanResourcesManagerImplApi.groupResourceAssignmentExists(PerunSession sess, Resource resource, Group group) Returns true if the group is assigned to the current resource with any status, false otherwise.booleanAttributesManagerImplApi.isAttributeRequiredByResource(PerunSession sess, Resource resource, AttributeDefinition attributeDefinition) Check if this attribute is currently required on this resource.booleanResourcesManagerImplApi.isGroupAssigned(PerunSession sess, Resource resource, Group group) Returns true if the group is assigned to the current resource with ACTIVE status, false otherwise.booleanResourcesManagerImplApi.isGroupManuallyAssigned(PerunSession sess, Group group, Resource resource) Returns true if the group is assigned to the given resource manually, false otherwise.booleanResourcesManagerImplApi.isUserAllowed(PerunSession sess, User user, Resource resource) Check if the user is allowed as a member on the selected resource.booleanResourcesManagerImplApi.isUserAssigned(PerunSession sess, User user, Resource resource) Check if the user is assigned as a member on the selected resource.voidAuthzResolverImplApi.removeAdmin(PerunSession sess, Resource resource, Group group) Remove group of users role admin for the resourcevoidAuthzResolverImplApi.removeAdmin(PerunSession sess, Resource resource, User user) Remove user role admin for the resourcebooleanAttributesManagerImplApi.removeAllAttributes(PerunSession sess, Member member, Resource resource) Unset all (member-resource) attributes for the member on the resource.booleanAttributesManagerImplApi.removeAllAttributes(PerunSession sess, Resource resource) Unset all attributes for the resource.booleanAttributesManagerImplApi.removeAllAttributes(PerunSession sess, Resource resource, Group group) Unset all group_resource attributesvoidAuthzResolverImplApi.removeAllAuthzForResource(PerunSession sess, Resource resource) Removes all authz entries for the resourcevoidAttributesManagerImplApi.removeAllGroupResourceAttributes(PerunSession sess, Resource resource) Remove all non-virtual group-resource attribute on selected resourcevoidAttributesManagerImplApi.removeAllMemberResourceAttributes(PerunSession sess, Resource resource) Remove all non-virtual member-resource attributes assigned to resourcevoidResourcesManagerImplApi.removeAllResourcesTagFromResource(PerunSession perunSession, Resource resource) Remove all existing Resource tags for specific resource.booleanAttributesManagerImplApi.removeAttribute(PerunSession sess, Member member, Resource resource, AttributeDefinition attribute) Unset particular member-resorce attribute for the member on the resource.booleanAttributesManagerImplApi.removeAttribute(PerunSession sess, Resource resource, AttributeDefinition attribute) Unset particular attribute for the resource.booleanAttributesManagerImplApi.removeAttribute(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) Unset particular group_resource attributevoidResourcesManagerImplApi.removeAutomaticGroupFromResource(PerunSession perunSession, Group group, Resource resource, int sourceGroupId) Remove automatically assigned group from resource.voidResourcesManagerImplApi.removeGroupFromResource(PerunSession perunSession, Group group, Resource resource) Remove group from a resource.voidAuthzResolverImplApi.removeResourceRole(PerunSession sess, String role, Resource resource, Group group) Remove role to group for resource.voidAuthzResolverImplApi.removeResourceRole(PerunSession sess, String role, Resource resource, User user) Remove role to user for resource.voidResourcesManagerImplApi.removeResourceTagFromResource(PerunSession perunSession, ResourceTag resourceTag, Resource resource) Remove specific ResourceTag from existing Resource.voidResourcesManagerImplApi.removeService(PerunSession perunSession, Resource resource, Service service) Remove service from resource.booleanAttributesManagerImplApi.removeVirtualAttribute(PerunSession sess, Resource resource, AttributeDefinition attribute) Unset particular resource virtual attribute value.booleanAttributesManagerImplApi.removeVirtualAttribute(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) Unset particular group-resource virtual attribute value.booleanResourcesManagerImplApi.resourceExists(PerunSession perunSession, Resource resource) Check if resource exists in underlaying data source.voidResourcesManagerImplApi.setFailedGroupResourceAssignmentCause(PerunSession sess, Group group, Resource resource, String cause) Sets the cause of failed group-resource assignmentvoidResourcesManagerImplApi.setGroupResourceStatus(PerunSession sess, Group group, Resource resource, GroupResourceStatus status) Sets status of given group-resource assignment to the specified status.booleanAttributesManagerImplApi.setVirtualAttribute(PerunSession sess, Resource resource, Attribute attribute) Store the particular virtual attribute associated with the resource.booleanAttributesManagerImplApi.setVirtualAttribute(PerunSession sess, Resource resource, Group group, Attribute attribute) Store the particular virtual attribute associated with the resource and group combination.ResourcesManagerImplApi.updateResource(PerunSession perunSession, Resource resource) Updates Resource. -
Uses of Resource in cz.metacentrum.perun.core.implApi.modules.attributes
Methods in cz.metacentrum.perun.core.implApi.modules.attributes with parameters of type ResourceModifier and TypeMethodDescriptionvoidGroupResourceAttributesModuleAbstract.changedAttributeHook(PerunSessionImpl session, Group group, Resource resource, Attribute attribute) voidGroupResourceAttributesModuleImplApi.changedAttributeHook(PerunSessionImpl session, Group group, Resource resource, Attribute attribute) If you need to do some further work with other modules, this method do thatvoidMemberResourceAttributesModuleAbstract.changedAttributeHook(PerunSessionImpl session, Member member, Resource resource, Attribute attribute) voidMemberResourceAttributesModuleImplApi.changedAttributeHook(PerunSessionImpl session, Member member, Resource resource, Attribute attribute) If you need to do some further work with other modules, this method do thatvoidResourceAttributesModuleAbstract.changedAttributeHook(PerunSessionImpl session, Resource resource, Attribute attribute) voidResourceAttributesModuleImplApi.changedAttributeHook(PerunSessionImpl session, Resource resource, Attribute attribute) If you need to do some further work with other modules, this method do thatvoidGroupResourceAttributesModuleAbstract.checkAttributeSemantics(PerunSessionImpl perunSession, Group group, Resource resource, Attribute attribute) voidGroupResourceAttributesModuleImplApi.checkAttributeSemantics(PerunSessionImpl perunSession, Group group, Resource resource, Attribute attribute) Checks if value of this group-resource attribute has valid semantics.voidMemberResourceAttributesModuleAbstract.checkAttributeSemantics(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) voidMemberResourceAttributesModuleImplApi.checkAttributeSemantics(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) This method checks semantics of Member's attribute value at a specified resource.voidResourceAttributesModuleAbstract.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidResourceAttributesModuleImplApi.checkAttributeSemantics(PerunSessionImpl perunSession, Resource resource, Attribute attribute) Checks if value of this resource attribute has valid semantics.voidGroupResourceAttributesModuleAbstract.checkAttributeSyntax(PerunSessionImpl perunSession, Group group, Resource resource, Attribute attribute) voidGroupResourceAttributesModuleImplApi.checkAttributeSyntax(PerunSessionImpl perunSession, Group group, Resource resource, Attribute attribute) Checks if value of this group-resource attribute has valid syntax.voidMemberResourceAttributesModuleAbstract.checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) voidMemberResourceAttributesModuleImplApi.checkAttributeSyntax(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) This method checks syntax of Member's attribute value at a specified resource.voidResourceAttributesModuleAbstract.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) voidResourceAttributesModuleImplApi.checkAttributeSyntax(PerunSessionImpl perunSession, Resource resource, Attribute attribute) Checks if value of this resource attribute has valid syntax.GroupResourceAttributesModuleAbstract.fillAttribute(PerunSessionImpl session, Group group, Resource resource, AttributeDefinition attribute) GroupResourceAttributesModuleImplApi.fillAttribute(PerunSessionImpl perunSession, Group group, Resource resource, AttributeDefinition attribute) This method MAY fill an attribute at the specified resource.MemberResourceAttributesModuleAbstract.fillAttribute(PerunSessionImpl session, Member member, Resource resource, AttributeDefinition attribute) MemberResourceAttributesModuleImplApi.fillAttribute(PerunSessionImpl perunSession, Member member, Resource resource, AttributeDefinition attribute) This method MAY fill Member's attributes at a specified resource.ResourceAttributesModuleAbstract.fillAttribute(PerunSessionImpl session, Resource resource, AttributeDefinition attribute) ResourceAttributesModuleImplApi.fillAttribute(PerunSessionImpl perunSession, Resource resource, AttributeDefinition attribute) This method tries to fill a value of the resource attribute.GroupResourceVirtualAttributesModuleAbstract.getAttributeValue(PerunSessionImpl perunSession, Group group, Resource resource, AttributeDefinition attribute) GroupResourceVirtualAttributesModuleImplApi.getAttributeValue(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attribute) This method will return computed value.MemberResourceVirtualAttributesModuleAbstract.getAttributeValue(PerunSessionImpl perunSession, Member member, Resource resource, AttributeDefinition attribute) MemberResourceVirtualAttributesModuleImplApi.getAttributeValue(PerunSessionImpl sess, Member member, Resource resource, AttributeDefinition attribute) This method will return computed value.ResourceVirtualAttributesModuleAbstract.getAttributeValue(PerunSessionImpl perunSession, Resource resource, AttributeDefinition attribute) ResourceVirtualAttributesModuleImplApi.getAttributeValue(PerunSessionImpl sess, Resource resource, AttributeDefinition attribute) This method will return computed value.booleanGroupResourceVirtualAttributesModuleAbstract.removeAttributeValue(PerunSessionImpl perunSession, Group group, Resource resource, AttributeDefinition attribute) booleanGroupResourceVirtualAttributesModuleImplApi.removeAttributeValue(PerunSessionImpl sess, Group group, Resource resource, AttributeDefinition attribute) Currently do nothing.booleanMemberResourceVirtualAttributesModuleAbstract.removeAttributeValue(PerunSessionImpl perunSession, Member member, Resource resource, AttributeDefinition attribute) booleanMemberResourceVirtualAttributesModuleImplApi.removeAttributeValue(PerunSessionImpl sess, Member member, Resource resource, AttributeDefinition attribute) Currently do nothing.booleanResourceVirtualAttributesModuleAbstract.removeAttributeValue(PerunSessionImpl perunSession, Resource resource, AttributeDefinition attribute) booleanResourceVirtualAttributesModuleImplApi.removeAttributeValue(PerunSessionImpl sess, Resource resource, AttributeDefinition attribute) Currently do nothing.booleanGroupResourceVirtualAttributesModuleAbstract.setAttributeValue(PerunSessionImpl perunSession, Group group, Resource resource, Attribute attribute) booleanGroupResourceVirtualAttributesModuleImplApi.setAttributeValue(PerunSessionImpl sess, Group group, Resource resource, Attribute attribute) Method sets attributes' values which are dependent on this virtual attribute.booleanMemberResourceVirtualAttributesModuleAbstract.setAttributeValue(PerunSessionImpl perunSession, Member member, Resource resource, Attribute attribute) booleanMemberResourceVirtualAttributesModuleImplApi.setAttributeValue(PerunSessionImpl sess, Member member, Resource resource, Attribute attribute) Method sets attributes' values which are dependent on this virtual attribute.booleanResourceVirtualAttributesModuleAbstract.setAttributeValue(PerunSessionImpl perunSession, Resource resource, Attribute attribute) booleanResourceVirtualAttributesModuleImplApi.setAttributeValue(PerunSessionImpl sess, Resource resource, Attribute attribute) Method sets attributes' values which are dependent on this virtual attribute. -
Uses of Resource in cz.metacentrum.perun.core.provisioning
Methods in cz.metacentrum.perun.core.provisioning with parameters of type ResourceModifier and TypeMethodDescriptionGenDataProvider.getGroupAttributesHashes(Resource resource, Group group) Returns all hashes relevant for given group.GenDataProviderImpl.getGroupAttributesHashes(Resource resource, Group group) GenDataProvider.getMemberAttributesHashes(Resource resource, Member member) Return all hashes relevant for given member.GenDataProvider.getMemberAttributesHashes(Resource resource, Member member, Group group) Return all hashes relevant for given member.GenDataProviderImpl.getMemberAttributesHashes(Resource resource, Member member) GenDataProviderImpl.getMemberAttributesHashes(Resource resource, Member member, Group group) GenDataProvider.getResourceAttributesHashes(Resource resource, boolean addVoAttributes) Return all hashes for given resource attributes.GenDataProviderImpl.getResourceAttributesHashes(Resource resource, boolean addVoAttributes) Hasher.hashGroupResource(Group group, Resource resource) Returns hash for group and resource.IdHasher.hashGroupResource(Group group, Resource resource) Hasher.hashMemberResource(Member member, Resource resource) Returns hash for member and resource.IdHasher.hashMemberResource(Member member, Resource resource) Hasher.hashResource(Resource resource) Returns hash for resource.IdHasher.hashResource(Resource resource) voidGenDataProvider.loadGroupsAttributes(Resource resource, List<Group> groups) Loads Group and Group-Resource attributes.voidGenDataProviderImpl.loadGroupsAttributes(Resource resource, List<Group> groups) voidGenDataProvider.loadResourceAttributes(Resource resource, List<Member> members, boolean loadVoAttributes) Loads Resource and Member specific attributes.voidGenDataProviderImpl.loadResourceAttributes(Resource resource, List<Member> members, boolean loadVoAttributes)