com.atlassian.bamboo.artifact
Class ArtifactPermissionServiceImpl

java.lang.Object
  extended by com.atlassian.bamboo.artifact.ArtifactPermissionServiceImpl
All Implemented Interfaces:
ArtifactPermissionService

public class ArtifactPermissionServiceImpl
extends java.lang.Object
implements ArtifactPermissionService


Constructor Summary
ArtifactPermissionServiceImpl(CachedPlanManager cachedPlanManager, DeploymentProjectService deploymentProjectService, BambooPermissionManager bambooPermissionManager)
           
 
Method Summary
 boolean hasReadPermission(Artifact artifact)
          Checks whether a permission is granted to read an Artifact
 boolean hasReadPermission(Artifact artifact, org.acegisecurity.Authentication authentication)
          Checks whether a permission is granted to read an Artifact
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactPermissionServiceImpl

public ArtifactPermissionServiceImpl(CachedPlanManager cachedPlanManager,
                                     DeploymentProjectService deploymentProjectService,
                                     BambooPermissionManager bambooPermissionManager)
Method Detail

hasReadPermission

public boolean hasReadPermission(@NotNull
                                 Artifact artifact,
                                 @Nullable
                                 org.acegisecurity.Authentication authentication)
Description copied from interface: ArtifactPermissionService
Checks whether a permission is granted to read an Artifact

Specified by:
hasReadPermission in interface ArtifactPermissionService

hasReadPermission

public boolean hasReadPermission(@NotNull
                                 Artifact artifact)
Description copied from interface: ArtifactPermissionService
Checks whether a permission is granted to read an Artifact

Specified by:
hasReadPermission in interface ArtifactPermissionService


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.