Package com.atlassian.bamboo.artifact
Class ArtifactPermissionServiceImpl
java.lang.Object
com.atlassian.bamboo.artifact.ArtifactPermissionServiceImpl
- All Implemented Interfaces:
ArtifactPermissionService
-
Constructor Summary
ConstructorDescriptionArtifactPermissionServiceImpl
(CachedPlanManager cachedPlanManager, DeploymentProjectService deploymentProjectService, BambooPermissionManager bambooPermissionManager, ArtifactDao artifactDao) -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasReadPermission
(long artifactId) Checks whether a permission is granted to read anArtifact
boolean
hasReadPermission
(@NotNull Artifact artifact) Checks whether a permission is granted to read anArtifact
boolean
hasReadPermission
(@NotNull Artifact artifact, @Nullable org.acegisecurity.Authentication authentication) Checks whether a permission is granted to read anArtifact
-
Constructor Details
-
ArtifactPermissionServiceImpl
public ArtifactPermissionServiceImpl(CachedPlanManager cachedPlanManager, DeploymentProjectService deploymentProjectService, BambooPermissionManager bambooPermissionManager, ArtifactDao artifactDao)
-
-
Method Details
-
hasReadPermission
public boolean hasReadPermission(@NotNull @NotNull Artifact artifact, @Nullable @Nullable org.acegisecurity.Authentication authentication) Description copied from interface:ArtifactPermissionService
Checks whether a permission is granted to read anArtifact
- Specified by:
hasReadPermission
in interfaceArtifactPermissionService
-
hasReadPermission
Description copied from interface:ArtifactPermissionService
Checks whether a permission is granted to read anArtifact
- Specified by:
hasReadPermission
in interfaceArtifactPermissionService
-
hasReadPermission
public boolean hasReadPermission(long artifactId) Description copied from interface:ArtifactPermissionService
Checks whether a permission is granted to read anArtifact
- Specified by:
hasReadPermission
in interfaceArtifactPermissionService
-