@AccessLevel(value=EXTERNAL)
public interface ProviderSecurity
Modifier and Type | Method and Description |
---|---|
void |
checkProviderGroupSecurity(ProviderGroup providerGroup)
Verifies that currently working user has access rights to the provider
group specified.
|
void |
checkProviderOrganizationSecurity(ProviderOrganization providerOrganization)
Verifies that currently working user has access rights to the provider
organization specified.
|
void |
checkProviderSecurity(Provider provider)
Verifies that currently working user has access rights to the provider
specified.
|
void |
checkUserSecurityForProvider(Provider provider)
Verifies that currently working user has access rights to the provider
specified.
|
boolean |
facilityManagerSecurityCheckSucceeded(Provider provider)
Verifies that currently working user has access rights to the
Facility Manager specified.
|
boolean |
isUserProviderSupervisor(Provider provider,
java.lang.String userName)
Verifies that the user specified is currently a supervisor for the provider
specified.
|
boolean |
providerGroupSecurityCheckSucceeded(ProviderGroup providerGroup)
Verifies that currently working user has access rights to the provider
group specified.
|
boolean |
providerOrganizationSecurityCheckSucceeded(ProviderOrganization providerOrganization)
Verifies that currently working user has access rights to the provider
organization specified.
|
boolean |
providerSecurityCheckSucceeded(Provider provider)
Verifies that currently working user has access rights to the provider
specified.
|
@AccessLevel(value=EXTERNAL) @Implementable void checkProviderSecurity(Provider provider) throws curam.util.exception.InformationalException
provider
- The Provider for whom the security check has to be performed.curam.util.exception.InformationalException
- Generic Exception Signature.The default implementation -
curam.provider.impl.ProviderSecurityImpl#checkProviderSecurity(Provider).
@AccessLevel(value=EXTERNAL) @Implementable boolean providerSecurityCheckSucceeded(Provider provider) throws curam.util.exception.InformationalException
provider
- The Provider for whom the security check has to be performed.curam.util.exception.InformationalException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) @Implementable boolean facilityManagerSecurityCheckSucceeded(Provider provider) throws curam.util.exception.InformationalException
provider
- The Provider for whom the security check has to be performed.curam.util.exception.InformationalException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) @Implementable void checkProviderGroupSecurity(ProviderGroup providerGroup) throws curam.util.exception.InformationalException
providerGroup
- The Provider Group for whom the security check has to be performed.curam.util.exception.InformationalException
- Generic Exception Signature.The default implementation -
curam.provider.impl.ProviderSecurityImpl#checkProviderGroupSecurity(
ProviderGroup).
@AccessLevel(value=EXTERNAL) @Implementable boolean providerGroupSecurityCheckSucceeded(ProviderGroup providerGroup) throws curam.util.exception.InformationalException
providerGroup
- The Provider Group for whom the security check has to be performed.curam.util.exception.InformationalException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) @Implementable void checkProviderOrganizationSecurity(ProviderOrganization providerOrganization) throws curam.util.exception.InformationalException
providerOrganization
- The Provider Organization for whom the security check has to be performed.curam.util.exception.InformationalException
- Generic Exception Signature.The default implementation -
curam.provider.impl.ProviderSecurityImpl#checkProviderOrganizationSecurity(
ProviderOrganization).
@AccessLevel(value=EXTERNAL) @Implementable boolean providerOrganizationSecurityCheckSucceeded(ProviderOrganization providerOrganization) throws curam.util.exception.InformationalException
providerOrganization
- The Provider Organization for whom the security check has to be performed.curam.util.exception.InformationalException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) @Implementable boolean isUserProviderSupervisor(Provider provider, java.lang.String userName) throws curam.util.exception.InformationalException
provider
- The Provider for whom the security check has to be performed.userName
- The user we are checking for.curam.util.exception.InformationalException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) @Implementable void checkUserSecurityForProvider(Provider provider) throws curam.util.exception.AppException, curam.util.exception.InformationalException
provider
- The Provider for whom the security check has to be performed.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.