Package com.atlassian.bamboo.artifact
Class ArtifactPermissionServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.artifact.ArtifactPermissionServiceImpl
-
- All Implemented Interfaces:
ArtifactPermissionService
public class ArtifactPermissionServiceImpl extends Object implements ArtifactPermissionService
-
-
Constructor Summary
Constructors Constructor Description ArtifactPermissionServiceImpl(CachedPlanManager cachedPlanManager, DeploymentProjectService deploymentProjectService, BambooPermissionManager bambooPermissionManager, ArtifactDao artifactDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
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 Detail
-
ArtifactPermissionServiceImpl
public ArtifactPermissionServiceImpl(CachedPlanManager cachedPlanManager, DeploymentProjectService deploymentProjectService, BambooPermissionManager bambooPermissionManager, ArtifactDao artifactDao)
-
-
Method Detail
-
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
public boolean hasReadPermission(@NotNull @NotNull Artifact artifact)
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
-
-