Uses of Class
cz.metacentrum.perun.core.api.Service
Package
Description
Exceptions.
-
Uses of Service in cz.metacentrum.perun.audit.events.GeneralServiceManagerEvents
Modifier and TypeMethodDescriptionBanServiceOnDestination.getService()
BanServiceOnFacility.getService()
ForcePropagationOnFacilityAndService.getService()
ForcePropagationOnService.getService()
FreeDenialServiceOnDestination.getService()
FreeDenialServiceOnFacility.getService()
PropagationPlannedOnFacilityAndService.getService()
PropagationPlannedOnService.getService()
ModifierConstructorDescriptionBanServiceOnDestination
(Service service, int destinationId) BanServiceOnFacility
(Service service, Facility facility) ForcePropagationOnFacilityAndService
(Facility facility, Service service) ForcePropagationOnService
(Service service) FreeDenialServiceOnDestination
(Service service, int destinationId) FreeDenialServiceOnFacility
(Service service, Facility facility) PropagationPlannedOnFacilityAndService
(Facility facility, Service service) PropagationPlannedOnService
(Service service) -
Uses of Service in cz.metacentrum.perun.audit.events.ResourceManagerEvents
Modifier and TypeMethodDescriptionServiceAssignedToResource.getService()
ServiceRemovedFromResource.getService()
ModifierConstructorDescriptionServiceAssignedToResource
(Service service, Resource resource) ServiceRemovedFromResource
(Service service, Resource resource) -
Uses of Service in cz.metacentrum.perun.audit.events.ServicesManagerEvents
Modifier and TypeMethodDescriptionAllRequiredAttributesRemovedFromService.getService()
AttributeAddedAsRequiredToService.getService()
AttributesAddedAsRequiredToService.getService()
DestinationAddedToServiceAndFacility.getService()
DestinationRemovedFromService.getService()
DestinationsRemovedFromService.getService()
RequiredAttributeRemovedFromService.getService()
RequiredAttributesRemovedFromService.getService()
ServiceAddedToServicePackage.getService()
ServiceCreated.getService()
ServiceDeleted.getService()
ServiceRemovedFromServicesPackage.getService()
ServiceUpdated.getService()
ModifierConstructorDescriptionAttributeAddedAsRequiredToService
(AttributeDefinition attribute, Service service) AttributesAddedAsRequiredToService
(List<? extends AttributeDefinition> attributes, Service service) DestinationAddedToServiceAndFacility
(Destination destination, Service service, Facility facility) DestinationRemovedFromService
(Destination destination, Service service, Facility facility) DestinationsRemovedFromService
(Service service, Facility facility) RequiredAttributeRemovedFromService
(AttributeDefinition attribute, Service service) RequiredAttributesRemovedFromService
(List<? extends AttributeDefinition> attributes, Service service) ServiceAddedToServicePackage
(Service service, ServicesPackage servicesPackage) ServiceCreated
(Service service) ServiceDeleted
(Service service) ServiceRemovedFromServicesPackage
(Service service, ServicesPackage servicesPackage) ServiceUpdated
(Service service) -
Uses of Service in cz.metacentrum.perun.controller.model
Modifier and TypeClassDescriptionclass
Extension of Service (from Perun-Core) to provide more info for GUIModifierConstructorDescriptionServiceForGUI
(Service service) ServiceState
(Service service, Facility facility) -
Uses of Service in cz.metacentrum.perun.core.api
Modifier and TypeMethodDescriptionServicesManager.createService
(PerunSession perunSession, Service service) Creates new service.RichDestination.getService()
ServicesManager.getServiceById
(PerunSession perunSession, int id) Get service by id.ServicesManager.getServiceByName
(PerunSession perunSession, String name) Get service by name.Modifier and TypeMethodDescriptionResourcesManager.getAssignedServices
(PerunSession perunSession, Resource resource) List all services associated with the resource.ServicesManager.getAssignedServices
(PerunSession perunSession, Facility facility) List all services associated with the facility (via resource).ServicesManager.getAssignedServices
(PerunSession perunSession, Facility facility, Vo vo) List all services associated with the facility and vo (via resource).ServicesManager.getServices
(PerunSession perunSession) get all services in perunServicesManager.getServicesBlockedOnDestination
(PerunSession perunSession, int destinationId) List all the Services that are banned on this destination.ServicesManager.getServicesBlockedOnFacility
(PerunSession perunSession, Facility facility) List all the Services that are banned on this facility.ServicesManager.getServicesByAttributeDefinition
(PerunSession sess, AttributeDefinition attributeDefinition) Get all services with given attribute.ServicesManager.getServicesFromServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage) List services stored in the packagesModifier and TypeMethodDescriptionServicesManager.addDestination
(PerunSession perunSession, Service service, Facility facility, Destination destination) Adds an destination for the facility and service.ServicesManager.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, Service service, Facility facility) Defines service destination for all hosts using theirs hostnames.void
ServicesManager.addRequiredAttribute
(PerunSession perunSession, Service service, AttributeDefinition attribute) Mark the attribute as required for the service.void
ServicesManager.addRequiredAttributes
(PerunSession perunSession, Service service, List<? extends AttributeDefinition> attributes) Batch version of addRequiredAttributevoid
ServicesManager.addServiceToServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage, Service service) Add the service to the packagevoid
ResourcesManager.assignService
(PerunSession perunSession, Resource resource, Service service) Assign service to resource.void
ServicesManager.blockServiceOnDestination
(PerunSession perunSession, Service service, int destinationId) Bans Service on destination.void
ServicesManager.blockServiceOnFacility
(PerunSession perunSession, Service service, Facility facility) Bans Service on facility.ServicesManager.createService
(PerunSession perunSession, Service service) Creates new service.void
ServicesManager.deleteService
(PerunSession perunSession, Service service, boolean forceFlag) Deletes the service.void
ConsentsManager.evaluateConsents
(PerunSession sess, Service service) Evaluates consents for given service for all consent hubs with given service with enforced consents enabled.boolean
ServicesManager.forceServicePropagation
(PerunSession perunSession, Facility facility, Service service) Forces service propagation on defined facility.boolean
ServicesManager.forceServicePropagation
(PerunSession perunSession, Service service) Forces service propagation on all facilities where the service is defined on.FacilitiesManager.getAllowedGroups
(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService) Get all Groups which can use this facility (Groups must be assigned to resource which belongs to this facility) specificVo and specificService can choose concrete groups if specificVo, specificService or both are null, they do not specific (all possible results are returned)FacilitiesManager.getAllowedRichGroupsWithAttributes
(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService, List<String> attrNames) Get all RichGroups which can use this facility (Groups must be assigned to Resource which belongs to this facility) specificVo and specificService can choose concrete groups if specificVo, specificService or both are null, they do not specific (all possible results are returned) We also retrieve attributes specified by attrNames for each returned RichGroup.FacilitiesManager.getAllowedUsers
(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService) Return all users who can use this facility specificVo and specificService can choose concrete users if specificVo, specificService or both are null, they do not specific (all possible results are returned)ServicesManager.getAllRichDestinations
(PerunSession perunSession, Service service) Get list of all rich destinations defined for the service.FacilitiesManager.getAssignedFacilities
(PerunSession sess, Service service) Get facilities where the service is defined.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.FacilitiesManager.getAssignedRichResources
(PerunSession perunSession, Facility facility, Service service) Returns all rich resources assigned to the facility and service with VO property filledResourcesManager.getAssignedRichResources
(PerunSession sess, Member member, Service service) Get all rich resources where the service and the member are assigned with facility property filled.FacilitiesManager.getAssignedUsers
(PerunSession sess, Facility facility, Service service) Returns list of Users assigned with chosen Facility containing resources where service is assigned.ServicesManager.getDestinations
(PerunSession perunSession, Service service, Facility facility) Get list of all destinations defined for the service and facility.ServicesManager.getHashedDataWithGroups
(PerunSession perunSession, Service service, Facility facility, boolean consentEval, int taskRunId) Generates hashed data with group structure for given service and facility.ServicesManager.getHashedHierarchicalData
(PerunSession perunSession, Service service, Facility facility, boolean consentEval, int taskRunId) Generates hashed hierarchical data structure for given service and facility.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, Facility facility) Get facility attributes which are required by the service.AttributesManager.getRequiredAttributes
(PerunSession sess, Service service, Facility facility, List<User> users) Get user-facility attributes which are required by the service for each user in list of users.AttributesManager.getRequiredAttributes
(PerunSession sess, Service service, Group group) Get group required attributes for the serviceAttributesManager.getRequiredAttributes
(PerunSession sess, Service service, Host host) Get host required attributes for the serviceAttributesManager.getRequiredAttributes
(PerunSession sess, Service service, Member member) Get member attributes which are required by the service.AttributesManager.getRequiredAttributes
(PerunSession sess, Service service, Member member, Group group) Get member-group attributes which are required by the service.AttributesManager.getRequiredAttributes
(PerunSession sess, Service service, Member member, Group group, boolean workWithUserAttributes) PRIVILEGE: Get only those required attributes principal has access to.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, Service service, Vo vo) Get vo attributes which are required by the service.AttributesManager.getRequiredAttributes
(PerunSession sess, Service service, List<User> users) Get user attributes which are required by the service for each user in list of users.AttributesManager.getRequiredAttributesDefinition
(PerunSession sess, Service service) Get all attributes which are required by service.ServicesManager.getRichDestinations
(PerunSession perunSession, Facility facility, Service service) Get list of all rich destinations defined for the facility and the service.TasksManager.getTask
(PerunSession perunSession, Service service, Facility facility) Find Task for given Service and Facility.boolean
ServicesManager.isServiceBlockedOnDestination
(PerunSession sess, Service service, int destinationId) Is this Service denied on the destination?boolean
ServicesManager.isServiceBlockedOnFacility
(PerunSession sess, Service service, Facility facility) Is this Service denied on the facility?boolean
TasksManager.isThereSuchTask
(PerunSession session, Service service, Facility facility) Check if if there is a task for given service and facility.boolean
ServicesManager.planServicePropagation
(PerunSession perunSession, Facility facility, Service service) Plans service propagation on defined facility.boolean
ServicesManager.planServicePropagation
(PerunSession perunSession, Service service) Forces service propagation on all facilities where the service is defined on.void
ServicesManager.removeAllDestinations
(PerunSession perunSession, Service service, Facility facility) Removes all defined destinations for the service and facility.void
ServicesManager.removeAllRequiredAttributes
(PerunSession perunSession, Service service) Detate all required attributes from servicevoid
ServicesManager.removeDestination
(PerunSession perunSession, Service service, Facility facility, Destination destination) Removes an destination from the facility and service.void
ServicesManager.removeRequiredAttribute
(PerunSession perunSession, Service service, AttributeDefinition attribute) Remove required attribute from service.void
ServicesManager.removeRequiredAttributes
(PerunSession perunSession, Service service, List<? extends AttributeDefinition> attributes) Batch version of removeRequiredAttributevoid
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
ServicesManager.removeServiceFromServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage, Service service) Remove Service from Services Packagevoid
RichDestination.setService
(Service service) void
ServicesManager.unblockServiceOnDestination
(PerunSession perunSession, Service service, int destinationId) Free the denial of the Service on this destination.void
ServicesManager.unblockServiceOnFacility
(PerunSession perunSession, Service service, Facility facility) Free the denial of the Service on this facility.void
ServicesManager.updateService
(PerunSession perunSession, Service service) Updates the service.Modifier and TypeMethodDescriptionServicesManager.addDestination
(PerunSession perunSession, List<Service> services, Facility facility, Destination destination) Adds an destination for the facility and all services.ServicesManager.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, List<Service> services, Facility facility) Defines services destination for all hosts using their hostnames.void
ResourcesManager.assignServices
(PerunSession perunSession, Resource resource, List<Service> services) Assign services to resource.void
ServicesManager.blockServicesOnFacility
(PerunSession sess, List<Service> services, Facility facility) Bans services on facility.void
ServicesManager.deleteServices
(PerunSession perunSession, List<Service> services, boolean forceFlag) Deletes given services.void
ServicesManager.forceServicePropagationBulk
(PerunSession sess, Facility facility, List<Service> services) Forces services propagation on defined facility.void
ServicesManager.forceServicePropagationBulk
(PerunSession sess, List<Service> services) Forces services propagation on all facilities where the services are defined on.AttributesManager.getRequiredAttributes
(PerunSession sess, List<Service> services, Facility facility) Get facility attributes which are required by the services.AttributesManager.getRequiredAttributes
(PerunSession sess, List<Service> services, Resource resource) Get resource attributes which are required by the services.void
ResourcesManager.removeServices
(PerunSession perunSession, Resource resource, List<Service> services) Remove services from resource.void
ServicesManager.unblockServicesOnFacility
(PerunSession sess, List<Service> services, Facility facility) Free the denial of the services on this facility.ModifierConstructorDescriptionRichDestination
(Destination destination, Facility facility, Service service) RichDestination
(Destination destination, Facility facility, Service service, boolean blocked) RichDestination
(Destination destination, Facility facility, Service service, boolean blocked, Timestamp lastSuccessfulPropagation) -
Uses of Service in cz.metacentrum.perun.core.api.exceptions
Modifier and TypeMethodDescriptionServiceAlreadyAssignedException.getService()
Getter for the serviceServiceAlreadyBannedException.getService()
Getter for the serviceServiceAttributesCannotExtend.getService()
Getter for the serviceServiceExistsException.getService()
Getter for the serviceServiceNotAssignedException.getService()
Getter for the serviceServiceNotExistsException.getService()
Getter for the serviceModifierConstructorDescriptionServiceAlreadyAssignedException
(Service service) Constructor with the serviceServiceAlreadyBannedException
(Service service, Destination destination) Constructor with the service and the facilityServiceAlreadyBannedException
(Service service, Facility facility) Constructor with the service and the facilityServiceAttributesCannotExtend
(Service service, int facilityId) Constructor with the service and the facilityServiceExistsException
(Service service) Constructor with the serviceServiceNotAssignedException
(Service service) Constructor with the serviceServiceNotExistsException
(Service service) Constructor with the service -
Uses of Service in cz.metacentrum.perun.core.bl
Modifier and TypeMethodDescriptionServicesManagerBl.createService
(PerunSession perunSession, Service service) Creates new service.ServicesManagerBl.getServiceById
(PerunSession perunSession, int id) Get service by id.ServicesManagerBl.getServiceByName
(PerunSession perunSession, String name) Get service by name.Modifier and TypeMethodDescriptionResourcesManagerBl.getAssignedServices
(PerunSession perunSession, Resource resource) List all services associated with the resource.ServicesManagerBl.getAssignedServices
(PerunSession perunSession, Facility facility) List all services associated with the facility (via resource).ServicesManagerBl.getAssignedServices
(PerunSession perunSession, Facility facility, Vo vo) List all services associated with the facility and vo (via resource).ServicesManagerBl.getServices
(PerunSession perunSession) get all services in perunServicesManagerBl.getServicesBlockedOnDestination
(PerunSession perunSession, int destinationId) List all the Services that are banned on this destination.ServicesManagerBl.getServicesBlockedOnFacility
(PerunSession perunSession, Facility facility) List all the Services that are banned on this facility.ServicesManagerBl.getServicesByAttributeDefinition
(PerunSession sess, AttributeDefinition attributeDefinition) Get all services with given attribute.ServicesManagerBl.getServicesFromServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage) List services stored in the packagesModifier and TypeMethodDescriptionServicesManagerBl.addDestination
(PerunSession perunSession, Service service, Facility facility, Destination destination) Adds an destination for the facility and service.ServicesManagerBl.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, Service service, Facility facility) Defines service destination for all hosts using theirs hostnames.void
ServicesManagerBl.addRequiredAttribute
(PerunSession perunSession, Service service, AttributeDefinition attribute) Mark the attribute as required for the service.void
ServicesManagerBl.addRequiredAttributes
(PerunSession perunSession, Service service, List<? extends AttributeDefinition> attributes) Batch version of addRequiredAttributevoid
ServicesManagerBl.addServiceToServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage, Service service) Add the service to the packagevoid
ResourcesManagerBl.assignService
(PerunSession perunSession, Resource resource, Service service) Assign service to resource.void
ServicesManagerBl.blockServiceOnDestination
(PerunSession perunSession, Service service, int destinationId) Bans Service on destination.void
ServicesManagerBl.blockServiceOnFacility
(PerunSession perunSession, Service service, Facility facility) Bans Service on facility.void
ServicesManagerBl.checkServiceExists
(PerunSession sess, Service service) Check if the service exits.ServicesManagerBl.createService
(PerunSession perunSession, Service service) Creates new service.void
ServicesManagerBl.deleteService
(PerunSession perunSession, Service service, boolean forceFlag) Deletes the service.void
ConsentsManagerBl.evaluateConsents
(PerunSession sess, Service service) Consolidate consents using given service on consent hubs the service is assigned to.ConsentsManagerBl.evaluateConsents
(PerunSession sess, Service service, Facility facility, List<Member> members) This method runs in a new transaction!!ConsentsManagerBl.evaluateConsents
(PerunSession sess, Service service, Facility facility, List<Member> members, boolean consentEval) This method runs in a new transaction!!boolean
ServicesManagerBl.forceServicePropagation
(PerunSession perunSession, Facility facility, Service service) Forces service propagation on defined facility.boolean
ServicesManagerBl.forceServicePropagation
(PerunSession perunSession, Service service) Forces service propagation on all facilities where the service is defined on.FacilitiesManagerBl.getAllowedGroups
(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService) Get all Groups which can use this facility (Groups must be assigned to resource which belongs to this facility) specificVo and specificService can choose concrete groups if specificVo, specificService or both are null, they do not specific (all possible results are returned)FacilitiesManagerBl.getAllowedMembers
(PerunSession sess, Facility facility, Service service) Return all members, which are "allowed" on facility through any resource assigned to the given service.FacilitiesManagerBl.getAllowedRichGroupsWithAttributes
(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService, List<String> attrNames) Get all RichGroups which can use this facility (Groups must be assigned to Resource which belongs to this facility) specificVo and specificService can choose concrete groups if specificVo, specificService or both are null, they do not specific (all possible results are returned) We also retrieve attributes specified by attrNames for each returned RichGroup.FacilitiesManagerBl.getAllowedUsers
(PerunSession sess, Facility facility, Vo specificVo, Service specificService) Return all users who can use this facility You can specify VO or Service you are interested in to filter resulting users (they must be members of VO and from Resource with assigned Service). if specificVo, specificService or both are null, they do not specific (all possible results are returned)FacilitiesManagerBl.getAllowedUsersNotExpiredInGroups
(PerunSession sess, Facility facility, Vo specificVo, Service specificService) Return all users who can use this facility and who are not expired in any of groups associated with any resource You can specify VO or Service you are interested in to filter resulting users (they must be members of VO and from Resource with assigned Service). if specificVo, specificService or both are null, they do not specific (all possible results are returned)ServicesManagerBl.getAllRichDestinations
(PerunSession perunSession, Service service) Get list of all rich destinations defined for the service.FacilitiesManagerBl.getAssignedFacilities
(PerunSession sess, Service service) Get facilities where the services is defined.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 sess, Member member, Service service) Get all resources where the member and the service are assigned.ServicesManagerBl.getAssignedResources
(PerunSession sess, Service service) Get all resources where the service is defined.FacilitiesManagerBl.getAssignedRichResources
(PerunSession perunSession, Facility facility, Service service) Returns all rich resources assigned to the facility and service with VO property filledResourcesManagerBl.getAssignedRichResources
(PerunSession sess, Member member, Service service) Get all rich resources where the service and the member are assigned with facility property filled.FacilitiesManagerBl.getAssignedUsers
(PerunSession sess, Facility facility, Service service) Returns list of Users assigned with chosen Facility containing resources where service is assigned.ServicesManagerBl.getDestinations
(PerunSession perunSession, Service service, Facility facility) Get list of all destinations defined for the service and facility.ServicesManagerBl.getHashedDataWithGroups
(PerunSession perunSession, Service service, Facility facility, boolean consentEval, int taskRunId) Generates hashed data with group structure for given service and resource.ServicesManagerBl.getHashedHierarchicalData
(PerunSession perunSession, Service service, Facility facility, boolean consentEval, int taskRunId) Generates hashed hierarchical data structure for given service and 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) Get facility attributes which are required by the service.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, Facility facility, User user) Get user-facility attributes which are required by the service.AttributesManagerBl.getRequiredAttributes
(PerunSession sess, Service service, Facility facility, List<User> users) Get user-facility attributes which are required by the service for each user in list of users. !!!AttributesManagerBl.getRequiredAttributes
(PerunSession sess, Service service, Group group) AttributesManagerBl.getRequiredAttributes
(PerunSession sess, Service service, Host host) Get host attributes which are required by serviceAttributesManagerBl.getRequiredAttributes
(PerunSession sess, Service service, Member member) Get member attributes which are required by the service.AttributesManagerBl.getRequiredAttributes
(PerunSession sess, Service service, Member member, Group group) Get member-group attributes which are required by the service.AttributesManagerBl.getRequiredAttributes
(PerunSession sess, Service service, Member member, Group group, boolean workWithUserAttributes) 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, Service service, User user) Get user attributes which are required by the service.AttributesManagerBl.getRequiredAttributes
(PerunSession sess, Service service, Vo vo) Get vo attributes which are required by the service.AttributesManagerBl.getRequiredAttributes
(PerunSession sess, Service service, List<Member> members, Group group) Get member-group attributes which are required by the service, for the given members and the given group.AttributesManagerBl.getRequiredAttributes
(PerunSession sess, Service service, List<User> users) Get user attributes which are required by the service for each user in list of users. !!!AttributesManagerBl.getRequiredAttributesDefinition
(PerunSession sess, Service service) Get all attributes which are required by service.AttributesManagerBl.getRequiredAttributesForGroups
(PerunSession sess, Service service, List<Group> groups) Get group attributes which are required by the given service for given groups.ServicesManagerBl.getRichDestinations
(PerunSession perunSession, Facility facility, Service service) Get list of all rich destinations defined for the service and the facilityTasksManagerBl.getTask
(PerunSession perunSession, Service service, Facility facility) Find propagation task for given service and facility.boolean
ServicesManagerBl.isServiceAssignedToFacility
(PerunSession sess, Facility facility, Service service) Checks whether given service is assigned to given facility (through some resource).boolean
ServicesManagerBl.isServiceBlockedOnDestination
(Service service, int destinationId) Is this Service denied on the destination?boolean
ServicesManagerBl.isServiceBlockedOnFacility
(Service service, Facility facility) Is this Service denied on the facility?boolean
TasksManagerBl.isThereSuchTask
(PerunSession sess, Service service, Facility facility) Check if there is a task for given service and facility.boolean
ServicesManagerBl.planServicePropagation
(PerunSession perunSession, Facility facility, Service service) Plans service propagation on defined facility.boolean
ServicesManagerBl.planServicePropagation
(PerunSession perunSession, Service service) Forces service propagation on all facilities where the service is defined on.void
ServicesManagerBl.removeAllDestinations
(PerunSession perunSession, Service service, Facility facility) Removes all defined destinations for the service and facility.void
ServicesManagerBl.removeAllRequiredAttributes
(PerunSession perunSession, Service service) Detate all required attributes from service.void
TasksManagerBl.removeAllTasksForService
(PerunSession sess, Service service) Removes all tasks associated with given service including the associated task resultsvoid
ServicesManagerBl.removeDestination
(PerunSession perunSession, Service service, Facility facility, Destination destination) Removes an destination from the facility and service.void
ServicesManagerBl.removeRequiredAttribute
(PerunSession perunSession, Service service, AttributeDefinition attribute) Remove required attribute from service.void
ServicesManagerBl.removeRequiredAttributes
(PerunSession perunSession, Service service, List<? extends AttributeDefinition> attributes) Batch version of removeRequiredAttributevoid
ResourcesManagerBl.removeService
(PerunSession perunSession, Resource resource, Service service) Remove service from resource.void
ServicesManagerBl.removeServiceFromServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage, Service service) Remove Service from Services Packagevoid
TasksManagerBl.removeTask
(PerunSession sess, Service service, Facility facility) Remove task for given service and facility.void
AttributesManagerBl.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.void
AttributesManagerBl.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.void
ServicesManagerBl.unblockServiceOnDestination
(PerunSession perunSession, Service service, int destinationId) Free the denial of the Service on this destination.void
ServicesManagerBl.unblockServiceOnFacility
(PerunSession perunSession, Service service, Facility facility) Free the denial of the Service on this facility.void
ServicesManagerBl.updateService
(PerunSession perunSession, Service service) Updates the service.Modifier and TypeMethodDescriptionServicesManagerBl.addDestination
(PerunSession perunSession, List<Service> services, Facility facility, Destination destination) Adds an destination for the facility and all services.ServicesManagerBl.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, List<Service> services, Facility facility) Defines services destination for all hosts using their hostnames.void
ResourcesManagerBl.assignServices
(PerunSession perunSession, Resource resource, List<Service> services) Assign services to resource.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.void
ResourcesManagerBl.removeServices
(PerunSession perunSession, Resource resource, List<Service> services) Remove services from resource.void
AttributesManagerBl.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. -
Uses of Service in cz.metacentrum.perun.core.blImpl
Modifier and TypeMethodDescriptionServicesManagerBlImpl.createService
(PerunSession sess, Service service) ServicesManagerBlImpl.getServiceById
(PerunSession sess, int id) ServicesManagerBlImpl.getServiceByName
(PerunSession sess, String name) Modifier and TypeMethodDescriptionResourcesManagerBlImpl.getAssignedServices
(PerunSession sess, Resource resource) ServicesManagerBlImpl.getAssignedServices
(PerunSession sess, Facility facility) ServicesManagerBlImpl.getAssignedServices
(PerunSession sess, Facility facility, Vo vo) ServicesManagerBlImpl.getServices
(PerunSession sess) ServicesManagerBlImpl.getServicesBlockedOnDestination
(PerunSession perunSession, int destinationId) ServicesManagerBlImpl.getServicesBlockedOnFacility
(PerunSession perunSession, Facility facility) ServicesManagerBlImpl.getServicesByAttributeDefinition
(PerunSession sess, AttributeDefinition attributeDefinition) ServicesManagerBlImpl.getServicesFromServicesPackage
(PerunSession sess, ServicesPackage servicesPackage) Modifier and TypeMethodDescriptionServicesManagerBlImpl.addDestination
(PerunSession sess, Service service, Facility facility, Destination destination) ServicesManagerBlImpl.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, Service service, Facility facility) void
ServicesManagerBlImpl.addRequiredAttribute
(PerunSession sess, Service service, AttributeDefinition attribute) void
ServicesManagerBlImpl.addRequiredAttributes
(PerunSession sess, Service service, List<? extends AttributeDefinition> attributes) void
ServicesManagerBlImpl.addServiceToServicesPackage
(PerunSession sess, ServicesPackage servicesPackage, Service service) void
ResourcesManagerBlImpl.assignService
(PerunSession sess, Resource resource, Service service) void
ServicesManagerBlImpl.blockServiceOnDestination
(PerunSession sess, Service service, int destinationId) void
ServicesManagerBlImpl.blockServiceOnFacility
(PerunSession sess, Service service, Facility facility) void
ServicesManagerBlImpl.checkServiceExists
(PerunSession sess, Service service) ServicesManagerBlImpl.createService
(PerunSession sess, Service service) void
ServicesManagerBlImpl.deleteService
(PerunSession perunSession, Service service, boolean forceFlag) void
ConsentsManagerBlImpl.evaluateConsents
(PerunSession sess, Service service) ConsentsManagerBlImpl.evaluateConsents
(PerunSession sess, Service service, Facility facility, List<Member> members) ConsentsManagerBlImpl.evaluateConsents
(PerunSession sess, Service service, Facility facility, List<Member> members, boolean consentEval) boolean
ServicesManagerBlImpl.forceServicePropagation
(PerunSession sess, Facility facility, Service service) boolean
ServicesManagerBlImpl.forceServicePropagation
(PerunSession sess, Service service) FacilitiesManagerBlImpl.getAllowedGroups
(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService) FacilitiesManagerBlImpl.getAllowedMembers
(PerunSession sess, Facility facility, Service service) FacilitiesManagerBlImpl.getAllowedRichGroupsWithAttributes
(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService, List<String> attrNames) FacilitiesManagerBlImpl.getAllowedUsers
(PerunSession sess, Facility facility, Vo specificVo, Service specificService) FacilitiesManagerBlImpl.getAllowedUsersNotExpiredInGroups
(PerunSession sess, Facility facility, Vo specificVo, Service specificService) ServicesManagerBlImpl.getAllRichDestinations
(PerunSession perunSession, Service service) FacilitiesManagerBlImpl.getAssignedFacilities
(PerunSession sess, Service service) FacilitiesManagerBlImpl.getAssignedResources
(PerunSession sess, Facility facility, Vo specificVo, Service specificService) ResourcesManagerBlImpl.getAssignedResources
(PerunSession sess, Member member, Service service) ServicesManagerBlImpl.getAssignedResources
(PerunSession sess, Service service) FacilitiesManagerBlImpl.getAssignedRichResources
(PerunSession sess, Facility facility, Service service) ResourcesManagerBlImpl.getAssignedRichResources
(PerunSession sess, Member member, Service service) FacilitiesManagerBlImpl.getAssignedUsers
(PerunSession sess, Facility facility, Service service) ServicesManagerBlImpl.getDestinations
(PerunSession sess, Service service, Facility facility) ServicesManagerBlImpl.getHashedDataWithGroups
(PerunSession sess, Service service, Facility facility, boolean consentEval, int taskRunId) ServicesManagerBlImpl.getHashedHierarchicalData
(PerunSession sess, Service service, Facility facility, boolean consentEval, int taskRunId) AttributesManagerBlImpl.getRequiredAttributes
(PerunSession sess, Resource resource, Service service, List<Member> members) AttributesManagerBlImpl.getRequiredAttributes
(PerunSession sess, Service service, Facility facility) 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, Facility facility, User user) AttributesManagerBlImpl.getRequiredAttributes
(PerunSession sess, Service service, Facility facility, List<User> users) AttributesManagerBlImpl.getRequiredAttributes
(PerunSession sess, Service service, Group group) AttributesManagerBlImpl.getRequiredAttributes
(PerunSession sess, Service service, Host host) AttributesManagerBlImpl.getRequiredAttributes
(PerunSession sess, Service service, Member member) AttributesManagerBlImpl.getRequiredAttributes
(PerunSession sess, Service service, Member member, Group group) AttributesManagerBlImpl.getRequiredAttributes
(PerunSession sess, Service service, Member member, Group group, 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, Service service, User user) AttributesManagerBlImpl.getRequiredAttributes
(PerunSession sess, Service service, Vo vo) AttributesManagerBlImpl.getRequiredAttributes
(PerunSession sess, Service service, List<Member> members, Group group) AttributesManagerBlImpl.getRequiredAttributes
(PerunSession sess, Service service, List<User> users) AttributesManagerBlImpl.getRequiredAttributesDefinition
(PerunSession sess, Service service) AttributesManagerBlImpl.getRequiredAttributesForGroups
(PerunSession sess, Service service, List<Group> groups) ServicesManagerBlImpl.getRichDestinations
(PerunSession perunSession, Facility facility, Service service) TasksManagerBlImpl.getTask
(PerunSession perunSession, Service service, Facility facility) boolean
ServicesManagerBlImpl.isServiceAssignedToFacility
(PerunSession sess, Facility facility, Service service) boolean
ServicesManagerBlImpl.isServiceBlockedOnDestination
(Service service, int destinationId) boolean
ServicesManagerBlImpl.isServiceBlockedOnFacility
(Service service, Facility facility) boolean
TasksManagerBlImpl.isThereSuchTask
(PerunSession sess, Service service, Facility facility) boolean
ServicesManagerBlImpl.planServicePropagation
(PerunSession perunSession, Facility facility, Service service) boolean
ServicesManagerBlImpl.planServicePropagation
(PerunSession perunSession, Service service) static void
AuthzResolverBlImpl.removeAllAuthzForService
(PerunSession sess, Service service) void
ServicesManagerBlImpl.removeAllDestinations
(PerunSession sess, Service service, Facility facility) void
ServicesManagerBlImpl.removeAllRequiredAttributes
(PerunSession sess, Service service) void
TasksManagerBlImpl.removeAllTasksForService
(PerunSession sess, Service service) void
ServicesManagerBlImpl.removeDestination
(PerunSession sess, Service service, Facility facility, Destination destination) void
ServicesManagerBlImpl.removeRequiredAttribute
(PerunSession sess, Service service, AttributeDefinition attribute) void
ServicesManagerBlImpl.removeRequiredAttributes
(PerunSession sess, Service service, List<? extends AttributeDefinition> attributes) void
ResourcesManagerBlImpl.removeService
(PerunSession sess, Resource resource, Service service) void
ServicesManagerBlImpl.removeServiceFromServicesPackage
(PerunSession sess, ServicesPackage servicesPackage, Service service) void
TasksManagerBlImpl.removeTask
(PerunSession sess, Service service, Facility facility) void
AttributesManagerBlImpl.setRequiredAttributes
(PerunSession sess, Service service, Facility facility, Resource resource, User user, Member member) void
AttributesManagerBlImpl.setRequiredAttributes
(PerunSession sess, Service service, Facility facility, Resource resource, User user, Member member, boolean forceAttributesChecks) void
ServicesManagerBlImpl.unblockServiceOnDestination
(PerunSession sess, Service service, int destinationId) void
ServicesManagerBlImpl.unblockServiceOnFacility
(PerunSession sess, Service service, Facility facility) void
ServicesManagerBlImpl.updateService
(PerunSession sess, Service service) Modifier and TypeMethodDescriptionServicesManagerBlImpl.addDestination
(PerunSession perunSession, List<Service> services, Facility facility, Destination destination) ServicesManagerBlImpl.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, List<Service> services, Facility facility) void
ResourcesManagerBlImpl.assignServices
(PerunSession sess, Resource resource, List<Service> services) void
ResourcesManagerBlImpl.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.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) void
ResourcesManagerBlImpl.removeServices
(PerunSession sess, Resource resource, List<Service> services) void
AttributesManagerBlImpl.setRequiredAttributes
(PerunSession sess, List<Service> services, Facility facility, Resource resource, User user, Member member, boolean forceAttributesChecks) void
ResourcesManagerBlImpl.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. -
Uses of Service in cz.metacentrum.perun.core.entry
Modifier and TypeMethodDescriptionServicesManagerEntry.createService
(PerunSession sess, Service service) ServicesManagerEntry.getServiceById
(PerunSession sess, int id) ServicesManagerEntry.getServiceByName
(PerunSession sess, String name) Modifier and TypeMethodDescriptionResourcesManagerEntry.getAssignedServices
(PerunSession sess, Resource resource) ServicesManagerEntry.getAssignedServices
(PerunSession sess, Facility facility) ServicesManagerEntry.getAssignedServices
(PerunSession sess, Facility facility, Vo vo) ServicesManagerEntry.getServices
(PerunSession sess) ServicesManagerEntry.getServicesBlockedOnDestination
(PerunSession sess, int destinationId) ServicesManagerEntry.getServicesBlockedOnFacility
(PerunSession perunSession, Facility facility) ServicesManagerEntry.getServicesByAttributeDefinition
(PerunSession sess, AttributeDefinition attributeDefinition) ServicesManagerEntry.getServicesFromServicesPackage
(PerunSession sess, ServicesPackage servicesPackage) Modifier and TypeMethodDescriptionServicesManagerEntry.addDestination
(PerunSession sess, Service service, Facility facility, Destination destination) ServicesManagerEntry.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, Service service, Facility facility) void
ServicesManagerEntry.addRequiredAttribute
(PerunSession sess, Service service, AttributeDefinition attribute) void
ServicesManagerEntry.addRequiredAttributes
(PerunSession sess, Service service, List<? extends AttributeDefinition> attributes) void
ServicesManagerEntry.addServiceToServicesPackage
(PerunSession sess, ServicesPackage servicesPackage, Service service) void
ResourcesManagerEntry.assignService
(PerunSession sess, Resource resource, Service service) void
ServicesManagerEntry.blockServiceOnDestination
(PerunSession sess, Service service, int destinationId) void
ServicesManagerEntry.blockServiceOnFacility
(PerunSession sess, Service service, Facility facility) ServicesManagerEntry.createService
(PerunSession sess, Service service) void
ServicesManagerEntry.deleteService
(PerunSession sess, Service service, boolean forceFlag) void
ConsentsManagerEntry.evaluateConsents
(PerunSession sess, Service service) boolean
ServicesManagerEntry.forceServicePropagation
(PerunSession sess, Facility facility, Service service) boolean
ServicesManagerEntry.forceServicePropagation
(PerunSession sess, Service service) FacilitiesManagerEntry.getAllowedGroups
(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService) FacilitiesManagerEntry.getAllowedRichGroupsWithAttributes
(PerunSession perunSession, Facility facility, Vo specificVo, Service specificService, List<String> attrNames) FacilitiesManagerEntry.getAllowedUsers
(PerunSession sess, Facility facility, Vo specificVo, Service specificService) ServicesManagerEntry.getAllRichDestinations
(PerunSession perunSession, Service service) FacilitiesManagerEntry.getAssignedFacilities
(PerunSession sess, Service service) ResourcesManagerEntry.getAssignedResources
(PerunSession sess, Member member, Service service) ServicesManagerEntry.getAssignedResources
(PerunSession sess, Service service) FacilitiesManagerEntry.getAssignedResourcesByAssignedService
(PerunSession sess, Facility facility, Service service) FacilitiesManagerEntry.getAssignedRichResources
(PerunSession sess, Facility facility, Service service) ResourcesManagerEntry.getAssignedRichResources
(PerunSession sess, Member member, Service service) FacilitiesManagerEntry.getAssignedUsers
(PerunSession sess, Facility facility, Service service) ServicesManagerEntry.getDestinations
(PerunSession sess, Service service, Facility facility) ServicesManagerEntry.getHashedDataWithGroups
(PerunSession sess, Service service, Facility facility, boolean consentEval, int taskRunId) ServicesManagerEntry.getHashedHierarchicalData
(PerunSession sess, Service service, Facility facility, boolean consentEval, int taskRunId) AttributesManagerEntry.getRequiredAttributes
(PerunSession sess, Resource resource, Service service, List<Member> members) AttributesManagerEntry.getRequiredAttributes
(PerunSession sess, Service service, Facility facility) AttributesManagerEntry.getRequiredAttributes
(PerunSession sess, Service service, Facility facility, List<User> users) AttributesManagerEntry.getRequiredAttributes
(PerunSession sess, Service service, Group group) AttributesManagerEntry.getRequiredAttributes
(PerunSession sess, Service service, Host host) AttributesManagerEntry.getRequiredAttributes
(PerunSession sess, Service service, Member member) AttributesManagerEntry.getRequiredAttributes
(PerunSession sess, Service service, Member member, Group group) AttributesManagerEntry.getRequiredAttributes
(PerunSession sess, Service service, Member member, Group group, boolean workWithUserAttributes) 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, Service service, Vo vo) AttributesManagerEntry.getRequiredAttributes
(PerunSession sess, Service service, List<User> users) AttributesManagerEntry.getRequiredAttributesDefinition
(PerunSession sess, Service service) ServicesManagerEntry.getRichDestinations
(PerunSession perunSession, Facility facility, Service service) TasksManagerEntry.getTask
(PerunSession perunSession, Service service, Facility facility) boolean
ServicesManagerEntry.isServiceBlockedOnDestination
(PerunSession sess, Service service, int destinationId) boolean
ServicesManagerEntry.isServiceBlockedOnFacility
(PerunSession sess, Service service, Facility facility) boolean
TasksManagerEntry.isThereSuchTask
(PerunSession session, Service service, Facility facility) boolean
ServicesManagerEntry.planServicePropagation
(PerunSession sess, Facility facility, Service service) boolean
ServicesManagerEntry.planServicePropagation
(PerunSession perunSession, Service service) void
ServicesManagerEntry.removeAllDestinations
(PerunSession sess, Service service, Facility facility) void
ServicesManagerEntry.removeAllRequiredAttributes
(PerunSession sess, Service service) void
ServicesManagerEntry.removeDestination
(PerunSession sess, Service service, Facility facility, Destination destination) void
ServicesManagerEntry.removeRequiredAttribute
(PerunSession sess, Service service, AttributeDefinition attribute) void
ServicesManagerEntry.removeRequiredAttributes
(PerunSession sess, Service service, List<? extends AttributeDefinition> attributes) void
ResourcesManagerEntry.removeService
(PerunSession sess, Resource resource, Service service) void
ResourcesManagerEntry.removeService
(PerunSession perunSession, List<Resource> resources, Service service) void
ServicesManagerEntry.removeServiceFromServicesPackage
(PerunSession sess, ServicesPackage servicesPackage, Service service) void
ServicesManagerEntry.unblockServiceOnDestination
(PerunSession sess, Service service, int destinationId) void
ServicesManagerEntry.unblockServiceOnFacility
(PerunSession sess, Service service, Facility facility) void
ServicesManagerEntry.updateService
(PerunSession sess, Service service) Modifier and TypeMethodDescriptionServicesManagerEntry.addDestination
(PerunSession perunSession, List<Service> services, Facility facility, Destination destination) ServicesManagerEntry.addDestinationsDefinedByHostsOnFacility
(PerunSession perunSession, List<Service> services, Facility facility) void
ResourcesManagerEntry.assignServices
(PerunSession sess, Resource resource, List<Service> services) void
ServicesManagerEntry.blockServicesOnFacility
(PerunSession sess, List<Service> services, Facility facility) void
ServicesManagerEntry.deleteServices
(PerunSession sess, List<Service> services, boolean forceFlag) void
ServicesManagerEntry.forceServicePropagationBulk
(PerunSession sess, Facility facility, List<Service> services) void
ServicesManagerEntry.forceServicePropagationBulk
(PerunSession sess, List<Service> services) AttributesManagerEntry.getRequiredAttributes
(PerunSession sess, List<Service> services, Facility facility) AttributesManagerEntry.getRequiredAttributes
(PerunSession sess, List<Service> services, Resource resource) void
ResourcesManagerEntry.removeServices
(PerunSession sess, Resource resource, List<Service> services) void
ServicesManagerEntry.unblockServicesOnFacility
(PerunSession sess, List<Service> services, Facility facility) -
Uses of Service in cz.metacentrum.perun.core.impl
Modifier and TypeMethodDescriptionServicesManagerImpl.createService
(PerunSession sess, Service service) ServicesManagerImpl.getServiceById
(PerunSession sess, int id) ServicesManagerImpl.getServiceByName
(PerunSession sess, String name) Modifier and TypeMethodDescriptionResourcesManagerImpl.getAssignedServices
(PerunSession sess, Resource resource) ServicesManagerImpl.getAssignedServices
(PerunSession perunSession, Facility facility) ServicesManagerImpl.getAssignedServices
(PerunSession perunSession, Facility facility, Vo vo) ServicesManagerImpl.getServices
(PerunSession sess) ServicesManagerImpl.getServicesBlockedOnDestination
(int destinationId) ServicesManagerImpl.getServicesBlockedOnFacility
(int facilityId) ServicesManagerImpl.getServicesByAttributeDefinition
(PerunSession sess, AttributeDefinition attributeDefinition) ServicesManagerImpl.getServicesFromDestination
(int destinationId) ServicesManagerImpl.getServicesFromServicesPackage
(PerunSession sess, ServicesPackage servicesPackage) Modifier and TypeMethodDescriptionvoid
ServicesManagerImpl.addDestination
(PerunSession sess, Service service, Facility facility, Destination destination) void
ServicesManagerImpl.addRequiredAttribute
(PerunSession sess, Service service, AttributeDefinition attribute) void
ServicesManagerImpl.addRequiredAttributes
(PerunSession sess, Service service, List<? extends AttributeDefinition> attributes) void
ServicesManagerImpl.addServiceToServicesPackage
(PerunSession sess, ServicesPackage servicesPackage, Service service) void
ResourcesManagerImpl.assignService
(PerunSession sess, Resource resource, Service service) void
ServicesManagerImpl.checkServiceExists
(PerunSession sess, Service service) ServicesManagerImpl.createService
(PerunSession sess, Service service) void
ServicesManagerImpl.deleteService
(PerunSession sess, Service service) boolean
ServicesManagerImpl.destinationExists
(PerunSession sess, Service service, Facility facility, Destination destination) FacilitiesManagerImpl.getAllowedMembers
(PerunSession sess, Facility facility, Service service) ServicesManagerImpl.getAllRichDestinations
(PerunSession perunSession, Service service) FacilitiesManagerImpl.getAssignedResources
(PerunSession sess, Facility facility, Vo specificVo, Service specificService) ResourcesManagerImpl.getAssignedResources
(PerunSession sess, Member member, Service service) ServicesManagerImpl.getAssignedResources
(PerunSession sess, Service service) FacilitiesManagerImpl.getAssignedRichResources
(PerunSession sess, Facility facility, Service service) ResourcesManagerImpl.getAssignedRichResources
(PerunSession sess, Member member, Service service) FacilitiesManagerImpl.getAssignedUsers
(PerunSession sess, Facility facility, Service service) ServicesManagerImpl.getDestinations
(PerunSession sess, Service service, Facility facility) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Resource resource, Service service, List<Member> members) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Service service, Facility facility) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Service service, Facility facility, User user) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Service service, Facility facility, List<User> users) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Service service, Group group) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Service service, Host host) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Service service, Member member) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Service service, Member member, Group group) 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, Service service, User user) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Service service, Vo vo) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Service service, List<Member> members, Group group) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Service service, List<User> users) AttributesManagerImpl.getRequiredAttributesDefinition
(PerunSession sess, Service service) AttributesManagerImpl.getRequiredAttributesForGroups
(PerunSession sess, Service service, List<Group> groups) ServicesManagerImpl.getRichDestinations
(PerunSession perunSession, Facility facility, Service service) boolean
ServicesManagerImpl.isServiceAssignedToFacility
(PerunSession sess, Facility facility, Service service) boolean
TasksManagerImpl.isThereSuchTask
(Service service, Facility facility) void
AuthzResolverImpl.removeAllAuthzForService
(PerunSession sess, Service service) void
ServicesManagerImpl.removeAllDestinations
(PerunSession sess, Service service, Facility facility) void
ServicesManagerImpl.removeAllRequiredAttributes
(PerunSession sess, Service service) void
ServicesManagerImpl.removeDestination
(PerunSession sess, Service service, Facility facility, Destination destination) void
ServicesManagerImpl.removeRequiredAttribute
(PerunSession sess, Service service, AttributeDefinition attribute) void
ServicesManagerImpl.removeRequiredAttributes
(PerunSession sess, Service service, List<? extends AttributeDefinition> attributes) void
ResourcesManagerImpl.removeService
(PerunSession sess, Resource resource, Service service) void
ServicesManagerImpl.removeServiceFromAllServicesPackages
(PerunSession sess, Service service) void
ServicesManagerImpl.removeServiceFromServicesPackage
(PerunSession sess, ServicesPackage servicesPackage, Service service) void
TasksManagerImpl.removeTask
(Service service, Facility facility) boolean
ServicesManagerImpl.serviceExists
(PerunSession sess, Service service) void
ServicesManagerImpl.updateService
(PerunSession sess, Service service) Modifier and TypeMethodDescriptionAttributesManagerImpl.getRequiredAttributes
(PerunSession sess, List<Service> services, Group group) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, List<Service> services, Resource resource, Group group) -
Uses of Service in cz.metacentrum.perun.core.implApi
Modifier and TypeMethodDescriptionServicesManagerImplApi.createService
(PerunSession perunSession, Service service) Creates new service.ServicesManagerImplApi.getServiceById
(PerunSession perunSession, int id) Get service by id.ServicesManagerImplApi.getServiceByName
(PerunSession perunSession, String name) Get service by name.Modifier and TypeMethodDescriptionResourcesManagerImplApi.getAssignedServices
(PerunSession perunSession, Resource resource) List all services' id associated with the resource.ServicesManagerImplApi.getAssignedServices
(PerunSession perunSession, Facility facility) List all services associated with the facility (via resource).ServicesManagerImplApi.getAssignedServices
(PerunSession perunSession, Facility facility, Vo vo) List all services associated with the facility and vo (via resource).ServicesManagerImplApi.getServices
(PerunSession perunSession) get all services in perunServicesManagerImplApi.getServicesBlockedOnDestination
(int destinationId) Get Services blocked on Destination.ServicesManagerImplApi.getServicesBlockedOnFacility
(int facilityId) Get Services blocked on Facility.ServicesManagerImplApi.getServicesByAttributeDefinition
(PerunSession sess, AttributeDefinition attributeDefinition) Get all services with given attribute.ServicesManagerImplApi.getServicesFromDestination
(int destinationId) Return list of services this destination points to.ServicesManagerImplApi.getServicesFromServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage) List services stored in the packagesModifier and TypeMethodDescriptionvoid
ServicesManagerImplApi.addDestination
(PerunSession perunSession, Service service, Facility facility, Destination destination) Adds an destination for the facility and service.void
ServicesManagerImplApi.addRequiredAttribute
(PerunSession perunSession, Service service, AttributeDefinition attribute) Mark the attribute as required for the service.void
ServicesManagerImplApi.addRequiredAttributes
(PerunSession perunSession, Service service, List<? extends AttributeDefinition> attributes) Batch version of addRequiredAttributevoid
ServicesManagerImplApi.addServiceToServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage, Service service) Add the service to the packagevoid
ResourcesManagerImplApi.assignService
(PerunSession perunSession, Resource resource, Service service) Assign service to resource.void
ServicesManagerImplApi.checkServiceExists
(PerunSession perunSession, Service service) Check if service exists in underlaying data source.ServicesManagerImplApi.createService
(PerunSession perunSession, Service service) Creates new service.void
ServicesManagerImplApi.deleteService
(PerunSession perunSession, Service service) Deletes the service.boolean
ServicesManagerImplApi.destinationExists
(PerunSession sess, Service service, Facility facility, Destination destination) Determine if destination exists for specified facility and service.FacilitiesManagerImplApi.getAllowedMembers
(PerunSession sess, Facility facility, Service service) Return all members, which are "allowed" on facility through any resource assigned to the given service.ServicesManagerImplApi.getAllRichDestinations
(PerunSession perunSession, Service service) Get list of all rich destinations defined for the service.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 sess, Member member, Service service) Returns all resources where member and service are assigned together.ServicesManagerImplApi.getAssignedResources
(PerunSession sess, Service service) Get all resources which use this service.FacilitiesManagerImplApi.getAssignedRichResources
(PerunSession perunSession, Facility facility, Service service) Returns all rich resources assigned to the facility and service.ResourcesManagerImplApi.getAssignedRichResources
(PerunSession sess, Member member, Service service) Returns all rich resources where the service and the member are assigned through the groups.FacilitiesManagerImplApi.getAssignedUsers
(PerunSession sess, Facility facility, Service service) Returns list of Users assigned with chosen Facility containing resources where service is assigned.ServicesManagerImplApi.getDestinations
(PerunSession perunSession, Service service, Facility facility) Get list of all destinations defined for the service and facility.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, Service service, Facility facility) Get facility attributes which are required by the service.AttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, Service service, Facility facility, User user) Get user-facility attributes which are required by the service.AttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, Service service, Facility facility, List<User> users) Get user-facility attributes which are required by the service for each user in list of users.AttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, Service service, Group group) AttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, Service service, Host host) AttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, Service service, Member member) Get member attributes which are required by the service.AttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, Service service, Member member, Group group) Get member-group attributes which are required by the service.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, Service service, User user) Get user attributes which are required by the service.AttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, Service service, Vo vo) Get vo attributes which are required by the service.AttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, Service service, List<Member> members, Group group) Get member-group attributes which are required by the service, for the given members and the given group.AttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, Service service, List<User> users) Get user attributes which are required by the service for each user in list of users.AttributesManagerImplApi.getRequiredAttributesDefinition
(PerunSession sess, Service service) Get all attributes which are required by service.AttributesManagerImplApi.getRequiredAttributesForGroups
(PerunSession sess, Service service, List<Group> groups) Get group attributes which are required by the given service for given groups.ServicesManagerImplApi.getRichDestinations
(PerunSession perunSession, Facility facility, Service service) Get list of all rich destinations defined for the service and the facilityRetrieve task for given service and facility.boolean
ServicesManagerImplApi.isServiceAssignedToFacility
(PerunSession sess, Facility facility, Service service) Checks whether given service is assigned to given facility (through some resource).boolean
TasksManagerImplApi.isThereSuchTask
(Service service, Facility facility) Check if there is a task for given service and facility.void
AuthzResolverImplApi.removeAllAuthzForService
(PerunSession sess, Service service) Removes all authz entries for the servicevoid
ServicesManagerImplApi.removeAllDestinations
(PerunSession perunSession, Service service, Facility facility) Removes all defined destinations for the service and facility.void
ServicesManagerImplApi.removeAllRequiredAttributes
(PerunSession perunSession, Service service) Detate all required attributes from servicevoid
ServicesManagerImplApi.removeDestination
(PerunSession perunSession, Service service, Facility facility, Destination destination) Removes an destination from the facility and service.void
ServicesManagerImplApi.removeRequiredAttribute
(PerunSession perunSession, Service service, AttributeDefinition attribute) Remove required attribute from service.void
ServicesManagerImplApi.removeRequiredAttributes
(PerunSession perunSession, Service service, List<? extends AttributeDefinition> attributes) Batch version of removeRequiredAttributevoid
ResourcesManagerImplApi.removeService
(PerunSession perunSession, Resource resource, Service service) Remove service from resource.void
ServicesManagerImplApi.removeServiceFromAllServicesPackages
(PerunSession sess, Service service) Remove Service from all Services Packagesvoid
ServicesManagerImplApi.removeServiceFromServicesPackage
(PerunSession perunSession, ServicesPackage servicesPackage, Service service) Remove Service from Services Packagevoid
TasksManagerImplApi.removeTask
(Service service, Facility facility) Remove task for given service and facility.boolean
ServicesManagerImplApi.serviceExists
(PerunSession perunSession, Service service) Check if service exists in underlaying data source.void
ServicesManagerImplApi.updateService
(PerunSession perunSession, Service service) Updates the service.Modifier and TypeMethodDescriptionAttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, List<Service> services, Group group) Get group attributes which are required by the given services.AttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, List<Service> services, Resource resource, Group group) Get group-resource attributes which are required by the services. -
Uses of Service in cz.metacentrum.perun.core.provisioning
Modifier and TypeMethodDescriptionModifierConstructorDescriptionGenDataProviderImpl
(PerunSessionImpl sess, Service service, Facility facility) -
Uses of Service in cz.metacentrum.perun.taskslib.model
Modifier and TypeMethodDescriptionvoid
Task.setService
(Service service) void
TaskResult.setService
(Service service) -
Uses of Service in cz.metacentrum.perun.taskslib.service
-
Uses of Service in cz.metacentrum.perun.taskslib.service.impl