Uses of Class
cz.metacentrum.perun.core.api.exceptions.ResourceNotExistsException
Packages that use ResourceNotExistsException
Package
Description
-
Uses of ResourceNotExistsException in cz.metacentrum.perun.core.api
Methods in cz.metacentrum.perun.core.api that throw ResourceNotExistsExceptionModifier and TypeMethodDescriptionvoid
ResourcesManager.activateGroupResourceAssignment
(PerunSession session, Group group, Resource resource, boolean async) Try to activate the group-resource status.void
ResourcesManager.addAdmin
(PerunSession sess, Resource resource, Group group) Add role resource admin to group for the selected resource.void
ResourcesManager.addAdmin
(PerunSession sess, Resource resource, User user) Add role resource admin to user for the selected resource.void
ResourcesManager.addResourceSelfServiceGroup
(PerunSession sess, Resource resource, Group group) Sets ResourceSelfService role to given group for given resource.void
ResourcesManager.addResourceSelfServiceUser
(PerunSession sess, Resource resource, User user) Sets ResourceSelfService role to given user for given resource.void
ResourcesManager.assignGroupsToResource
(PerunSession perunSession, List<Group> groups, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) Assign groups to a resource.void
ResourcesManager.assignGroupToResource
(PerunSession perunSession, Group group, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) Assign group to a resource.void
ResourcesManager.assignGroupToResources
(PerunSession perunSession, Group group, List<Resource> resources, boolean async, boolean assignInactive, boolean autoAssignSubgroups) Assign group to the resources.void
ResourcesManager.assignResourceTagsToResource
(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) Assign existing ResourceTags on existing Resource.void
ResourcesManager.assignResourceTagToResource
(PerunSession perunSession, ResourceTag resourceTag, Resource resource) Assign existing ResourceTag on existing Resource.void
ResourcesManager.assignService
(PerunSession perunSession, Resource resource, Service service) Assign service to resource.void
ResourcesManager.assignServices
(PerunSession perunSession, Resource resource, List<Service> services) Assign services to resource.void
ResourcesManager.assignServicesPackage
(PerunSession perunSession, Resource resource, ServicesPackage servicesPackage) Assign all services from services package to resouce.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Member member, Resource resource, Attribute attribute) Check if value of this member-resource attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Resource resource, Attribute attribute) Check if value of this resource attribute has valid semantics.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Resource resource, Group group, Attribute attribute) Checks if value of this group-resource attribute has valid semantics.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Check if value of attributes has valid semantics.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Resource resource, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Check if value of attributes has valid syntax.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Resource resource, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, Member member, Resource resource, Attribute attribute) Check if value of this member-resource attribute has valid syntax.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, Resource resource, Attribute attribute) Check if value of this resource attribute has valid syntax.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, Resource resource, Group group, Attribute attribute) Checks if value of this group-resource attribute has valid syntaxvoid
ResourcesManager.copyAttributes
(PerunSession sess, Resource sourceResource, Resource destinationResource) Copy all attributes of the source resource to the destination resource.void
ResourcesManager.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.void
ResourcesManager.copyServices
(PerunSession sess, Resource sourceResource, Resource destinationResource) Copy all services of the source resource to the destination resource.void
ResourcesManager.deactivateGroupResourceAssignment
(PerunSession session, Group group, Resource resource) Deactivates the group-resource assignment.void
ResourcesManager.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.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, 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).ResourcesManager.getBan
(PerunSession sess, int memberId, int resourceId) Get ban by memberId and resource idResourcesManager.getBanById
(PerunSession sess, int banId) Get Ban for member on resource by it's idResourcesManager.getBansForMember
(PerunSession sess, int memberId) Get all bans for member on any resource.ResourcesManager.getBansForResource
(PerunSession sess, int resourceId) Get all bans for members on the resource.MembersManager.getCompleteRichMembers
(PerunSession sess, Group group, Resource resource, List<String> attrsNames, List<String> allowedStatuses) Get all RichMembers with attributes specific for list of attrNames.ConsentsManager.getConsentHubByResource
(PerunSession sess, int resourceId) Finds existing Consent Hub for facility to which resource belongs.ConsentsManager.getConsentsForConsentHubByResource
(PerunSession sess, int resourceId) Get consents for members assigned to the chosen resource.ResourcesManager.getEnrichedBansForResource
(PerunSession sess, int resourceId, List<String> attrNames) Get all enriched bans for members on the resource.ResourcesManager.getEnrichedResourceById
(PerunSession sess, int id, List<String> attrNames) Find resource for given id and returns it with given attributes.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.AttributesManager.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.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.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.ResourcesManager.getRichResourceById
(PerunSession perunSession, int id) Search for the RichResource with specific id.UsersManager.getUsersPage
(PerunSession sess, UsersPageQuery query, List<String> attrNames) Get page of users with the given attributes.ResourcesManager.getVo
(PerunSession perunSession, Resource resource) Get Vo which is tied to specified resource.void
ResourcesManager.removeAdmin
(PerunSession sess, Resource resource, Group group) Remove role resource admin from group for the selected resource.void
ResourcesManager.removeAdmin
(PerunSession sess, Resource resource, User user) Remove role resource admin from user for the selected resource.void
AttributesManager.removeAllAttributes
(PerunSession sess, Member member, Resource resource) Unset all attributes for the member on the resource.void
AttributesManager.removeAllAttributes
(PerunSession sess, Resource resource) Unset all attributes for the resource.void
AttributesManager.removeAllAttributes
(PerunSession sess, Resource resource, Group group) Remove all attributes for group on resourcevoid
AttributesManager.removeAllAttributes
(PerunSession sess, Resource resource, Group group, boolean workWithGroupAttributes) Unset all attributes for the group and resource.void
ResourcesManager.removeAllResourcesTagFromResource
(PerunSession perunSession, Resource resource) Remove all Resource tags for specific resource.void
AttributesManager.removeAttribute
(PerunSession sess, Member member, Resource resource, AttributeDefinition attribute) Unset particular attribute for the member on the resource.void
AttributesManager.removeAttribute
(PerunSession sess, Resource resource, AttributeDefinition attribute) Unset particular attribute for the resource.void
AttributesManager.removeAttribute
(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) Unset particular group attribute on the resourcevoid
AttributesManager.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.void
AttributesManager.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.void
AttributesManager.removeAttributes
(PerunSession sess, Member member, Resource resource, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
AttributesManager.removeAttributes
(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes, boolean workWithGroupAttributes) Unset the group-resource attributes.void
AttributesManager.removeAttributes
(PerunSession sess, Resource resource, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
ResourcesManager.removeBan
(PerunSession sess, int banId) Remove specific ban by it's id.void
ResourcesManager.removeBan
(PerunSession sess, int memberId, int resourceId) Remove specific ban by memberId and resourceId.void
ResourcesManager.removeGroupFromResource
(PerunSession perunSession, Group group, Resource resource) Remove group from a resource.void
ResourcesManager.removeGroupFromResources
(PerunSession perunSession, Group groups, List<Resource> resources) Remove group from the resources.void
ResourcesManager.removeGroupsFromResource
(PerunSession perunSession, List<Group> groups, Resource resource) Remove groups from a resource.void
ResourcesManager.removeResourceSelfServiceGroup
(PerunSession sess, Resource resource, Group group) Unset ResourceSelfService role to given group for given resource.void
ResourcesManager.removeResourceSelfServiceUser
(PerunSession sess, Resource resource, User user) Unset ResourceSelfService role to given user for given resource.void
ResourcesManager.removeResourceTagFromResource
(PerunSession perunSession, ResourceTag resourceTag, Resource resource) Remove specific ResourceTag from existing Resource.void
ResourcesManager.removeResourceTagsFromResource
(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) Remove specific ResourceTags from existing Resource.void
ResourcesManager.removeService
(PerunSession perunSession, Resource resource, Service service) Remove service from resource.void
ResourcesManager.removeService
(PerunSession perunSession, List<Resource> resources, Service service) Remove service from multiple resources in the same facilityvoid
ResourcesManager.removeServices
(PerunSession perunSession, Resource resource, List<Service> services) Remove services from resource.void
ResourcesManager.removeServicesPackage
(PerunSession perunSession, Resource resource, ServicesPackage servicesPackage) Remove from resource all services from services package.void
AttributesManager.setAttribute
(PerunSession sess, Member member, Resource resource, Attribute attribute) Store the particular attribute associated with the resource and member combination.void
AttributesManager.setAttribute
(PerunSession sess, Resource resource, Attribute attribute) Store the particular attribute associated with the resource.void
AttributesManager.setAttribute
(PerunSession sess, Resource resource, Group group, Attribute attribute) Stores attribute associated with group resource combination.void
AttributesManager.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.void
AttributesManager.setAttributes
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) Store the member, user, member-resource and user-facility attributes.void
AttributesManager.setAttributes
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) Store the attributes associated with the resource and member combination.void
AttributesManager.setAttributes
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) Store the attributes associated with the resource and member combination.void
AttributesManager.setAttributes
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) Store the attributes associated with the group on resource.void
AttributesManager.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.void
AttributesManager.setAttributes
(PerunSession sess, Resource resource, List<Attribute> attributes) Store the attributes associated with the resource.ResourcesManager.setBan
(PerunSession sess, BanOnResource banOnResource) Set ban for member on resource.ResourcesManager.updateBan
(PerunSession sess, BanOnResource banOnResource) Update existing ban (description, validation timestamp)ResourcesManager.updateResource
(PerunSession perunSession, Resource resource) Updates Resource. -
Uses of ResourceNotExistsException in cz.metacentrum.perun.core.bl
Methods in cz.metacentrum.perun.core.bl that throw ResourceNotExistsExceptionModifier and TypeMethodDescriptionvoid
ResourcesManagerBl.checkResourceExists
(PerunSession sess, Resource resource) ResourcesManagerBl.getEnrichedResourceById
(PerunSession sess, int id, List<String> attrNames) Find resource for given id and returns it with given attributes.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.getRichResourceById
(PerunSession perunSession, int id) Searches for the RichResource with specified id. -
Uses of ResourceNotExistsException in cz.metacentrum.perun.core.blImpl
Methods in cz.metacentrum.perun.core.blImpl that throw ResourceNotExistsExceptionModifier and TypeMethodDescriptionvoid
ResourcesManagerBlImpl.checkResourceExists
(PerunSession sess, Resource resource) ResourcesManagerBlImpl.getEnrichedResourceById
(PerunSession sess, int id, List<String> attrNames) ResourcesManagerBlImpl.getResourceById
(PerunSession sess, int id) ResourcesManagerBlImpl.getResourceByName
(PerunSession sess, Vo vo, Facility facility, String name) ResourcesManagerBlImpl.getRichResourceById
(PerunSession sess, int id) -
Uses of ResourceNotExistsException in cz.metacentrum.perun.core.entry
Methods in cz.metacentrum.perun.core.entry that throw ResourceNotExistsExceptionModifier and TypeMethodDescriptionvoid
ResourcesManagerEntry.activateGroupResourceAssignment
(PerunSession sess, Group group, Resource resource, boolean async) void
ResourcesManagerEntry.addAdmin
(PerunSession sess, Resource resource, Group group) void
ResourcesManagerEntry.addAdmin
(PerunSession sess, Resource resource, User user) void
ResourcesManagerEntry.addResourceSelfServiceGroup
(PerunSession sess, Resource resource, Group group) void
ResourcesManagerEntry.addResourceSelfServiceUser
(PerunSession sess, Resource resource, User user) void
ResourcesManagerEntry.assignGroupsToResource
(PerunSession perunSession, List<Group> groups, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) void
ResourcesManagerEntry.assignGroupToResource
(PerunSession sess, Group group, Resource resource, boolean async, boolean assignInactive, boolean autoAssignSubgroups) void
ResourcesManagerEntry.assignGroupToResources
(PerunSession perunSession, Group group, List<Resource> resources, boolean async, boolean assignInactive, boolean autoAssignSubgroups) void
ResourcesManagerEntry.assignResourceTagsToResource
(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) void
ResourcesManagerEntry.assignResourceTagToResource
(PerunSession perunSession, ResourceTag resourceTag, Resource resource) void
ResourcesManagerEntry.assignService
(PerunSession sess, Resource resource, Service service) void
ResourcesManagerEntry.assignServices
(PerunSession sess, Resource resource, List<Service> services) void
ResourcesManagerEntry.assignServicesPackage
(PerunSession sess, Resource resource, ServicesPackage servicesPackage) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Member member, Resource resource, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Resource resource, Attribute attribute) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Resource resource, Group group, Attribute attribute) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttribute) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Resource resource, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttribute) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Resource resource, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Member member, Resource resource, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Resource resource, Attribute attribute) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Resource resource, Group group, Attribute attribute) void
ResourcesManagerEntry.copyAttributes
(PerunSession sess, Resource sourceResource, Resource destinationResource) void
ResourcesManagerEntry.copyGroups
(PerunSession sess, Resource sourceResource, Resource destinationResource) ResourcesManagerEntry.copyResource
(PerunSession sess, Resource templateResource, Resource destinationResource, boolean withGroups) void
ResourcesManagerEntry.copyServices
(PerunSession sess, Resource sourceResource, Resource destinationResource) void
ResourcesManagerEntry.deactivateGroupResourceAssignment
(PerunSession sess, Group group, Resource resource) void
ResourcesManagerEntry.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.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, 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) ResourcesManagerEntry.getBan
(PerunSession sess, int memberId, int resourceId) ResourcesManagerEntry.getBanById
(PerunSession sess, int banId) ResourcesManagerEntry.getBansForMember
(PerunSession sess, int memberId) ResourcesManagerEntry.getBansForResource
(PerunSession sess, int resourceId) MembersManagerEntry.getCompleteRichMembers
(PerunSession sess, Group group, Resource resource, List<String> attrsNames, List<String> allowedStatuses) ConsentsManagerEntry.getConsentHubByResource
(PerunSession sess, int resourceId) ConsentsManagerEntry.getConsentsForConsentHubByResource
(PerunSession sess, int resourceId) ResourcesManagerEntry.getEnrichedBansForResource
(PerunSession sess, int resourceId, List<String> attrNames) ResourcesManagerEntry.getEnrichedResourceById
(PerunSession sess, int id, List<String> attrNames) ResourcesManagerEntry.getFacility
(PerunSession sess, Resource resource) ResourcesManagerEntry.getGroupAssignments
(PerunSession sess, Resource resource, List<String> attrNames) 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) ResourcesManagerEntry.getResourceById
(PerunSession sess, int id) ResourcesManagerEntry.getResourceByName
(PerunSession sess, Vo vo, Facility facility, String name) 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) ResourcesManagerEntry.getRichResourceById
(PerunSession sess, int id) UsersManagerEntry.getUsersPage
(PerunSession sess, UsersPageQuery query, List<String> attrNames) ResourcesManagerEntry.getVo
(PerunSession sess, Resource resource) void
ResourcesManagerEntry.removeAdmin
(PerunSession sess, Resource resource, Group group) void
ResourcesManagerEntry.removeAdmin
(PerunSession sess, Resource resource, User user) void
AttributesManagerEntry.removeAllAttributes
(PerunSession sess, Member member, Resource resource) void
AttributesManagerEntry.removeAllAttributes
(PerunSession sess, Resource resource) void
AttributesManagerEntry.removeAllAttributes
(PerunSession sess, Resource resource, Group group) void
AttributesManagerEntry.removeAllAttributes
(PerunSession sess, Resource resource, Group group, boolean workWithGroupAttributes) void
ResourcesManagerEntry.removeAllResourcesTagFromResource
(PerunSession perunSession, Resource resource) void
AttributesManagerEntry.removeAttribute
(PerunSession sess, Member member, Resource resource, AttributeDefinition attribute) void
AttributesManagerEntry.removeAttribute
(PerunSession sess, Resource resource, AttributeDefinition attribute) void
AttributesManagerEntry.removeAttribute
(PerunSession sess, Resource resource, Group group, AttributeDefinition attribute) void
AttributesManagerEntry.removeAttributes
(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<? extends AttributeDefinition> attributes) void
AttributesManagerEntry.removeAttributes
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<? extends AttributeDefinition> attributes) void
AttributesManagerEntry.removeAttributes
(PerunSession sess, Member member, Resource resource, List<? extends AttributeDefinition> attributes) void
AttributesManagerEntry.removeAttributes
(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes) void
AttributesManagerEntry.removeAttributes
(PerunSession sess, Resource resource, Group group, List<? extends AttributeDefinition> attributes, boolean workWithGroupAttributes) void
AttributesManagerEntry.removeAttributes
(PerunSession sess, Resource resource, List<? extends AttributeDefinition> attributes) void
ResourcesManagerEntry.removeBan
(PerunSession sess, int banId) void
ResourcesManagerEntry.removeBan
(PerunSession sess, int memberId, int resourceId) void
ResourcesManagerEntry.removeGroupFromResource
(PerunSession sess, Group group, Resource resource) void
ResourcesManagerEntry.removeGroupFromResources
(PerunSession perunSession, Group group, List<Resource> resources) void
ResourcesManagerEntry.removeGroupsFromResource
(PerunSession perunSession, List<Group> groups, Resource resource) void
ResourcesManagerEntry.removeResourceSelfServiceGroup
(PerunSession sess, Resource resource, Group group) void
ResourcesManagerEntry.removeResourceSelfServiceUser
(PerunSession sess, Resource resource, User user) void
ResourcesManagerEntry.removeResourceTagFromResource
(PerunSession perunSession, ResourceTag resourceTag, Resource resource) void
ResourcesManagerEntry.removeResourceTagsFromResource
(PerunSession perunSession, List<ResourceTag> resourceTags, Resource resource) void
ResourcesManagerEntry.removeService
(PerunSession sess, Resource resource, Service service) void
ResourcesManagerEntry.removeService
(PerunSession perunSession, List<Resource> resources, Service service) void
ResourcesManagerEntry.removeServices
(PerunSession sess, Resource resource, List<Service> services) void
ResourcesManagerEntry.removeServicesPackage
(PerunSession sess, Resource resource, ServicesPackage servicesPackage) void
AttributesManagerEntry.setAttribute
(PerunSession sess, Member member, Resource resource, Attribute attribute) void
AttributesManagerEntry.setAttribute
(PerunSession sess, Resource resource, Attribute attribute) void
AttributesManagerEntry.setAttribute
(PerunSession sess, Resource resource, Group group, Attribute attribute) void
AttributesManagerEntry.setAttributes
(PerunSession sess, Facility facility, Resource resource, Group group, User user, Member member, List<Attribute> attributes) void
AttributesManagerEntry.setAttributes
(PerunSession sess, Facility facility, Resource resource, User user, Member member, List<Attribute> attributes) void
AttributesManagerEntry.setAttributes
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes) void
AttributesManagerEntry.setAttributes
(PerunSession sess, Member member, Resource resource, List<Attribute> attributes, boolean workWithUserAttributes) void
AttributesManagerEntry.setAttributes
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes) void
AttributesManagerEntry.setAttributes
(PerunSession sess, Resource resource, Group group, List<Attribute> attributes, boolean workWithGroupAttributes) void
AttributesManagerEntry.setAttributes
(PerunSession sess, Resource resource, List<Attribute> attributes) ResourcesManagerEntry.setBan
(PerunSession sess, BanOnResource banOnResource) ResourcesManagerEntry.updateBan
(PerunSession sess, BanOnResource banOnResource) ResourcesManagerEntry.updateResource
(PerunSession sess, Resource resource) -
Uses of ResourceNotExistsException in cz.metacentrum.perun.core.impl
Methods in cz.metacentrum.perun.core.impl that throw ResourceNotExistsExceptionModifier and TypeMethodDescriptionvoid
ResourcesManagerImpl.checkResourceExists
(PerunSession sess, Resource resource) ResourcesManagerImpl.getResourceById
(PerunSession sess, int id) ResourcesManagerImpl.getResourceByName
(PerunSession sess, Vo vo, Facility facility, String name) ResourcesManagerImpl.getRichResourceById
(PerunSession sess, int id) -
Uses of ResourceNotExistsException in cz.metacentrum.perun.core.implApi
Methods in cz.metacentrum.perun.core.implApi that throw ResourceNotExistsExceptionModifier and TypeMethodDescriptionvoid
ResourcesManagerImplApi.checkResourceExists
(PerunSession perunSession, Resource resource) Check if resource exists in underlaying data source.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.getRichResourceById
(PerunSession perunSession, int id) Searches for the Rich Resource with specified id.