com.atlassian.jira.user
Class MockUserDeleteVeto

java.lang.Object
  extended by com.atlassian.jira.user.MockUserDeleteVeto
All Implemented Interfaces:
UserDeleteVeto

public class MockUserDeleteVeto
extends Object
implements UserDeleteVeto

Since:
v6.1

Constructor Summary
MockUserDeleteVeto()
           
 
Method Summary
 boolean allowDeleteUser(com.atlassian.crowd.embedded.api.User user)
           
 long getCommentCountByAuthor(ApplicationUser user)
           
 void setDefaultAllow(boolean defaultAllow)
           
 MockUserDeleteVeto setDefaultCommentCount(int defaultCommentCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockUserDeleteVeto

public MockUserDeleteVeto()
Method Detail

allowDeleteUser

public boolean allowDeleteUser(com.atlassian.crowd.embedded.api.User user)
Specified by:
allowDeleteUser in interface UserDeleteVeto

getCommentCountByAuthor

public long getCommentCountByAuthor(ApplicationUser user)
Specified by:
getCommentCountByAuthor in interface UserDeleteVeto

setDefaultAllow

public void setDefaultAllow(boolean defaultAllow)

setDefaultCommentCount

public MockUserDeleteVeto setDefaultCommentCount(int defaultCommentCount)


Copyright © 2002-2014 Atlassian. All Rights Reserved.