Uses of Class
com.atlassian.jira.exception.PermissionException

Packages that use PermissionException
com.atlassian.jira.bc.user   
com.atlassian.jira.favourites   
com.atlassian.jira.service.util.handler   
com.atlassian.jira.user.util   
 

Uses of PermissionException in com.atlassian.jira.bc.user
 

Methods in com.atlassian.jira.bc.user that throw PermissionException
 com.atlassian.crowd.embedded.api.User UserService.createUserFromSignup(UserService.CreateUserValidationResult result)
          Given a valid validation result, this will create the user using the details provided in the validation result.
 com.atlassian.crowd.embedded.api.User UserService.createUserNoNotification(UserService.CreateUserValidationResult result)
          Given a valid validation result, this will create the user using the details provided in the validation result.
 com.atlassian.crowd.embedded.api.User UserService.createUserWithNotification(UserService.CreateUserValidationResult result)
          Given a valid validation result, this will create the user using the details provided in the validation result.
 

Uses of PermissionException in com.atlassian.jira.favourites
 

Methods in com.atlassian.jira.favourites that throw PermissionException
 void FavouritesManager.addFavourite(ApplicationUser user, S entity)
          Add the given entity as a favourite of the user passed in add to favourites count if necessary.
 void FavouritesManager.addFavourite(com.atlassian.crowd.embedded.api.User user, S entity)
          Deprecated. Use FavouritesManager.addFavourite(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.sharing.SharedEntity) instead. Since v6.0. Add the given entity as a favourite of the user passed in add to favourites count if necessary.
 void FavouritesManager.addFavouriteInPosition(ApplicationUser user, S entity, long position)
          Add the given entity as a favourite of the user passed in, in the specified position, add to favourites count if necessary.
 void FavouritesManager.addFavouriteInPosition(com.atlassian.crowd.embedded.api.User user, S entity, long position)
          Deprecated. Use FavouritesManager.addFavouriteInPosition(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.sharing.SharedEntity, long) instead. Since v6.0. Add the given entity as a favourite of the user passed in, in the specified position, add to favourites count if necessary. The entity currently in the specified position and all those after will be moved down one position.
 void FavouritesManager.decreaseFavouriteSequence(ApplicationUser user, S entity)
          Decreases the position of the SharedEntity relative to the user's set of all other entities of the same type.
 void FavouritesManager.decreaseFavouriteSequence(com.atlassian.crowd.embedded.api.User user, S entity)
          Deprecated. Use FavouritesManager.decreaseFavouriteSequence(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.sharing.SharedEntity) instead. Since v6.0. Decreases the position of the SharedEntity relative to the user's set of all other entities of the same type.
 void FavouritesManager.increaseFavouriteSequence(ApplicationUser user, S entity)
          Increases the position of the SharedEntity relative to the user's set of all other entities of the same type.
 void FavouritesManager.increaseFavouriteSequence(com.atlassian.crowd.embedded.api.User user, S entity)
          Deprecated. Use FavouritesManager.increaseFavouriteSequence(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.sharing.SharedEntity) instead. Since v6.0. Increases the position of the SharedEntity relative to the user's set of all other entities of the same type.
 boolean FavouritesManager.isFavourite(ApplicationUser user, S entity)
          Check to see if the given entity is a favourite of the user passed in.
 boolean FavouritesManager.isFavourite(com.atlassian.crowd.embedded.api.User user, S entity)
          Deprecated. Use FavouritesManager.isFavourite(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.sharing.SharedEntity) instead. Since v6.0. Check to see if the given entity is a favourite of the user passed in.
 void FavouritesManager.moveToEndFavouriteSequence(ApplicationUser user, S entity)
          Moves the position of the SharedEntity to the end relative to the user's set of all other entities of the same type.
 void FavouritesManager.moveToEndFavouriteSequence(com.atlassian.crowd.embedded.api.User user, S entity)
          Deprecated. Use FavouritesManager.moveToEndFavouriteSequence(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.sharing.SharedEntity) instead. Since v6.0. Moves the position of the SharedEntity to the end relative to the user's set of all other entities of the same type.
 void FavouritesManager.moveToStartFavouriteSequence(ApplicationUser user, S entity)
          Moves the position of the SharedEntity to the start relative to the user's set of all other entities of the same type.
 void FavouritesManager.moveToStartFavouriteSequence(com.atlassian.crowd.embedded.api.User user, S entity)
          Deprecated. Use FavouritesManager.moveToStartFavouriteSequence(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.sharing.SharedEntity) instead. Since v6.0. Moves the position of the SharedEntity to the start relative to the user's set of all other entities of the same type.
 

Uses of PermissionException in com.atlassian.jira.service.util.handler
 

Methods in com.atlassian.jira.service.util.handler that throw PermissionException
 com.atlassian.crowd.embedded.api.User DefaultMessageHandlerContext.createUser(String username, String password, String email, String fullname, Integer userEventType)
           
 com.atlassian.crowd.embedded.api.User MessageHandlerContext.createUser(String username, String password, String email, String fullname, Integer userEventType)
          Creates user in JIRA or just dummy user if run in dry run mode
 

Uses of PermissionException in com.atlassian.jira.user.util
 

Methods in com.atlassian.jira.user.util that throw PermissionException
 void UserUtil.addToJiraUsePermission(com.atlassian.crowd.embedded.api.User user)
          Takes the given user and adds him/her to all the groups that grant a user the global JIRA use permission.
 void UserUtil.addUserToGroup(com.atlassian.crowd.embedded.api.Group group, com.atlassian.crowd.embedded.api.User userToAdd)
          This is used to add a specified user to a specified group.
 void UserUtil.addUserToGroups(Collection<com.atlassian.crowd.embedded.api.Group> groups, com.atlassian.crowd.embedded.api.User userToAdd)
          This is used to add a user to many groups at once.
 void UserUtil.changePassword(com.atlassian.crowd.embedded.api.User user, String newPassword)
          Can be called to set the password for a user.
 com.atlassian.crowd.embedded.api.User UserUtil.createUserNoNotification(String username, String password, String emailAddress, String displayName)
          Creates a User from supplied details.
 com.atlassian.crowd.embedded.api.User UserUtil.createUserNoNotification(String username, String password, String emailAddress, String displayName, Long directoryId)
          Creates a User from supplied details.
 com.atlassian.crowd.embedded.api.User UserUtil.createUserWithNotification(String username, String password, String email, String fullname, int userEventType)
          Creates a User from supplied details.
 com.atlassian.crowd.embedded.api.User UserUtil.createUserWithNotification(String username, String password, String email, String fullname, Long directoryId, int userEventType)
          Creates a User from supplied details.
 void UserUtil.removeUserFromGroup(com.atlassian.crowd.embedded.api.Group group, com.atlassian.crowd.embedded.api.User userToRemove)
          This is used to remove a specified user from a specified group.
 void UserUtil.removeUserFromGroups(Collection<com.atlassian.crowd.embedded.api.Group> groups, com.atlassian.crowd.embedded.api.User userToRemove)
          This is used to remove a user from many groups at once.
 



Copyright © 2002-2013 Atlassian. All Rights Reserved.