com.atlassian.jira.dev.reference.plugin.user
Class ReferencePreDeleteUserErrors

java.lang.Object
  extended by com.atlassian.jira.dev.reference.plugin.user.ReferencePreDeleteUserErrors
All Implemented Interfaces:
PreDeleteUserErrors

public class ReferencePreDeleteUserErrors
extends Object
implements PreDeleteUserErrors

Provides basic example of the pre-delete-user-errors plugin point

Since:
6.0

Constructor Summary
ReferencePreDeleteUserErrors()
           
 
Method Summary
 List<WebErrorMessage> getPreDeleteUserErrors(com.atlassian.crowd.embedded.api.User user)
          This will be called when a user is about to be deleted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferencePreDeleteUserErrors

public ReferencePreDeleteUserErrors()
Method Detail

getPreDeleteUserErrors

public List<WebErrorMessage> getPreDeleteUserErrors(com.atlassian.crowd.embedded.api.User user)
Description copied from interface: PreDeleteUserErrors
This will be called when a user is about to be deleted. Returning a non-empty list of WebErrorMessage will prevent the user from being deleted.

Specified by:
getPreDeleteUserErrors in interface PreDeleteUserErrors
Parameters:
user - that is being considered for deletion
Returns:
a list of WebErrorMessage about to the provided user


Copyright © 2002-2013 Atlassian. All Rights Reserved.