Modifier and Type | Method and Description |
---|---|
static void |
JiraTestUtil.loginUser(ApplicationUser user)
This method will login a user to the current webwork action context.
|
static void |
JiraTestUtil.logoutUser(ApplicationUser user)
This method will logout a user to the current webwork action context.
|
Modifier and Type | Method and Description |
---|---|
long |
EntitiesExporter.exportEntities(OutputStream outputStream,
SortedSet<String> entityNames,
EntityXmlWriter entityWriter,
ApplicationUser exportingUser)
Exports the entities in the TreeSet to the outputStream.
|
long |
DefaultSaxEntitiesExporter.exportEntities(OutputStream outputStream,
SortedSet<String> entityNames,
EntityXmlWriter entityWriter,
ApplicationUser exportingUser) |
protected void |
DefaultSaxEntitiesExporter.writeHeader(PrintWriter printWriter,
ApplicationUser exportingUser)
This will write the start of the exported XML file out.
|
Modifier and Type | Method and Description |
---|---|
ErrorCollection |
SelectComponentAssigneesUtil.execute(ApplicationUser user) |
ErrorCollection |
SelectComponentAssigneesUtilImpl.execute(ApplicationUser user) |
boolean |
SelectComponentAssigneesUtil.hasPermission(Project project,
ApplicationUser user) |
boolean |
SelectComponentAssigneesUtilImpl.hasPermission(Project project,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
ErrorCollection |
AddFieldToScreenUtilImpl.validate(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
List<SimpleLink> |
AdminHistoryLinkFactory.getLinks(ApplicationUser user,
Map<String,Object> params) |
boolean |
DefaultTabLoadedDataProvider.isAdmin(ApplicationUser user) |
boolean |
TabLoadedDataProvider.isAdmin(ApplicationUser user) |
boolean |
DefaultTabLoadedDataProvider.isSysAdmin(ApplicationUser user) |
boolean |
TabLoadedDataProvider.isSysAdmin(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
boolean |
ApplicationAuthorizationServiceImpl.canUseApplication(ApplicationUser user,
com.atlassian.application.api.ApplicationKey key) |
boolean |
ApplicationAuthorizationService.canUseApplication(ApplicationUser user,
com.atlassian.application.api.ApplicationKey key)
Determines whether the given user is allowed to access the passed application.
|
Set<com.atlassian.application.api.ApplicationAccess.AccessError> |
ApplicationAuthorizationServiceImpl.getAccessErrors(ApplicationUser user,
com.atlassian.application.api.ApplicationKey key) |
Set<com.atlassian.application.api.ApplicationAccess.AccessError> |
ApplicationAuthorizationService.getAccessErrors(ApplicationUser user,
com.atlassian.application.api.ApplicationKey key)
Gets the errors that would occur if the passed user accessed the passed application.
|
Set<ApplicationRole> |
MockApplicationRoleManager.getOccupiedLicenseRolesForUser(ApplicationUser user) |
Set<ApplicationRole> |
DefaultApplicationRoleManager.getOccupiedLicenseRolesForUser(ApplicationUser user) |
Set<ApplicationRole> |
ApplicationRoleManager.getOccupiedLicenseRolesForUser(ApplicationUser user)
|
Set<ApplicationRole> |
MockApplicationRoleManager.getRolesForUser(ApplicationUser user) |
Set<ApplicationRole> |
DefaultApplicationRoleManager.getRolesForUser(ApplicationUser user) |
Set<ApplicationRole> |
ApplicationRoleManager.getRolesForUser(ApplicationUser user)
|
boolean |
MockApplicationRoleManager.hasAnyRole(ApplicationUser user) |
boolean |
DefaultApplicationRoleManager.hasAnyRole(ApplicationUser user) |
boolean |
ApplicationRoleManager.hasAnyRole(ApplicationUser user)
Returns true if the given user has been assigned to any
ApplicationRole that is backed by a
(potentially exceeded) license. |
boolean |
MockApplicationRoleManager.hasExceededAllRoles(ApplicationUser user) |
boolean |
DefaultApplicationRoleManager.hasExceededAllRoles(ApplicationUser user) |
boolean |
ApplicationRoleManager.hasExceededAllRoles(ApplicationUser user)
Returns true if the user limits of all of the given user's assigned
ApplicationRole s have been exceeded. |
boolean |
MockApplicationRoleManager.hasExceededAllRolesAsync(ApplicationUser user) |
boolean |
DefaultApplicationRoleManager.hasExceededAllRolesAsync(ApplicationUser user) |
boolean |
ApplicationRoleManager.hasExceededAllRolesAsync(ApplicationUser user)
Async version of
ApplicationRoleManager.hasExceededAllRoles(ApplicationUser) . |
void |
ApplicationConfigurationHelper.setupAdminForDefaultApplications(ApplicationUser user)
Configure the passed admin for all the default applications by adding the admin to all the applications default
groups.
|
boolean |
MockApplicationRoleManager.userHasRole(ApplicationUser user,
com.atlassian.application.api.ApplicationKey key) |
boolean |
DefaultApplicationRoleManager.userHasRole(ApplicationUser user,
com.atlassian.application.api.ApplicationKey key) |
boolean |
ApplicationRoleManager.userHasRole(ApplicationUser user,
com.atlassian.application.api.ApplicationKey key)
Returns
true if the passed user belongs to the ApplicationRole associated with the given key. |
boolean |
MockApplicationRoleManager.userOccupiesRole(ApplicationUser user,
com.atlassian.application.api.ApplicationKey key) |
boolean |
DefaultApplicationRoleManager.userOccupiesRole(ApplicationUser user,
com.atlassian.application.api.ApplicationKey key) |
boolean |
ApplicationRoleManager.userOccupiesRole(ApplicationUser user,
com.atlassian.application.api.ApplicationKey key)
Returns
true if the passed user occupies a seat in the ApplicationRole associated with the given key. |
Optional<String> |
ApplicationConfigurationHelper.validateApplicationForConfiguration(com.atlassian.application.api.ApplicationKey applicationKey,
ApplicationUser user)
Validate whether the specified application can be configured.
|
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
UserAssociationStore.getUsersFromSink(String associationType,
org.ofbiz.core.entity.GenericValue sink)
Finds and returns a list of Users associated with a given sink.
|
List<ApplicationUser> |
UserAssociationStoreImpl.getUsersFromSink(String associationType,
org.ofbiz.core.entity.GenericValue sink) |
Modifier and Type | Method and Description |
---|---|
boolean |
UserAssociationStore.associationExists(String associationType,
ApplicationUser user,
String sinkNodeEntity,
Long sinkNodeId)
Tests if the given association exists.
|
boolean |
UserAssociationStoreImpl.associationExists(String associationType,
ApplicationUser user,
String sinkNodeEntity,
Long sinkNodeId) |
void |
UserAssociationStore.createAssociation(String associationType,
ApplicationUser user,
org.ofbiz.core.entity.GenericValue sink)
Creates an association between a user and a sink node.
|
void |
UserAssociationStoreImpl.createAssociation(String associationType,
ApplicationUser user,
org.ofbiz.core.entity.GenericValue sink) |
void |
UserAssociationStore.createAssociation(String associationType,
ApplicationUser user,
Issue sink)
Creates an association between a user and a sink node.
|
void |
UserAssociationStoreImpl.createAssociation(String associationType,
ApplicationUser user,
Issue sink) |
List<org.ofbiz.core.entity.GenericValue> |
UserAssociationStore.getSinksFromUser(String associationType,
ApplicationUser user,
String sinkNodeEntity)
Returns all the sinks that are associated with the given User.
|
List<org.ofbiz.core.entity.GenericValue> |
UserAssociationStoreImpl.getSinksFromUser(String associationType,
ApplicationUser user,
String sinkNodeEntity) |
void |
UserAssociationStore.removeAssociation(String associationType,
ApplicationUser user,
Issue sink)
Removes an association between a user and a sink node.
|
void |
UserAssociationStoreImpl.removeAssociation(String associationType,
ApplicationUser user,
Issue sink) |
void |
UserAssociationStore.removeUserAssociationsFromUser(String associationType,
ApplicationUser user,
String sinkNodeEntity)
Removes all User Associations for this User of the given associationType
|
void |
UserAssociationStoreImpl.removeUserAssociationsFromUser(String associationType,
ApplicationUser user,
String sinkNodeEntity) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
AuditingEntry.author() |
ApplicationUser |
RecordRequest.getAuthor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AuditingEntry.Builder |
AuditingEntry.Builder.author(ApplicationUser author) |
static String |
AuditingStoreImpl.computeSearchField(String summary,
AssociatedItem objectItem,
Iterable<AssociatedItem> associatedItems,
Iterable<ChangedValue> changedValues,
String remoteAddress,
ApplicationUser author,
String categoryName,
String eventSource) |
void |
AuditingStore.storeRecord(AuditingCategory category,
String categoryName,
String summaryI18nKey,
String eventSource,
ApplicationUser author,
String remoteAddress,
AssociatedItem object,
Iterable<ChangedValue> changedValues,
Iterable<AssociatedItem> associatedItems,
boolean isAuthorSysAdmin)
Deprecated.
|
void |
AuditingStoreImpl.storeRecord(AuditingCategory category,
String categoryName,
String summary,
String eventSource,
ApplicationUser author,
String remoteAddress,
AssociatedItem objectItem,
Iterable<ChangedValue> changedValues,
Iterable<AssociatedItem> associatedItems,
boolean isAuthorSysAdmin) |
Constructor and Description |
---|
AffectedUser(ApplicationUser user) |
RecordRequest(AuditingCategory category,
String summary,
String eventSource,
ApplicationUser author,
String remoteAddress)
Deprecated.
|
RecordRequest(AuditingCategory category,
String summary,
String eventSource,
ApplicationUser author,
String remoteAddress,
String description)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected ApplicationUser |
AuditingEntries.getLoggedInUser() |
Modifier and Type | Method and Description |
---|---|
static com.atlassian.audit.entity.AuditResource |
AuditResources.from(ApplicationUser user) |
static com.atlassian.audit.entity.AuditAuthor |
AuditAuthors.from(ApplicationUser user)
Creates
AuditAuthor from ApplicationUser |
Modifier and Type | Method and Description |
---|---|
void |
AttachmentHandlerImpl.handleAttachmentDeleted(Attachment attachment,
Issue issue,
ApplicationUser user) |
void |
AttachmentHandler.handleAttachmentDeleted(Attachment attachment,
Issue issue,
ApplicationUser user) |
void |
WebsudoAuditHandler.handleWebsudoWrongPassword(ApplicationUser user) |
void |
WebsudoAuditHandlerImpl.handleWebsudoWrongPassword(ApplicationUser user) |
void |
LoggingWebsudoAuditHandler.handleWebsudoWrongPassword(ApplicationUser user) |
void |
UserEventHandlerImpl.onUserLoggedOut(ApplicationUser user) |
void |
UserEventHandler.onUserLoggedOut(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
void |
AuditingStoreToAuditServiceImpl.storeRecord(AuditingCategory category,
String categoryName,
String summaryI18nKey,
String eventSource,
ApplicationUser author,
String remoteAddress,
AssociatedItem object,
Iterable<ChangedValue> changedValues,
Iterable<AssociatedItem> associatedItems,
boolean isAuthorSysAdmin) |
Modifier and Type | Method and Description |
---|---|
boolean |
AvatarServiceImpl.canSetCustomUserAvatar(ApplicationUser remoteUser,
ApplicationUser user) |
boolean |
AvatarService.canSetCustomUserAvatar(ApplicationUser remoteUser,
ApplicationUser user)
Returns a boolean indicating whether the calling user can edit the custom user avatar for the user with the given
username.
|
boolean |
AvatarServiceImpl.canSetCustomUserAvatar(ApplicationUser remoteUser,
String username) |
boolean |
AvatarService.canSetCustomUserAvatar(ApplicationUser remoteUser,
String username)
Deprecated.
|
boolean |
TypeAvatarService.canUserCreateAvatar(ApplicationUser remoteUser,
String owningObjectId)
Return information if user can add avatar to given subject.
|
protected Long |
AvatarServiceImpl.configuredAvatarIdFor(ApplicationUser user)
Returns the avatar id that is configured for the given User.
|
Avatar |
AvatarManagerImpl.create(String fileName,
String contentType,
ApplicationUser owner,
InputStream imageData,
Selection croppingSelection) |
Avatar |
AvatarManager.create(String fileName,
String contentType,
ApplicationUser owner,
InputStream image,
Selection selection)
Deprecated.
|
Avatar |
TypeAvatarService.createAvatar(ApplicationUser remoteUser,
String owningObjectId,
AvatarImageDataProvider imageDataProvider)
Adds new avatar to given subject with provided image data - with permissions of given remote user.
|
static RemoteAvatar |
RemoteAvatar.from(ApplicationUser user)
Build an Avatar representation for a local user avatar.
|
URI |
AvatarServiceImpl.GravatarUrlStrategy.get(ApplicationUser remoteUser,
ApplicationUser user,
Avatar.Size size) |
Avatar |
AvatarServiceImpl.getAvatar(ApplicationUser remoteUser,
ApplicationUser avatarUser) |
Avatar |
AvatarService.getAvatar(ApplicationUser remoteUser,
ApplicationUser avatarUser)
Returns the Avatar for the given user, if configured.
|
Avatar |
TypeAvatarService.getAvatar(ApplicationUser remoteUser,
long avatarId)
Return avatar using remote user permissions.
|
Avatar |
AvatarServiceImpl.getAvatar(ApplicationUser remoteUser,
String username) |
Avatar |
AvatarService.getAvatar(ApplicationUser remoteUser,
String username)
Deprecated.
Use
AvatarService.getAvatar(ApplicationUser, ApplicationUser) . Since v6.0 |
URI |
AvatarImageResolver.getAvatarAbsoluteUri(ApplicationUser remoteUser,
Avatar avatar,
Avatar.Size requestedSize)
Deprecated.
Return absolute link to display avatar image of given size.
|
URI |
AvatarServiceImpl.getAvatarAbsoluteURL(ApplicationUser remoteUser,
ApplicationUser avatarUser,
Avatar.Size size) |
URI |
AvatarService.getAvatarAbsoluteURL(ApplicationUser remoteUser,
ApplicationUser avatarUser,
Avatar.Size size)
This is the same as
AvatarService.getAvatarURL(ApplicationUser, String, Avatar.Size)
but returns an absolute URL. |
URI |
AvatarServiceImpl.getAvatarAbsoluteURL(ApplicationUser remoteUser,
String username,
Avatar.Size size) |
URI |
AvatarService.getAvatarAbsoluteURL(ApplicationUser remoteUser,
String username,
Avatar.Size size)
Deprecated.
Use
#getAvatarAbsoluteURL(ApplicationUser, ApplicationUser, Size) . Since v6.0 |
URI |
AvatarImageResolver.getAvatarRelativeUri(ApplicationUser remoteUser,
Avatar avatar,
Avatar.Size requestedSize)
Deprecated.
Return link (relative to application context) to display avatar image of given size.
|
SystemAndCustomAvatars |
TypeAvatarService.getAvatars(ApplicationUser remoteUser,
String owningObjectId)
Get avatars assigned to given subject - with permissions of remote user.
|
Avatar |
AvatarServiceImpl.getAvatarTagged(ApplicationUser remoteUser,
ApplicationUser avatarUser) |
Avatar |
AvatarService.getAvatarTagged(ApplicationUser remoteUser,
ApplicationUser avatarUser) |
URI |
AvatarServiceImpl.getAvatarURL(ApplicationUser remoteUser,
ApplicationUser avatarUser) |
URI |
AvatarService.getAvatarURL(ApplicationUser remoteUser,
ApplicationUser avatarUser)
Returns the URL for the avatar of the user having the given username for displaying on a page that should be
shown for the passed in remoteUser.
|
URI |
AvatarServiceImpl.getAvatarURL(ApplicationUser remoteUser,
ApplicationUser avatarUser,
Avatar.Size size) |
URI |
AvatarService.getAvatarURL(ApplicationUser remoteUser,
ApplicationUser avatarUser,
Avatar.Size size)
Returns the URL for the avatar of the user having the given username for displaying on a page that should be
shown for the passed in remoteUser.
|
URI |
AvatarServiceImpl.getAvatarURL(ApplicationUser remoteUser,
String username) |
URI |
AvatarService.getAvatarURL(ApplicationUser remoteUser,
String username)
Deprecated.
Use
AvatarService.getAvatarURL(ApplicationUser, ApplicationUser) . Since v6.0 |
URI |
AvatarServiceImpl.getAvatarURL(ApplicationUser remoteUser,
String username,
Avatar.Size size) |
URI |
AvatarService.getAvatarURL(ApplicationUser remoteUser,
String username,
Avatar.Size size)
Deprecated.
Use
#getAvatarURL(ApplicationUser, ApplicationUser, Size) . Since v6.0 |
URI |
AvatarServiceImpl.getAvatarUrlNoPermCheck(ApplicationUser avatarUser,
Avatar.Size size) |
URI |
AvatarService.getAvatarUrlNoPermCheck(ApplicationUser avatarUser,
Avatar.Size size)
This is the same as
#getAvatarURL(ApplicationUser, String, Size) but does no permission checking. |
URI |
AvatarServiceImpl.getAvatarUrlNoPermCheck(ApplicationUser avatarUser,
Avatar avatar,
Avatar.Size size)
Builds a URI for a JIRA avatar with the requested size.
|
URI |
AvatarService.getAvatarUrlNoPermCheck(ApplicationUser applicationUser,
Avatar avatar,
Avatar.Size size)
Deprecated.
|
static Map<String,URI> |
AvatarUrls.getAvatarURLs(ApplicationUser avatarUser,
Avatar avatar)
Deprecated.
the notion of "all the avatar sizes" is broken. We plan to eventually scale to any reasonable pixel size.
|
Optional<URI> |
AvatarServiceImpl.getGravatarAvatarURL(ApplicationUser avatarUser,
Avatar.Size size) |
Optional<URI> |
AvatarService.getGravatarAvatarURL(ApplicationUser avatarUser,
Avatar.Size size)
If Gravatar is enabled returns Gravatar url for given user at given size.
|
boolean |
AvatarServiceImpl.hasCustomUserAvatar(ApplicationUser remoteUser,
ApplicationUser user) |
boolean |
AvatarService.hasCustomUserAvatar(ApplicationUser remoteUser,
ApplicationUser username)
Returns true if the user has configured a custom avatar, false otherwise.
|
boolean |
AvatarServiceImpl.hasCustomUserAvatar(ApplicationUser remoteUser,
String username) |
boolean |
AvatarService.hasCustomUserAvatar(ApplicationUser remoteUser,
String username)
Deprecated.
|
boolean |
AvatarManagerImpl.hasPermissionToEdit(ApplicationUser remoteUser,
ApplicationUser owner) |
boolean |
AvatarManager.hasPermissionToEdit(ApplicationUser remoteUser,
ApplicationUser owner)
Deprecated.
|
boolean |
AvatarManagerImpl.hasPermissionToEdit(ApplicationUser remoteUser,
Avatar.Type type,
String ownerId) |
boolean |
AvatarManager.hasPermissionToEdit(ApplicationUser remoteUser,
Avatar.Type type,
String ownerId)
Deprecated.
|
boolean |
AvatarManagerImpl.hasPermissionToEdit(ApplicationUser remoteUser,
Project owner) |
boolean |
AvatarManager.hasPermissionToEdit(ApplicationUser remoteUser,
Project owner)
Deprecated.
|
boolean |
AvatarManagerImpl.hasPermissionToView(ApplicationUser remoteUser,
ApplicationUser owner) |
boolean |
AvatarManager.hasPermissionToView(ApplicationUser remoteUser,
ApplicationUser owner)
Deprecated.
Use
AvatarManager.userCanView(ApplicationUser, Avatar) Since v7.1 |
boolean |
AvatarManagerImpl.hasPermissionToView(ApplicationUser remoteUser,
Avatar.Type type,
String ownerId) |
boolean |
AvatarManager.hasPermissionToView(ApplicationUser remoteUser,
Avatar.Type type,
String ownerId)
Deprecated.
Use
AvatarManager.userCanView(ApplicationUser, Avatar) Since v6.0 |
boolean |
AvatarManagerImpl.hasPermissionToView(ApplicationUser remoteUser,
Project project) |
boolean |
AvatarManager.hasPermissionToView(ApplicationUser remoteUser,
Project owner)
Deprecated.
Use
AvatarManager.userCanView(ApplicationUser, Avatar) Since v7.1 |
boolean |
AvatarServiceImpl.isUsingExternalAvatar(ApplicationUser remoteUser,
ApplicationUser avatarUser) |
boolean |
AvatarService.isUsingExternalAvatar(ApplicationUser remoteUser,
ApplicationUser avatarUser)
Check whether a user currently has an external avatar (for example, a Gravatar).
|
String |
AvatarServiceHelper.renderURL(ApplicationUser loggedInUser,
ApplicationUser avatarUser,
Avatar.Size size) |
protected void |
AvatarServiceImpl.setConfiguredAvatarIdFor(ApplicationUser user,
Long avatarId)
Sets the given avatar id as the configured avatar id for a user.
|
void |
AvatarServiceImpl.setCustomUserAvatar(ApplicationUser remoteUser,
ApplicationUser user,
Long avatarId) |
void |
AvatarService.setCustomUserAvatar(ApplicationUser remoteUser,
ApplicationUser user,
Long avatarId)
Sets a custom avatar for a given user.
|
void |
AvatarServiceImpl.setCustomUserAvatar(ApplicationUser remoteUser,
String username,
Long avatarId) |
void |
AvatarService.setCustomUserAvatar(ApplicationUser remoteUser,
String username,
Long avatarId)
Deprecated.
|
void |
TemporaryAvatars.storeTemporaryAvatar(ApplicationUser remoteUser,
TemporaryAvatar avatar,
Avatar.Type type,
String owningObjectId)
Deprecated.
This method cannot understand pluggable icon types.
Use
TemporaryAvatars.storeTemporaryAvatar(ApplicationUser, TemporaryAvatar, IconType, IconOwningObjectId) . Since v7.1 |
void |
TemporaryAvatars.storeTemporaryAvatar(ApplicationUser remoteUser,
TemporaryAvatar avatar,
IconType iconType,
IconOwningObjectId owningObjectId)
Store temporary avatar - make it available to displaying servlet.
|
boolean |
AvatarManagerImpl.userCanCreateFor(ApplicationUser remoteUser,
IconType iconType,
IconOwningObjectId owningObjectId) |
boolean |
AvatarManager.userCanCreateFor(ApplicationUser remoteUser,
IconType iconType,
IconOwningObjectId owningObjectId)
Check if the user could create an avatar for this owning object.
|
boolean |
AvatarManagerImpl.userCanDelete(ApplicationUser remoteUser,
Avatar icon) |
boolean |
AvatarManager.userCanDelete(ApplicationUser remoteUser,
Avatar icon)
Check if the user can delete the icon.
|
boolean |
AvatarManagerImpl.userCanView(ApplicationUser remoteUser,
Avatar icon) |
boolean |
AvatarManager.userCanView(ApplicationUser remoteUser,
Avatar icon)
Check if the user can view the icon.
|
Modifier and Type | Method and Description |
---|---|
void |
TemporaryAvatarsImpl.storeTemporaryAvatar(ApplicationUser remoteUser,
TemporaryAvatar avatar,
Avatar.Type type,
String ownerId) |
void |
TemporaryAvatarsImpl.storeTemporaryAvatar(ApplicationUser remoteUser,
TemporaryAvatar avatar,
IconType iconType,
IconOwningObjectId ownerId) |
Modifier and Type | Method and Description |
---|---|
boolean |
BasicTypedTypeAvatarService.canUserCreateAvatar(ApplicationUser remoteUser,
String owningObjectId) |
Avatar |
BasicTypedTypeAvatarService.createAvatar(ApplicationUser remoteUser,
String owningObjectId,
AvatarImageDataProvider imageDataProvider) |
Avatar |
BasicTypedTypeAvatarService.getAvatar(ApplicationUser remoteUser,
long avatarId) |
URI |
BasicAvatarsImageResolver.getAvatarAbsoluteUri(ApplicationUser avatarUser,
Avatar avatar,
Avatar.Size requestedSize)
Deprecated.
|
URI |
BasicAvatarsImageResolver.getAvatarRelativeUri(ApplicationUser remoteUser,
Avatar avatar,
Avatar.Size requestedSize)
Deprecated.
|
SystemAndCustomAvatars |
BasicTypedTypeAvatarService.getAvatars(ApplicationUser remoteUser,
String owningObjectId) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
JiraServiceContextImpl.getLoggedInApplicationUser() |
ApplicationUser |
JiraServiceContext.getLoggedInApplicationUser()
Returns the User who has invoked the JIRA service method.
|
ApplicationUser |
JiraServiceContextImpl.getLoggedInUser() |
ApplicationUser |
JiraServiceContext.getLoggedInUser()
Deprecated.
since 6.1 use
JiraServiceContext.getLoggedInApplicationUser() instead |
Constructor and Description |
---|
JiraServiceContextImpl(ApplicationUser user)
Instantiates this class with given user and new empty error collection.
|
JiraServiceContextImpl(ApplicationUser user,
ErrorCollection errorCollection)
Instantiates this class with user and error collection.
|
JiraServiceContextImpl(ApplicationUser user,
ErrorCollection errorCollection,
I18nHelper i18nHelper)
Instantiates this class with user and error collection and I18nHelper.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Status> |
DefaultStatusService.createStatus(ApplicationUser user,
String name,
String description,
String iconUrl,
StatusCategory statusCategory) |
ServiceOutcome<Status> |
StatusService.createStatus(ApplicationUser user,
String name,
String description,
String iconUrl,
StatusCategory statusCategory)
Validates and when validation is performed successfully creates new status basing on given parameters
|
ServiceOutcome<Status> |
DefaultStatusService.editStatus(ApplicationUser user,
Status status,
String name,
String description,
String iconUrl,
StatusCategory statusCategory) |
ServiceOutcome<Status> |
StatusService.editStatus(ApplicationUser user,
Status status,
String name,
String description,
String iconUrl,
StatusCategory statusCategory)
Validates and when validation is performed successfully alters given status basing on given parameters
|
ServiceOutcome<Collection<IssueType>> |
DefaultConstantsService.getAllIssueTypes(ApplicationUser user) |
ServiceOutcome<Collection<IssueType>> |
ConstantsService.getAllIssueTypes(ApplicationUser user)
Returns a ServiceOutcome containing all IssueTypes.
|
ServiceOutcome<Collection<StatusCategory>> |
DefaultConstantsService.getAllStatusCategories(ApplicationUser user) |
ServiceOutcome<Collection<StatusCategory>> |
ConstantsService.getAllStatusCategories(ApplicationUser user)
Returns a ServiceOutcome containing all StatusCategories.
|
ServiceOutcome<Collection<Status>> |
DefaultConstantsService.getAllStatuses(ApplicationUser user) |
ServiceOutcome<Collection<Status>> |
ConstantsService.getAllStatuses(ApplicationUser user)
Returns a ServiceOutcome containing all Statuses.
|
ServiceOutcome<List<JiraWorkflow>> |
DefaultStatusService.getAssociatedWorkflows(ApplicationUser user,
Status status) |
ServiceOutcome<List<JiraWorkflow>> |
StatusService.getAssociatedWorkflows(ApplicationUser user,
Status status)
Gets a list of workflows which contains given status
|
ServiceOutcome<StatusCategory> |
DefaultConstantsService.getDefaultStatusCategory(ApplicationUser user) |
ServiceOutcome<StatusCategory> |
ConstantsService.getDefaultStatusCategory(ApplicationUser user)
Returns a ServiceOutcome containing default StatusCategory.
|
ServiceOutcome<IssueType> |
DefaultConstantsService.getIssueTypeById(ApplicationUser user,
String issueTypeId) |
ServiceOutcome<IssueType> |
ConstantsService.getIssueTypeById(ApplicationUser user,
String issueTypeId)
Returns a ServiceOutcome containing the IssueType that has the given id.
|
ServiceOutcome<Status> |
DefaultConstantsService.getStatusById(ApplicationUser user,
String statusId) |
Status |
DefaultStatusService.getStatusById(ApplicationUser user,
String id) |
Status |
StatusService.getStatusById(ApplicationUser user,
String id)
Get a status by id.
|
ServiceOutcome<Status> |
ConstantsService.getStatusById(ApplicationUser user,
String statusId)
Returns a ServiceOutcome containing the Status that has the given id.
|
ServiceOutcome<Status> |
DefaultConstantsService.getStatusByName(ApplicationUser user,
String statusName) |
ServiceOutcome<Status> |
ConstantsService.getStatusByName(ApplicationUser user,
String statusName)
Returns a ServiceOutcome containing the Status that has the given Name.
|
ServiceOutcome<Status> |
DefaultConstantsService.getStatusByTranslatedName(ApplicationUser user,
String statusName) |
ServiceOutcome<Status> |
ConstantsService.getStatusByTranslatedName(ApplicationUser user,
String statusName)
Returns a ServiceOutcome containing the Status that has the given Name.
|
ServiceOutcome<StatusCategory> |
DefaultConstantsService.getStatusCategoryById(ApplicationUser user,
String id) |
ServiceOutcome<StatusCategory> |
ConstantsService.getStatusCategoryById(ApplicationUser user,
String id)
Returns a ServiceOutcome containing StatusCategory that has the gived id.
|
ServiceOutcome<StatusCategory> |
DefaultConstantsService.getStatusCategoryByKey(ApplicationUser user,
String key) |
ServiceOutcome<StatusCategory> |
ConstantsService.getStatusCategoryByKey(ApplicationUser user,
String key)
Returns a ServiceOutcome containing StatusCategory that has the gived key.
|
ServiceOutcome<Collection<StatusCategory>> |
DefaultConstantsService.getUserVisibleStatusCategories(ApplicationUser user) |
ServiceOutcome<Collection<StatusCategory>> |
ConstantsService.getUserVisibleStatusCategories(ApplicationUser user)
Returns a ServiceOutcome containing StatusCategories visible to any user.
|
ServiceResult |
DefaultStatusService.moveStatusDown(ApplicationUser user,
String id) |
ServiceResult |
StatusService.moveStatusDown(ApplicationUser user,
String id)
Move a status down the order.
|
ServiceResult |
DefaultStatusService.moveStatusUp(ApplicationUser user,
String id) |
ServiceResult |
StatusService.moveStatusUp(ApplicationUser user,
String id)
Move a status up the order.
|
ServiceResult |
DefaultStatusService.removeStatus(ApplicationUser user,
Status status) |
ServiceResult |
StatusService.removeStatus(ApplicationUser user,
Status status)
Removes a status.
|
ServiceResult |
DefaultStatusService.validateCreateStatus(ApplicationUser user,
String name,
String description,
String iconUrl,
StatusCategory statusCategory) |
ServiceResult |
StatusService.validateCreateStatus(ApplicationUser user,
String name,
String description,
String iconUrl,
StatusCategory statusCategory)
Validates new status basing on given parameters
|
ServiceResult |
DefaultStatusService.validateEditStatus(ApplicationUser user,
Status status,
String name,
String description,
String iconUrl,
StatusCategory statusCategory) |
ServiceResult |
StatusService.validateEditStatus(ApplicationUser user,
Status status,
String name,
String description,
String iconUrl,
StatusCategory statusCategory)
Validates given status basing on given parameters
|
ServiceResult |
DefaultStatusService.validateRemoveStatus(ApplicationUser user,
Status status) |
ServiceResult |
StatusService.validateRemoveStatus(ApplicationUser user,
Status status)
Validates removal of given status
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
CreateValidationResult.getUser() |
Modifier and Type | Method and Description |
---|---|
ServiceOutcomeImpl<List<Long>> |
DefaultCustomFieldService.addToScreenTabs(ApplicationUser user,
Long customFieldId,
List<Long> tabIds) |
ServiceOutcome<List<Long>> |
CustomFieldService.addToScreenTabs(ApplicationUser user,
Long customFieldId,
List<Long> tabIds)
Adds a custom field with the given id to selected tabs.
|
ServiceOutcomeImpl<List<CustomField>> |
DefaultCustomFieldService.findCustomFields(ApplicationUser user,
String searchString,
List<String> types,
List<String> projects,
List<String> screens)
Returns filtered list of customfields
|
ServiceOutcome<CustomField> |
DefaultCustomFieldService.getCustomFieldForEditConfig(ApplicationUser user,
String fieldId) |
ServiceOutcome<CustomField> |
CustomFieldService.getCustomFieldForEditConfig(ApplicationUser user,
String fieldId)
Return the custom field if the passed user has permission to edit its configuration.
|
Iterable<CustomFieldType<?,?>> |
DefaultCustomFieldService.getCustomFieldTypesForUser(ApplicationUser user) |
Iterable<CustomFieldType<?,?>> |
CustomFieldService.getCustomFieldTypesForUser(ApplicationUser user)
Return the
CustomFieldType s that the passed user can use to create a new CustomField . |
ServiceOutcomeImpl<List<Long>> |
DefaultCustomFieldService.removeFromScreenTabs(ApplicationUser user,
Long customFieldId,
List<Long> tabIds) |
ServiceOutcome<List<Long>> |
CustomFieldService.removeFromScreenTabs(ApplicationUser user,
Long customFieldId,
List<Long> tabIds)
Removes a custom field with the given id from selected tabs.
|
CreateValidationResult.Builder |
CreateValidationResult.Builder.user(ApplicationUser user) |
ServiceOutcome<CreateValidationResult> |
DefaultCustomFieldService.validateCreate(ApplicationUser user,
CustomFieldDefinition customFieldDefinition) |
ServiceOutcome<CreateValidationResult> |
CustomFieldService.validateCreate(ApplicationUser user,
CustomFieldDefinition customFieldDefinition)
Validates that the custom field with the provided data can be created.
|
Modifier and Type | Method and Description |
---|---|
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertyDeletedEvent> |
DashboardItemPropertyHelper.createDeletePropertyEventBiFunction() |
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertySetEvent> |
DashboardItemPropertyHelper.createSetPropertyEventBiFunction() |
Modifier and Type | Field and Description |
---|---|
ApplicationUser |
ExportStartedEvent.loggedInUser
The user that instigated the export.
|
ApplicationUser |
ExportCompletedEvent.loggedInUser
The user that instigated the export.
|
Modifier and Type | Method and Description |
---|---|
DataImportService.ImportResult |
DefaultDataImportService.doImport(ApplicationUser loggedInUser,
DataImportService.ImportValidationResult result,
TaskProgressSink taskProgressSink) |
DataImportService.ImportResult |
DataImportService.doImport(ApplicationUser loggedInUser,
DataImportService.ImportValidationResult result,
TaskProgressSink taskProgressSink)
Performs the actual import given a valid validation result.
|
ServiceOutcome<Void> |
ExportService.export(ApplicationUser loggedInUser,
String filename,
ExportService.Style style,
TaskProgressSink taskProgressSink)
Export JIRA to the given filename with the specified backup style.
|
ServiceOutcome<Void> |
DefaultExportService.export(ApplicationUser loggedInUser,
String filename,
ExportService.Style style,
TaskProgressSink taskProgressSink) |
ServiceOutcome<Void> |
ExportService.export(ApplicationUser loggedInUser,
String filename,
TaskProgressSink taskProgressSink)
Export JIRA to the given filename.
|
ServiceOutcome<Void> |
DefaultExportService.export(ApplicationUser loggedInUser,
String filename,
TaskProgressSink taskProgressSink) |
ServiceOutcome<Void> |
ExportService.exportForDevelopment(ApplicationUser loggedInUser,
String xmlFilename,
TaskProgressSink taskProgressSink)
Export JIRA to the given filename.
|
ServiceOutcome<Void> |
DefaultExportService.exportForDevelopment(ApplicationUser loggedInUser,
String xmlFilename,
TaskProgressSink taskProgressSink) |
DataImportService.ImportValidationResult |
DefaultDataImportService.validateImport(ApplicationUser loggedInUser,
DataImportParams params) |
DataImportService.ImportValidationResult |
DataImportService.validateImport(ApplicationUser loggedInUser,
DataImportParams params)
Given the currently loggedInUser and import params this method does some basic validation of the input.
|
Constructor and Description |
---|
ExportCompletedEvent(ApplicationUser user,
String filename,
ServiceOutcome<Void> outcome)
Deprecated.
|
ExportCompletedEvent(ApplicationUser user,
String filename,
ServiceOutcome<Void> outcome,
Long xmlExportTime) |
ExportStartedEvent(ApplicationUser user,
String filename,
Long xmlExportTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultFavouritesService.isFavourite(ApplicationUser user,
SharedEntity entity) |
boolean |
FavouritesService.isFavourite(ApplicationUser user,
SharedEntity entity)
Check that the given entity is a favourite of the user passed in the context
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<SearchRequest>> |
ProjectSearchRequestServiceImpl.associateSearchRequestsWithProject(ApplicationUser user,
Project project,
Long... searchRequestIds) |
ServiceOutcome<List<SearchRequest>> |
ProjectSearchRequestService.associateSearchRequestsWithProject(ApplicationUser user,
Project project,
Long... searchRequestIds)
For a given project this method will associated the provided search requests such that they will be returned by
subsequent calls to
ProjectSearchRequestService.getSearchRequestsForProject(ApplicationUser, Project) . |
void |
DefaultSearchRequestService.deleteAllFiltersForUser(JiraServiceContext serviceCtx,
ApplicationUser user) |
void |
SearchRequestService.deleteAllFiltersForUser(JiraServiceContext serviceCtx,
ApplicationUser user)
Delete all filters for a given user
|
Collection<SearchRequest> |
DefaultSearchRequestService.getFavouriteFilters(ApplicationUser user) |
Collection<SearchRequest> |
SearchRequestService.getFavouriteFilters(ApplicationUser user)
Retrieve all filters a user has favourited.
|
Collection<SearchRequest> |
DefaultSearchRequestService.getFiltersFavouritedByOthers(ApplicationUser user) |
Collection<SearchRequest> |
SearchRequestService.getFiltersFavouritedByOthers(ApplicationUser user)
Get filters owned by a given user that have been favourited by at least one other user
|
Collection<SearchRequest> |
DefaultSearchRequestService.getNonPrivateFilters(ApplicationUser user) |
Collection<SearchRequest> |
SearchRequestService.getNonPrivateFilters(ApplicationUser user)
Get a user's non private filters.
|
Collection<SearchRequest> |
DefaultSearchRequestService.getOwnedFilters(ApplicationUser user) |
Collection<SearchRequest> |
SearchRequestService.getOwnedFilters(ApplicationUser user)
Retrieve all filters a user owns/has created.
|
List<SearchRequest> |
ProjectSearchRequestServiceImpl.getSearchRequestsForProject(ApplicationUser user,
Project project) |
List<SearchRequest> |
ProjectSearchRequestService.getSearchRequestsForProject(ApplicationUser user,
Project project)
Retrieves all search requests for a given project that the user is allowed to see.
|
Collection<FilterSubscription> |
DefaultFilterSubscriptionService.getVisibleFilterSubscriptions(ApplicationUser user,
SearchRequest filter) |
Collection<FilterSubscription> |
FilterSubscriptionService.getVisibleFilterSubscriptions(ApplicationUser user,
SearchRequest filter)
Retrieves subscriptions that a user can see for a filter.
|
boolean |
DefaultSearchRequestService.hasShareRights(ApplicationUser user,
SearchRequest searchRequest,
ShareRight shareRight) |
boolean |
SearchRequestService.hasShareRights(ApplicationUser user,
SearchRequest searchRequest,
ShareRight shareRight)
Checks if provided user has share rights for given search request.
|
SearchRequest |
DefaultSearchRequestService.updateFilterOwner(JiraServiceContext serviceCtx,
ApplicationUser user,
SearchRequest request) |
SearchRequest |
SearchRequestService.updateFilterOwner(JiraServiceContext serviceCtx,
ApplicationUser user,
SearchRequest request)
Persists a
SearchRequest to the database - only available to administrators. |
SearchRequest |
DefaultSearchRequestService.updateFilterOwner(JiraServiceContext serviceCtx,
Long filterId,
ApplicationUser newOwner) |
SearchRequest |
SearchRequestService.updateFilterOwner(JiraServiceContext serviceCtx,
Long filterId,
ApplicationUser newOwner)
Changes the owner of the portal page.
|
void |
DefaultFilterSubscriptionService.updateSubscription(JiraServiceContext context,
ApplicationUser owner,
Long subscriptionId,
String groupName,
String expr,
boolean emailOnEmpty) |
void |
FilterSubscriptionService.updateSubscription(JiraServiceContext context,
ApplicationUser owner,
Long subscriptionId,
String groupName,
String expr,
boolean emailOnEmpty)
Updates the subscription to the new given values and persists.
|
Modifier and Type | Method and Description |
---|---|
Map<ApplicationRole,Set<ApplicationUser>> |
GroupsToApplicationsSeatingHelper.rolesToBeAddedForSeatingCountPurpose(Set<ApplicationUser> users,
Set<String> groupsToBeAdded)
Produces a relation between
ApplicationRole s and ApplicationUser s
indicating which users will gain access to which applications if they will be added to given groups. |
Modifier and Type | Method and Description |
---|---|
Map<ApplicationRole,Set<ApplicationUser>> |
GroupsToApplicationsSeatingHelper.rolesToBeAddedForSeatingCountPurpose(Set<ApplicationUser> users,
Set<String> groupsToBeAdded)
Produces a relation between
ApplicationRole s and ApplicationUser s
indicating which users will gain access to which applications if they will be added to given groups. |
Modifier and Type | Method and Description |
---|---|
IssueService.IssueResult |
DefaultIssueService.assign(ApplicationUser user,
IssueService.AssignValidationResult assignResult) |
IssueService.IssueResult |
IssueService.assign(ApplicationUser user,
IssueService.AssignValidationResult assignResult)
This method will store the provided issue to the JIRA datastore and will transition it through workflow.
|
IssueService.AsynchronousTaskResult |
DefaultIssueService.clone(ApplicationUser user,
IssueService.CloneValidationResult cloneValidationResult) |
IssueService.AsynchronousTaskResult |
IssueService.clone(ApplicationUser user,
IssueService.CloneValidationResult cloneValidationResult)
This method will clone the issue applying the supplied summary field.
|
IssueService.IssueResult |
DefaultIssueService.create(ApplicationUser user,
IssueService.CreateValidationResult createValidationResult) |
IssueService.IssueResult |
IssueService.create(ApplicationUser user,
IssueService.CreateValidationResult createValidationResult)
This method will store the provided issue to the JIRA datastore.
|
IssueService.IssueResult |
DefaultIssueService.create(ApplicationUser user,
IssueService.CreateValidationResult createValidationResult,
String initialWorkflowActionName) |
IssueService.IssueResult |
IssueService.create(ApplicationUser user,
IssueService.CreateValidationResult createValidationResult,
String initialWorkflowActionName)
This method will store the provided issue to the JIRA datastore.
|
ErrorCollection |
DefaultIssueService.delete(ApplicationUser user,
IssueService.DeleteValidationResult issueValidationResult) |
ErrorCollection |
IssueService.delete(ApplicationUser user,
IssueService.DeleteValidationResult deleteValidationResult)
This method will delete an issue from JIRA.
|
ErrorCollection |
DefaultIssueService.delete(ApplicationUser user,
IssueService.DeleteValidationResult issueValidationResult,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
ErrorCollection |
IssueService.delete(ApplicationUser user,
IssueService.DeleteValidationResult deleteValidationResult,
EventDispatchOption eventDispatchOption,
boolean sendMail)
This method will delete an issue from JIRA.
|
IssueService.IssueResult |
DefaultIssueService.getIssue(ApplicationUser user,
Long issueId) |
IssueService.IssueResult |
IssueService.getIssue(ApplicationUser user,
Long issueId)
This method will retrieve the issue with the provided issue id if the current user has permission to view the
issue.
|
IssueService.IssueResult |
DefaultIssueService.getIssue(ApplicationUser user,
String issueKey) |
IssueService.IssueResult |
IssueService.getIssue(ApplicationUser user,
String issueKey)
This method will retrieve the issue with the provided issue id if the current user has permission to view the
issue.
|
boolean |
CloneIssueCommand.isCanModifyReporter(ApplicationUser user,
Issue issue) |
boolean |
DefaultIssueService.isEditable(Issue issue,
ApplicationUser user) |
boolean |
IssueService.isEditable(Issue issue,
ApplicationUser user)
Returns
true if the issue can be edited by the current user. |
IssueService.IssueResult |
DefaultIssueService.transition(ApplicationUser user,
IssueService.TransitionValidationResult transitionResult) |
IssueService.IssueResult |
IssueService.transition(ApplicationUser user,
IssueService.TransitionValidationResult transitionResult)
This method will store the provided issue to the JIRA datastore and will transition it through workflow.
|
IssueService.IssueResult |
DefaultIssueService.update(ApplicationUser user,
IssueService.UpdateValidationResult issueValidationResult) |
IssueService.IssueResult |
IssueService.update(ApplicationUser user,
IssueService.UpdateValidationResult updateValidationResult)
This method will store the provided issue to the JIRA datastore.
|
IssueService.IssueResult |
DefaultIssueService.update(ApplicationUser user,
IssueService.UpdateValidationResult issueValidationResult,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
IssueService.IssueResult |
IssueService.update(ApplicationUser user,
IssueService.UpdateValidationResult updateValidationResult,
EventDispatchOption eventDispatchOption,
boolean sendMail)
This method will store the provided issue to the JIRA datastore.
|
IssueService.AssignValidationResult |
DefaultIssueService.validateAssign(ApplicationUser user,
Long issueId,
String assignee) |
IssueService.AssignValidationResult |
IssueService.validateAssign(ApplicationUser user,
Long issueId,
String assignee)
This method will check permissions to see if a user has the permission in relation to the provided issue, and
that the assignee is assignable.
|
IssueService.CloneValidationResult |
DefaultIssueService.validateClone(ApplicationUser user,
Issue issue,
String summary,
boolean cloneAttachments,
boolean cloneSubTasks,
boolean cloneLinks,
Map<CustomField,Optional<Boolean>> cloneOptionSelections) |
IssueService.CloneValidationResult |
IssueService.validateClone(ApplicationUser user,
Issue issue,
String summary,
boolean cloneAttachments,
boolean cloneSubTasks,
boolean cloneLinks,
Map<CustomField,Optional<Boolean>> cloneOptionSelections)
This method will validate parameters.
|
IssueService.CreateValidationResult |
DefaultIssueService.validateCreate(ApplicationUser user,
IssueInputParameters issueInputParameters) |
IssueService.CreateValidationResult |
IssueService.validateCreate(ApplicationUser user,
IssueInputParameters issueInputParameters)
This method will validate parameters and check permissions and if all checks pass it will create an
Issue
that can be passed to the IssueService.create(ApplicationUser, CreateValidationResult) method. |
IssueService.DeleteValidationResult |
DefaultIssueService.validateDelete(ApplicationUser user,
Long issueId) |
IssueService.DeleteValidationResult |
IssueService.validateDelete(ApplicationUser user,
Long issueId)
This method will check permissions to see if a user has the
ProjectPermissions.DELETE_ISSUES
permission in relation to the provided issue. |
IssueService.CreateValidationResult |
DefaultIssueService.validateSubTaskCreate(ApplicationUser user,
Long parentId,
IssueInputParameters issueInputParameters) |
IssueService.CreateValidationResult |
IssueService.validateSubTaskCreate(ApplicationUser user,
Long parentId,
IssueInputParameters issueInputParameters)
This method does the same as
IssueService.validateCreate(ApplicationUser, IssueInputParameters) and it allows you to
specify a
parentId such that the created issue will be a subtask of the provided parent id. |
IssueService.TransitionValidationResult |
DefaultIssueService.validateTransition(ApplicationUser user,
Long issueId,
int actionId,
IssueInputParameters issueInputParameters) |
IssueService.TransitionValidationResult |
IssueService.validateTransition(ApplicationUser user,
Long issueId,
int actionId,
IssueInputParameters issueInputParameters)
This method will validate parameters and check the transition conditions and if all checks pass it will construct
a new instance of the
Issue and will update it with the new parameters. |
IssueService.TransitionValidationResult |
DefaultIssueService.validateTransition(ApplicationUser user,
Long issueId,
int actionId,
IssueInputParameters issueInputParameters,
TransitionOptions transitionOptions) |
IssueService.TransitionValidationResult |
IssueService.validateTransition(ApplicationUser user,
Long issueId,
int actionId,
IssueInputParameters issueInputParameters,
TransitionOptions transitionOptions)
This method will validate parameters and check the transition conditions and if all checks pass it will construct
a new instance of the
Issue and will update it with the new parameters. |
IssueService.UpdateValidationResult |
DefaultIssueService.validateUpdate(ApplicationUser user,
Long issueId,
IssueInputParameters issueInputParameters) |
IssueService.UpdateValidationResult |
IssueService.validateUpdate(ApplicationUser user,
Long issueId,
IssueInputParameters issueInputParameters)
This method will validate parameters and check permissions and if all checks pass it will construct a new
instance of the
Issue and will update it with the new parameters. |
Constructor and Description |
---|
CloneIssueCommand(ApplicationUser user,
Issue originalIssue,
String summary,
boolean cloneAttachments,
boolean cloneSubTasks,
boolean cloneLinks,
Map<CustomField,Optional<Boolean>> cloneOptionSelections,
IssueManager issueManager,
IssueFactory issueFactory,
ApplicationProperties applicationProperties,
IssueLinkTypeManager issueLinkTypeManager,
IssueLinkManager issueLinkManager,
RemoteIssueLinkManager remoteIssueLinkManager,
AttachmentManager attachmentManager,
SubTaskManager subTaskManager,
PermissionManager permissionManager,
CustomFieldManager customFieldManager,
org.slf4j.Logger log,
I18nHelper i18nHelper,
BarrierFactory barrierFactory) |
Modifier and Type | Method and Description |
---|---|
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertyDeletedEvent> |
ChangeHistoryPropertyHelper.createDeletePropertyEventBiFunction() |
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertySetEvent> |
ChangeHistoryPropertyHelper.createSetPropertyEventBiFunction() |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
CommentService.CommentParameters.getAuthor() |
Modifier and Type | Method and Description |
---|---|
CommentService.CommentParameters.CommentParametersBuilder |
CommentService.CommentParameters.CommentParametersBuilder.author(ApplicationUser author) |
Comment |
DefaultCommentService.create(ApplicationUser applicationUser,
CommentService.CommentCreateValidationResult validationResult,
boolean dispatchEvent) |
Comment |
CommentService.create(ApplicationUser user,
CommentService.CommentCreateValidationResult commentValidationResult,
boolean dispatchEvent)
|
Comment |
DefaultCommentService.create(ApplicationUser user,
Issue issue,
String body,
boolean dispatchEvent,
ErrorCollection errorCollection) |
Comment |
CommentService.create(ApplicationUser user,
Issue issue,
String body,
boolean dispatchEvent,
ErrorCollection errorCollection)
|
Comment |
DefaultCommentService.create(ApplicationUser user,
Issue issue,
String body,
String groupLevel,
Long roleLevelId,
boolean dispatchEvent,
ErrorCollection errorCollection) |
Comment |
CommentService.create(ApplicationUser user,
Issue issue,
String body,
String groupLevel,
Long roleLevelId,
boolean dispatchEvent,
ErrorCollection errorCollection)
|
Comment |
DefaultCommentService.create(ApplicationUser user,
Issue issue,
String body,
String groupLevel,
Long roleLevelId,
Date created,
boolean dispatchEvent,
ErrorCollection errorCollection) |
Comment |
CommentService.create(ApplicationUser user,
Issue issue,
String body,
String groupLevel,
Long roleLevelId,
Date created,
boolean dispatchEvent,
ErrorCollection errorCollection)
|
Comment |
DefaultCommentService.getCommentById(ApplicationUser user,
Long commentId,
ErrorCollection errorCollection) |
Comment |
CommentService.getCommentById(ApplicationUser user,
Long commentId,
ErrorCollection errorCollection)
Will return a comment for the passed in commentId.
|
List<Comment> |
DefaultCommentService.getCommentsForUser(ApplicationUser user,
Issue issue) |
List<Comment> |
CommentService.getCommentsForUser(ApplicationUser user,
Issue issue)
|
List<Comment> |
DefaultCommentService.getCommentsForUser(ApplicationUser currentUser,
Issue issue,
ErrorCollection errorCollection) |
List<Comment> |
CommentService.getCommentsForUser(ApplicationUser currentUser,
Issue issue,
ErrorCollection errorCollection)
Deprecated.
Use
CommentService.getCommentsForUser(ApplicationUser currentUser, Issue issue) instead. Since v6.3. |
List<Comment> |
DefaultCommentService.getCommentsForUserSince(ApplicationUser currentUser,
Issue issue,
Date since) |
List<Comment> |
CommentService.getCommentsForUserSince(ApplicationUser user,
Issue issue,
Date since)
Will return a list of
Comment s that were created or updated since the provided date, for the given user. |
MutableComment |
DefaultCommentService.getMutableComment(ApplicationUser user,
Long commentId,
ErrorCollection errorCollection) |
MutableComment |
CommentService.getMutableComment(ApplicationUser user,
Long commentId,
ErrorCollection errorCollection)
Deprecated.
|
boolean |
DefaultCommentService.hasPermissionToCreate(ApplicationUser user,
Issue issue,
ErrorCollection errorCollection) |
boolean |
CommentService.hasPermissionToCreate(ApplicationUser user,
Issue issue,
ErrorCollection errorCollection)
Check if the given user has permission to create a comment in the current state of the issue.
|
boolean |
DefaultCommentService.hasPermissionToCreate(ApplicationUser user,
Issue issue,
ErrorCollection errorCollection,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
boolean |
CommentService.hasPermissionToCreate(ApplicationUser user,
Issue issue,
ErrorCollection errorCollection,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Check if the given user has permission to create a comment during a workflow transition for a given action description.
|
boolean |
DefaultCommentService.hasPermissionToCreate(ApplicationUser user,
Issue issue,
ErrorCollection errorCollection,
Optional<Status> status) |
boolean |
CommentService.hasPermissionToCreate(ApplicationUser user,
Issue issue,
ErrorCollection errorCollection,
Optional<Status> status)
Check if the given user has permission to create a comment in the current state of the issue or if the issue was in the given status.
|
boolean |
DefaultCommentService.hasPermissionToEdit(ApplicationUser user,
Comment comment,
ErrorCollection errorCollection) |
boolean |
CommentService.hasPermissionToEdit(ApplicationUser user,
Comment comment,
ErrorCollection errorCollection)
Deprecated.
|
boolean |
DefaultCommentService.isValidAllCommentData(ApplicationUser currentUser,
Issue issue,
String body,
String groupLevel,
String roleLevelId,
ErrorCollection errorCollection) |
boolean |
CommentService.isValidAllCommentData(ApplicationUser user,
Issue issue,
String body,
String groupLevel,
String roleLevelId,
ErrorCollection errorCollection)
Deprecated.
|
boolean |
DefaultCommentService.isValidAllCommentData(ApplicationUser currentUser,
Issue issue,
String body,
Visibility visibility,
ErrorCollection errorCollection) |
boolean |
CommentService.isValidAllCommentData(ApplicationUser user,
Issue issue,
String body,
Visibility visibility,
ErrorCollection errorCollection)
Will call all other validate methods setting the appropriate errors
in the
errorCollection if any errors occur. |
boolean |
DefaultCommentService.isValidCommentData(ApplicationUser currentUser,
Issue issue,
String groupLevel,
String roleLevelId,
ErrorCollection errorCollection) |
boolean |
CommentService.isValidCommentData(ApplicationUser user,
Issue issue,
String groupLevel,
String roleLevelId,
ErrorCollection errorCollection)
Deprecated.
|
boolean |
DefaultCommentService.isValidCommentVisibility(ApplicationUser currentUser,
Issue issue,
Visibility visibility,
ErrorCollection errorCollection) |
boolean |
CommentService.isValidCommentVisibility(ApplicationUser user,
Issue issue,
Visibility visibility,
ErrorCollection errorCollection)
This method validates if the comment has the correct role and group
levels set.
|
java.util.stream.Stream<Comment> |
DefaultCommentService.streamComments(ApplicationUser user,
Issue issue) |
java.util.stream.Stream<Comment> |
CommentService.streamComments(ApplicationUser user,
Issue issue)
Streams every comment of the given issue that is visible to the user.
|
void |
DefaultCommentService.update(ApplicationUser user,
CommentService.CommentUpdateValidationResult validationResult,
boolean dispatchEvent) |
void |
CommentService.update(ApplicationUser user,
CommentService.CommentUpdateValidationResult updateCommentValidationResult,
boolean dispatchEvent)
Updates a
Comment and sets the comments updated date to be now and the updatedAuthor to be the
passed in user. |
void |
DefaultCommentService.update(ApplicationUser user,
MutableComment comment,
boolean dispatchEvent,
ErrorCollection errorCollection) |
void |
CommentService.update(ApplicationUser user,
MutableComment comment,
boolean dispatchEvent,
ErrorCollection errorCollection)
Deprecated.
|
CommentService.CommentCreateValidationResult |
DefaultCommentService.validateCommentCreate(ApplicationUser user,
CommentService.CommentParameters commentParameters) |
CommentService.CommentCreateValidationResult |
CommentService.validateCommentCreate(ApplicationUser user,
CommentService.CommentParameters commentParameters)
Confirms the parameters to create a comment are valid and that the user has the permission to do so.
|
CommentService.CommentCreateValidationResult |
DefaultCommentService.validateCommentCreate(ApplicationUser user,
CommentService.CommentParameters commentParameters,
Optional<Status> status) |
CommentService.CommentCreateValidationResult |
CommentService.validateCommentCreate(ApplicationUser user,
CommentService.CommentParameters commentParameters,
Optional<Status> status)
Confirms the parameters to create a comment are valid and that the user has the permission to do so if the issue was in the given status.
|
CommentService.CommentUpdateValidationResult |
DefaultCommentService.validateCommentUpdate(ApplicationUser user,
Long commentId,
CommentService.CommentParameters commentParameters) |
CommentService.CommentUpdateValidationResult |
CommentService.validateCommentUpdate(ApplicationUser user,
Long commentId,
CommentService.CommentParameters commentParameters)
Confirms the parameters to update a comment are valid and that the updating user has the permission to do so.
|
void |
DefaultCommentService.validateCommentUpdate(ApplicationUser user,
Long commentId,
String body,
String groupLevel,
Long roleLevelId,
ErrorCollection errorCollection) |
void |
CommentService.validateCommentUpdate(ApplicationUser user,
Long commentId,
String body,
String groupLevel,
Long roleLevelId,
ErrorCollection errorCollection)
|
Modifier and Type | Method and Description |
---|---|
java.util.function.BiFunction<ApplicationUser,EntityProperty,CommentPropertyDeletedEvent> |
CommentPropertyHelper.createDeletePropertyEventBiFunction() |
java.util.function.BiFunction<ApplicationUser,EntityProperty,CommentPropertySetEvent> |
CommentPropertyHelper.createSetPropertyEventBiFunction() |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<ColumnLayout> |
ColumnServiceImpl.getColumnLayout(ApplicationUser serviceUser,
ApplicationUser userWithColumns) |
ServiceOutcome<ColumnLayout> |
ColumnService.getColumnLayout(ApplicationUser serviceUser,
ApplicationUser userWithColumns)
Retreive the effective
ColumnLayout for userWithColumns. |
ServiceOutcome<ColumnLayout> |
ColumnServiceImpl.getColumnLayout(ApplicationUser serviceUser,
Long filterId) |
ServiceOutcome<ColumnLayout> |
ColumnService.getColumnLayout(ApplicationUser serviceUser,
Long filterId)
Get the column layout for the given filter.
|
ServiceOutcome<ColumnLayout> |
ColumnServiceImpl.getDefaultColumnLayout(ApplicationUser serviceUser) |
ServiceOutcome<ColumnLayout> |
ColumnService.getDefaultColumnLayout(ApplicationUser serviceUser)
Get the system's default columns.
|
ServiceResult |
ColumnServiceImpl.resetColumns(ApplicationUser serviceUser,
ApplicationUser userWithColumns) |
ServiceResult |
ColumnService.resetColumns(ApplicationUser serviceUser,
ApplicationUser userWithColumns)
Resets a user's
ColumnLayout . |
ServiceResult |
ColumnServiceImpl.resetColumns(ApplicationUser serviceUser,
Long filterId) |
ServiceResult |
ColumnService.resetColumns(ApplicationUser serviceUser,
Long filterId)
Resets the given filter to no longer have its own
ColumnLayout . |
ServiceResult |
ColumnServiceImpl.setColumns(ApplicationUser serviceUser,
ApplicationUser userWithColumns,
List<String> fieldIds) |
ServiceResult |
ColumnService.setColumns(ApplicationUser serviceUser,
ApplicationUser userWithColumns,
List<String> fieldIds)
Sets a user's
ColumnLayout . |
ServiceResult |
ColumnServiceImpl.setColumns(ApplicationUser serviceUser,
Long filterId,
List<String> fieldIds) |
ServiceResult |
ColumnService.setColumns(ApplicationUser serviceUser,
Long filterId,
List<String> fieldIds)
Sets the given filter
ColumnLayout to the given fields. |
ServiceResult |
ColumnServiceImpl.setDefaultColumns(ApplicationUser serviceUser,
List<String> fieldIds) |
ServiceResult |
ColumnService.setDefaultColumns(ApplicationUser serviceUser,
List<String> fieldIds)
Sets the system's default columns to the given
fieldIds |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
FieldScreenOperationContext.getUser() |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<FieldScreen> |
DefaultFieldScreenService.copy(FieldScreen screenToCopy,
String copyName,
String copyDescription,
ApplicationUser loggedInUser) |
ServiceOutcome<FieldScreen> |
FieldScreenService.copy(FieldScreen screen,
String copyName,
String copyDescription,
ApplicationUser loggedInUser)
Creates a copy of the passed field screen assigning the passed name and description.
|
static FieldScreenOperationContext |
FieldScreenOperationContext.ofUser(ApplicationUser user)
Creates new user-only context.
|
static FieldScreenOperationContext |
FieldScreenOperationContext.ofUserAndProject(ApplicationUser user,
Project project)
Creates user and project context.
|
Modifier and Type | Method and Description |
---|---|
LabelService.LabelsResult |
DefaultLabelService.addLabel(ApplicationUser user,
LabelService.AddLabelValidationResult result,
boolean sendNotification) |
LabelService.LabelsResult |
LabelService.addLabel(ApplicationUser user,
LabelService.AddLabelValidationResult result,
boolean sendNotification)
Adds the label to the issue specified by the validation result.
|
LabelService.LabelsResult |
DefaultLabelService.getLabels(ApplicationUser user,
Long issueId) |
LabelService.LabelsResult |
LabelService.getLabels(ApplicationUser user,
Long issueId)
Returns all the labels for the given issue.
|
LabelService.LabelsResult |
DefaultLabelService.getLabels(ApplicationUser user,
Long issueId,
Long customFieldId) |
LabelService.LabelsResult |
LabelService.getLabels(ApplicationUser user,
Long issueId,
Long customFieldId)
Returns all the labels for the given issue and custom field.
|
LabelService.LabelSuggestionResult |
DefaultLabelService.getSuggestedLabels(ApplicationUser user,
Long issueId,
Long customFieldId,
String token) |
LabelService.LabelSuggestionResult |
LabelService.getSuggestedLabels(ApplicationUser user,
Long issueId,
Long customFieldId,
String token)
Given a token to search for, this method returns a number of suggestions for the label.
|
LabelService.LabelSuggestionResult |
DefaultLabelService.getSuggestedLabels(ApplicationUser user,
Long issueId,
String token) |
LabelService.LabelSuggestionResult |
LabelService.getSuggestedLabels(ApplicationUser user,
Long issueId,
String token)
Given a token to search for, this method returns a number of suggestions for the label.
|
LabelService.LabelsResult |
DefaultLabelService.setLabels(ApplicationUser user,
LabelService.SetLabelValidationResult result,
boolean sendNotification,
boolean causeChangeNotification) |
LabelService.LabelsResult |
LabelService.setLabels(ApplicationUser user,
LabelService.SetLabelValidationResult result,
boolean sendNotification,
boolean causeChangeNotification)
Sets the labels for a particular issue to the set specified as a parameter.
|
LabelService.AddLabelValidationResult |
DefaultLabelService.validateAddLabel(ApplicationUser user,
Long issueId,
Long customFieldId,
String label) |
LabelService.AddLabelValidationResult |
LabelService.validateAddLabel(ApplicationUser user,
Long issueId,
Long customFieldId,
String label)
Validates that the user provided can add the label provided for a particular issue.
|
LabelService.AddLabelValidationResult |
DefaultLabelService.validateAddLabel(ApplicationUser user,
Long issueId,
String label) |
LabelService.AddLabelValidationResult |
LabelService.validateAddLabel(ApplicationUser user,
Long issueId,
String label)
Validates that the user provided can add the label provided for a particular issue.
|
LabelService.SetLabelValidationResult |
DefaultLabelService.validateSetLabels(ApplicationUser user,
Long issueId,
Long customFieldId,
Set<String> labels) |
LabelService.SetLabelValidationResult |
LabelService.validateSetLabels(ApplicationUser user,
Long issueId,
Long customFieldId,
Set<String> labels)
Validates that the user provided can set the labels provided for a particular issue.
|
LabelService.SetLabelValidationResult |
DefaultLabelService.validateSetLabels(ApplicationUser user,
Long issueId,
Set<String> labels) |
LabelService.SetLabelValidationResult |
LabelService.validateSetLabels(ApplicationUser user,
Long issueId,
Set<String> labels)
Validates that the user provided can set the labels provided for a particular issue.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
IssueLinkService.AddIssueLinkValidationResult.getUser() |
ApplicationUser |
IssueLinkService.DeleteIssueLinkValidationResult.getUser() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultIssueLinkService.addIssueLinks(ApplicationUser user,
IssueLinkService.AddIssueLinkValidationResult result) |
void |
IssueLinkService.addIssueLinks(ApplicationUser user,
IssueLinkService.AddIssueLinkValidationResult result)
Adds the issue link to the issue specified by the validation result.
|
RemoteIssueLinkService.RemoteIssueLinkResult |
DefaultRemoteIssueLinkService.create(ApplicationUser user,
RemoteIssueLinkService.CreateValidationResult createValidationResult) |
RemoteIssueLinkService.RemoteIssueLinkResult |
RemoteIssueLinkService.create(ApplicationUser user,
RemoteIssueLinkService.CreateValidationResult createValidationResult)
Stores the given remote issue link in the JIRA datastore, if the current user has permission to do so.
|
ServiceOutcome<IssueLinkType> |
DefaultIssueLinkTypeService.createIssueLinkType(ApplicationUser user,
String name,
String outward,
String inward) |
ServiceOutcome<IssueLinkType> |
IssueLinkTypeService.createIssueLinkType(ApplicationUser user,
String name,
String outward,
String inward)
Create a new issue link type.
|
void |
DefaultRemoteIssueLinkService.delete(ApplicationUser user,
RemoteIssueLinkService.DeleteValidationResult deleteValidationResult) |
void |
RemoteIssueLinkService.delete(ApplicationUser user,
RemoteIssueLinkService.DeleteValidationResult deleteValidationResult)
Deletes the remote issue link with the given id from the JIRA datastore, if the current user has permission to do so.
|
void |
DefaultRemoteIssueLinkService.deleteByGlobalId(ApplicationUser user,
RemoteIssueLinkService.DeleteByGlobalIdValidationResult validationResult) |
void |
RemoteIssueLinkService.deleteByGlobalId(ApplicationUser user,
RemoteIssueLinkService.DeleteByGlobalIdValidationResult deleteValidationResult)
Deletes the remote issue link that links with the given JIRA issue and has the given global id, if the current
user has permission to do so.
|
ServiceOutcome<IssueLinkType> |
DefaultIssueLinkTypeService.deleteIssueLinkType(ApplicationUser user,
IssueLinkType linkType) |
ServiceOutcome<IssueLinkType> |
IssueLinkTypeService.deleteIssueLinkType(ApplicationUser user,
IssueLinkType linkType)
Delete a given IssueLinkType, checking for permissions.
|
RemoteIssueLinkService.RemoteIssueLinkListResult |
DefaultRemoteIssueLinkService.findRemoteIssueLinksByGlobalId(ApplicationUser user,
Collection<String> globalIds) |
RemoteIssueLinkService.RemoteIssueLinkListResult |
RemoteIssueLinkService.findRemoteIssueLinksByGlobalId(ApplicationUser user,
Collection<String> globalIds)
Retrieves the list of remote issue links that have any of the given globalIds.
|
IssueLinkService.SingleIssueLinkResult |
DefaultIssueLinkService.getIssueLink(Long issueLinkId,
ApplicationUser user) |
IssueLinkService.SingleIssueLinkResult |
IssueLinkService.getIssueLink(Long issueLinkId,
ApplicationUser user)
Returns the issue link for the given id.
|
IssueLinkService.IssueLinkResult |
DefaultIssueLinkService.getIssueLinks(ApplicationUser user,
Issue issue) |
IssueLinkService.IssueLinkResult |
IssueLinkService.getIssueLinks(ApplicationUser user,
Issue issue)
Returns the issue links that the specified user can see.
|
IssueLinkService.IssueLinkResult |
DefaultIssueLinkService.getIssueLinks(ApplicationUser user,
Issue issue,
boolean excludeSystemLinks) |
IssueLinkService.IssueLinkResult |
IssueLinkService.getIssueLinks(ApplicationUser user,
Issue issue,
boolean excludeSystemLinks) |
ServiceOutcome<Collection<IssueLinkType>> |
DefaultIssueLinkTypeService.getIssueLinkTypes(ApplicationUser user) |
ServiceOutcome<Collection<IssueLinkType>> |
IssueLinkTypeService.getIssueLinkTypes(ApplicationUser user)
Get a list of all issue link types in the system.
|
RemoteIssueLinkService.RemoteIssueLinkResult |
DefaultRemoteIssueLinkService.getRemoteIssueLink(ApplicationUser user,
Long remoteIssueLinkId) |
RemoteIssueLinkService.RemoteIssueLinkResult |
RemoteIssueLinkService.getRemoteIssueLink(ApplicationUser user,
Long remoteIssueLinkId)
Retrieves the remote issue link with the given id.
|
RemoteIssueLinkService.RemoteIssueLinkResult |
DefaultRemoteIssueLinkService.getRemoteIssueLinkByGlobalId(ApplicationUser user,
Issue issue,
String globalId) |
RemoteIssueLinkService.RemoteIssueLinkResult |
RemoteIssueLinkService.getRemoteIssueLinkByGlobalId(ApplicationUser user,
Issue issue,
String globalId)
Retrieves the remote issue link that links with the given JIRA issue and has the given globalId.
|
RemoteIssueLinkService.RemoteIssueLinkListResult |
DefaultRemoteIssueLinkService.getRemoteIssueLinksForIssue(ApplicationUser user,
Issue issue) |
RemoteIssueLinkService.RemoteIssueLinkListResult |
RemoteIssueLinkService.getRemoteIssueLinksForIssue(ApplicationUser user,
Issue issue)
Retrieves the remote issue links that link with the given JIRA issue.
|
RemoteIssueLinkService.RemoteIssueLinkResult |
DefaultRemoteIssueLinkService.update(ApplicationUser user,
RemoteIssueLinkService.UpdateValidationResult updateValidationResult) |
RemoteIssueLinkService.RemoteIssueLinkResult |
RemoteIssueLinkService.update(ApplicationUser user,
RemoteIssueLinkService.UpdateValidationResult updateValidationResult)
Updates the given remote issue link in the JIRA datastore, if the current user has permission to do so.
|
ServiceOutcome<IssueLinkType> |
DefaultIssueLinkTypeService.updateIssueLinkType(ApplicationUser user,
IssueLinkType linkType,
String name,
String outward,
String inward) |
ServiceOutcome<IssueLinkType> |
IssueLinkTypeService.updateIssueLinkType(ApplicationUser user,
IssueLinkType linkType,
String name,
String outward,
String inward)
Update an existing issue link type
|
IssueLinkService.AddIssueLinkValidationResult |
DefaultIssueLinkService.validateAddIssueLinks(ApplicationUser user,
Issue issue,
Long issueLinkTypeId,
Direction direction,
Collection<String> linkKeys,
boolean excludeSystemLinks) |
IssueLinkService.AddIssueLinkValidationResult |
IssueLinkService.validateAddIssueLinks(ApplicationUser user,
Issue issue,
Long issueLinkTypeId,
Direction direction,
Collection<String> linkKeys,
boolean excludeSystemLinks) |
IssueLinkService.AddIssueLinkValidationResult |
DefaultIssueLinkService.validateAddIssueLinks(ApplicationUser user,
Issue issue,
String linkName,
Collection<String> linkKeys) |
IssueLinkService.AddIssueLinkValidationResult |
IssueLinkService.validateAddIssueLinks(ApplicationUser user,
Issue issue,
String linkName,
Collection<String> linkKeys)
Validates that the user provided can add the link provided for a particular issue.
|
RemoteIssueLinkService.CreateValidationResult |
DefaultRemoteIssueLinkService.validateCreate(ApplicationUser user,
RemoteIssueLink remoteIssueLink) |
RemoteIssueLinkService.CreateValidationResult |
RemoteIssueLinkService.validateCreate(ApplicationUser user,
RemoteIssueLink remoteIssueLink)
Validates parameters and checks permissions, and if all checks pass it will create a
RemoteIssueLinkService.CreateValidationResult that can be passed to the #create(User, CreateValidationResult) method. |
IssueLinkService.DeleteIssueLinkValidationResult |
DefaultIssueLinkService.validateDelete(ApplicationUser user,
Issue issue,
IssueLink issueLink) |
IssueLinkService.DeleteIssueLinkValidationResult |
IssueLinkService.validateDelete(ApplicationUser user,
Issue issue,
IssueLink issueLink)
Validates parameters and checks permissions, and if all checks pass it will create a
IssueLinkService.DeleteIssueLinkValidationResult that can be passed to the
IssueLinkService.delete(DeleteIssueLinkValidationResult) method. |
RemoteIssueLinkService.DeleteValidationResult |
DefaultRemoteIssueLinkService.validateDelete(ApplicationUser user,
Long remoteIssueLinkId) |
RemoteIssueLinkService.DeleteValidationResult |
RemoteIssueLinkService.validateDelete(ApplicationUser user,
Long remoteIssueLinkId)
Validates parameters and checks permissions, and if all checks pass it will create a
RemoteIssueLinkService.DeleteValidationResult that can be passed to the #delete(User, DeleteValidationResult) method. |
RemoteIssueLinkService.DeleteByGlobalIdValidationResult |
DefaultRemoteIssueLinkService.validateDeleteByGlobalId(ApplicationUser user,
Issue issue,
String globalId) |
RemoteIssueLinkService.DeleteByGlobalIdValidationResult |
RemoteIssueLinkService.validateDeleteByGlobalId(ApplicationUser user,
Issue issue,
String globalId)
Validates parameters and checks permissions, and if all checks pass it will create a
RemoteIssueLinkService.DeleteByGlobalIdValidationResult that can be passed to the
#deleteByGlobalId(User, DeleteByGlobalIdValidationResult) method. |
RemoteIssueLinkService.UpdateValidationResult |
DefaultRemoteIssueLinkService.validateUpdate(ApplicationUser user,
RemoteIssueLink remoteIssueLink) |
RemoteIssueLinkService.UpdateValidationResult |
RemoteIssueLinkService.validateUpdate(ApplicationUser user,
RemoteIssueLink remoteIssueLink)
Validates parameters and checks permissions, and if all checks pass it will create a
RemoteIssueLinkService.UpdateValidationResult that can be passed to the #update(User, UpdateValidationResult) method. |
Constructor and Description |
---|
AddIssueLinkValidationResult(ApplicationUser user,
ErrorCollection errorCollection,
Issue issueId,
IssueLinkType linkType,
Direction direction,
Collection<String> linkKeys) |
Modifier and Type | Method and Description |
---|---|
java.util.function.BiFunction<ApplicationUser,EntityProperty,IssuePropertyDeletedEvent> |
IssuePropertyHelper.createDeletePropertyEventBiFunction() |
java.util.function.BiFunction<ApplicationUser,EntityProperty,IssuePropertySetEvent> |
IssuePropertyHelper.createSetPropertyEventBiFunction() |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultSearchService.doesQueryFitFilterForm(ApplicationUser user,
Query query) |
boolean |
SearchService.doesQueryFitFilterForm(ApplicationUser user,
Query query)
Checks if a
Query is capable of being shown on the simple (GUI-based) issue navigator edit screen. |
Collection<ClauseHandler> |
QueryCacheImpl.getClauseHandlers(ApplicationUser searcher,
String jqlClauseName) |
Collection<ClauseHandler> |
QueryCache.getClauseHandlers(ApplicationUser searcher,
String jqlClauseName)
Retrieve the collection of
ClauseHandler s registered
for the ApplicationUser jqlClauseName pair. |
Boolean |
QueryCacheImpl.getDoesQueryFitFilterFormCache(ApplicationUser searcher,
Query query) |
Boolean |
QueryCache.getDoesQueryFitFilterFormCache(ApplicationUser searcher,
Query query)
Retrieve the result of the last doesQueryFitFiterForm operation in the current thread.
|
String |
DefaultSearchService.getIssueSearchPath(ApplicationUser user,
SearchService.IssueSearchParameters params) |
String |
SearchService.getIssueSearchPath(ApplicationUser user,
SearchService.IssueSearchParameters params)
Returns the URL relative to the app context to represent the specified issue search.
|
QueryContext |
DefaultSearchService.getQueryContext(ApplicationUser searcher,
Query query) |
QueryContext |
SearchService.getQueryContext(ApplicationUser searcher,
Query query)
Generates a full QueryContext for the specified
Query for the searching user. |
QueryContext |
QueryCacheImpl.getQueryContextCache(ApplicationUser searcher,
Query query) |
QueryContext |
QueryCache.getQueryContextCache(ApplicationUser searcher,
Query query)
Retrieve the result of the last getQueryContext operation in the current thread
for the
ApplicationUser Query pair. |
String |
DefaultSearchService.getQueryString(ApplicationUser user,
Query query) |
String |
SearchService.getQueryString(ApplicationUser user,
Query query)
Deprecated.
|
SearchContext |
DefaultSearchService.getSearchContext(ApplicationUser searcher,
Query query) |
SearchContext |
SearchService.getSearchContext(ApplicationUser searcher,
Query query)
This produces an old-style
SearchContext based on the passed in
search query and the user that is performing the search. |
QueryContext |
DefaultSearchService.getSimpleQueryContext(ApplicationUser searcher,
Query query) |
QueryContext |
SearchService.getSimpleQueryContext(ApplicationUser searcher,
Query query)
Generates a simple QueryContext for the specified
Query for the searching user. |
QueryContext |
QueryCacheImpl.getSimpleQueryContextCache(ApplicationUser searcher,
Query query) |
QueryContext |
QueryCache.getSimpleQueryContextCache(ApplicationUser searcher,
Query query)
Retrieve the result of the last getSimpleQueryContext operation in the current thread
for the
ApplicationUser Query pair. |
boolean |
IssuePickerSearchProvider.handlesParameters(ApplicationUser searcher,
IssuePickerSearchService.IssuePickerParameters issuePickerParams)
Indicates to the caller whether or not this provider can handle the passed parameters.
|
boolean |
HistoryIssuePickerSearchProvider.handlesParameters(ApplicationUser searcher,
IssuePickerSearchService.IssuePickerParameters issuePickerParams) |
boolean |
LuceneCurrentSearchIssuePickerSearchProvider.handlesParameters(ApplicationUser searcher,
IssuePickerSearchService.IssuePickerParameters issuePickerParams) |
SearchService.ParseResult |
DefaultSearchService.parseQuery(ApplicationUser searcher,
String query) |
SearchService.ParseResult |
SearchService.parseQuery(ApplicationUser searcher,
String query)
Parses the query string into a JQL
Query . |
Query |
DefaultSearchService.sanitiseSearchQuery(ApplicationUser searcher,
Query query) |
Query |
SearchService.sanitiseSearchQuery(ApplicationUser searcher,
Query query)
Returns an equivalent
Query with all the potential "information leaks" removed,
with regards to the specified user. |
SearchResults<Issue> |
DefaultSearchService.search(ApplicationUser searcher,
Query query,
PagerFilter pager) |
SearchResults<Issue> |
SearchService.search(ApplicationUser searcher,
Query query,
PagerFilter pager)
Search the index, and only return issues that are in the pager's range.
|
long |
DefaultSearchService.searchCount(ApplicationUser searcher,
Query query) |
long |
SearchService.searchCount(ApplicationUser searcher,
Query query)
Search the index, and return the count of the issues matching the query.
|
long |
DefaultSearchService.searchCount(ApplicationUser searcher,
Query query,
Long timeout) |
long |
SearchService.searchCount(ApplicationUser searcher,
Query query,
Long timeout)
Search the index, and return the count of the issues matching the query.
|
long |
DefaultSearchService.searchCountOverrideSecurity(ApplicationUser searcher,
Query query) |
long |
SearchService.searchCountOverrideSecurity(ApplicationUser searcher,
Query query)
Return the number of issues matching the provided search criteria, overridding any security constraints.
|
SearchResults<Issue> |
DefaultSearchService.searchOverrideSecurity(ApplicationUser searcher,
Query query,
PagerFilter pager) |
SearchResults<Issue> |
SearchService.searchOverrideSecurity(ApplicationUser searcher,
Query query,
PagerFilter pager)
Search the index, and only return issues that are in the pager's range while AND'ing the raw lucene query
to the generated query from the provided searchQuery, not taking into account any security
constraints.
|
void |
QueryCacheImpl.setClauseHandlers(ApplicationUser searcher,
String jqlClauseName,
Collection<ClauseHandler> clauseHandlers) |
void |
QueryCache.setClauseHandlers(ApplicationUser searcher,
String jqlClauseName,
Collection<ClauseHandler> clauseHandlers)
Set the cached result of a getSimpleQueryContext operation on the
ApplicationUser Query pair. |
void |
QueryCacheImpl.setDoesQueryFitFilterFormCache(ApplicationUser searcher,
Query query,
boolean doesItFit) |
void |
QueryCache.setDoesQueryFitFilterFormCache(ApplicationUser searcher,
Query query,
boolean doesItFit)
Set the cached result of a doesQueryFitFiterForm operation on the
ApplicationUser Query pair. |
void |
QueryCacheImpl.setQueryContextCache(ApplicationUser searcher,
Query query,
QueryContext queryContext) |
void |
QueryCache.setQueryContextCache(ApplicationUser searcher,
Query query,
QueryContext queryContext)
Set the cached result of a getQueryContext operation on the
ApplicationUser Query pair. |
void |
QueryCacheImpl.setSimpleQueryContextCache(ApplicationUser searcher,
Query query,
QueryContext queryContext) |
void |
QueryCache.setSimpleQueryContextCache(ApplicationUser searcher,
Query query,
QueryContext queryContext)
Set the cached result of a getSimpleQueryContext operation on the
ApplicationUser Query pair. |
MessageSet |
DefaultSearchService.validateQuery(ApplicationUser searcher,
Query query) |
MessageSet |
SearchService.validateQuery(ApplicationUser searcher,
Query query)
Validates the specified
Query for passed user. |
MessageSet |
DefaultSearchService.validateQuery(ApplicationUser searcher,
Query query,
Long searchRequestId) |
MessageSet |
SearchService.validateQuery(ApplicationUser searcher,
Query query,
Long searchRequestId)
Validates the specified
Query for passed user and search request. |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
VoteService.VoteValidationResult.getVoter() |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Collection<ApplicationUser>> |
DefaultVoteService.viewVoters(Issue issue,
ApplicationUser remoteUser) |
ServiceOutcome<Collection<ApplicationUser>> |
VoteService.viewVoters(Issue issue,
ApplicationUser remoteUser)
Get the list of all users who have voted on an issue.
|
Modifier and Type | Method and Description |
---|---|
int |
DefaultVoteService.addVote(ApplicationUser remoteUser,
VoteService.VoteValidationResult validationResult) |
int |
VoteService.addVote(ApplicationUser remoteUser,
VoteService.VoteValidationResult validationResult)
Adds a new vote using the specified validation result.
|
ServiceOutcome<List<VoteHistoryEntry>> |
DefaultVoteService.getVoterHistory(Issue issue,
ApplicationUser remoteUser) |
ServiceOutcome<List<VoteHistoryEntry>> |
VoteService.getVoterHistory(Issue issue,
ApplicationUser remoteUser)
Get the list of vote history for an issue.
|
boolean |
DefaultVoteService.hasVoted(Issue issue,
ApplicationUser user) |
boolean |
VoteService.hasVoted(Issue issue,
ApplicationUser user)
Find if the specified user has voted on an issue
|
int |
DefaultVoteService.removeVote(ApplicationUser remoteUser,
VoteService.VoteValidationResult validationResult) |
int |
VoteService.removeVote(ApplicationUser remoteUser,
VoteService.VoteValidationResult validationResult)
Removes a new vote using the specified validation result.
|
VoteService.VoteValidationResult |
DefaultVoteService.validateAddVote(ApplicationUser remoteUser,
ApplicationUser voter,
Issue issue) |
VoteService.VoteValidationResult |
VoteService.validateAddVote(ApplicationUser remoteUser,
ApplicationUser user,
Issue issue)
Validates if the user currently logged in may add a vote by the user supplied for the issue provided.
|
VoteService.VoteValidationResult |
DefaultVoteService.validateRemoveVote(ApplicationUser remoteUser,
ApplicationUser voter,
Issue issue) |
VoteService.VoteValidationResult |
VoteService.validateRemoveVote(ApplicationUser remoteUser,
ApplicationUser user,
Issue issue)
Validates if the user currently logged in may remove a vote for the user supplied for the issue provided.
|
ServiceOutcome<Collection<ApplicationUser>> |
DefaultVoteService.viewVoters(Issue issue,
ApplicationUser remoteUser) |
ServiceOutcome<Collection<ApplicationUser>> |
VoteService.viewVoters(Issue issue,
ApplicationUser remoteUser)
Get the list of all users who have voted on an issue.
|
Constructor and Description |
---|
VoteValidationResult(ErrorCollection errors,
ApplicationUser voter,
Issue issue) |
Modifier and Type | Method and Description |
---|---|
protected <T extends ApplicationUser> |
DefaultWatcherService.convertUsers(Pair<Integer,List<String>> watchers,
com.google.common.base.Function<String,T> function)
Converts the usernames into User objects using the given function.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<ApplicationUser>> |
DefaultWatcherService.addWatcher(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher) |
ServiceOutcome<List<ApplicationUser>> |
WatcherService.addWatcher(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher)
Adds a watcher to an issue's list of watchers, returning the updated list of watchers.
|
protected List<ApplicationUser> |
DefaultWatcherService.getCurrentWatchersFor(Issue issue)
Returns a List containing the users that are currently watching an issue.
|
ServiceOutcome<Pair<Integer,List<ApplicationUser>>> |
DefaultWatcherService.getWatchers(Issue issue,
ApplicationUser remoteUser) |
ServiceOutcome<Pair<Integer,List<ApplicationUser>>> |
WatcherService.getWatchers(Issue issue,
ApplicationUser remoteUser)
Returns a the total number of watchers for a given issue in the first element of the returned Pair, and the list
of visible watchers in the second element of the Pair.
|
ServiceOutcome<List<ApplicationUser>> |
DefaultWatcherService.removeWatcher(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher) |
ServiceOutcome<List<ApplicationUser>> |
WatcherService.removeWatcher(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher)
Removes a watcher from an issue's list of watchers, returning the updated list of watchers.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<List<ApplicationUser>> |
DefaultWatcherService.addWatcher(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher) |
ServiceOutcome<List<ApplicationUser>> |
WatcherService.addWatcher(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher)
Adds a watcher to an issue's list of watchers, returning the updated list of watchers.
|
WatcherService.BulkWatchResult |
DefaultWatcherService.addWatcherToAll(Collection<Issue> issues,
ApplicationUser remoteUser,
ApplicationUser watcher) |
WatcherService.BulkWatchResult |
WatcherService.addWatcherToAll(Collection<Issue> issues,
ApplicationUser remoteUser,
ApplicationUser watcher)
Adds a watcher to all of the supplied issues.
|
WatcherService.BulkWatchResult |
DefaultWatcherService.addWatcherToAll(Collection<Issue> issues,
ApplicationUser remoteUser,
ApplicationUser watcher,
Context taskContext) |
WatcherService.BulkWatchResult |
WatcherService.addWatcherToAll(Collection<Issue> issues,
ApplicationUser remoteUser,
ApplicationUser watcher,
Context taskContext)
Adds a watcher to all of the supplied issues.
|
protected boolean |
DefaultWatcherService.canEditWatcherList(Issue issue,
ApplicationUser remoteUser)
Returns true iff the given User has permission to edit the watcher list of the issue.
|
boolean |
DefaultWatcherService.canUnwatchAll(Iterable<Issue> issues,
ApplicationUser remoteUser) |
boolean |
WatcherService.canUnwatchAll(Iterable<Issue> issues,
ApplicationUser applicationUser)
Whether the specified user can unwatch all the specified issues.
|
boolean |
DefaultWatcherService.canWatchAll(Iterable<Issue> issues,
ApplicationUser applicationUser) |
boolean |
WatcherService.canWatchAll(Iterable<Issue> issues,
ApplicationUser applicationUser)
Whether the specified user can watch all the specified issues.
|
protected void |
DefaultWatcherService.checkModifyWatchersPermission(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher)
Ensures that the given remoteUser has permission to add or remove the given watcher to/from the issue.
|
ServiceOutcome<Pair<Integer,List<ApplicationUser>>> |
DefaultWatcherService.getWatchers(Issue issue,
ApplicationUser remoteUser) |
ServiceOutcome<Pair<Integer,List<ApplicationUser>>> |
WatcherService.getWatchers(Issue issue,
ApplicationUser remoteUser)
Returns a the total number of watchers for a given issue in the first element of the returned Pair, and the list
of visible watchers in the second element of the Pair.
|
protected Pair<Integer,List<String>> |
DefaultWatcherService.getWatcherUsernames(Issue issue,
ApplicationUser remoteUser)
Returns a pair containing the watcher count and the watcher usernames for a given issue.
|
boolean |
DefaultWatcherService.hasViewWatcherListPermission(Issue issue,
ApplicationUser remoteUser)
Returns true iff the given User has permission to view the watcher list of the issue.
|
boolean |
WatcherService.hasViewWatcherListPermission(Issue issue,
ApplicationUser remoteUser)
Returns a boolean indicating whether the given user is authorised to view an issue's watcher list.
|
boolean |
AutoWatchService.isAutoWatchEnabledForUser(ApplicationUser user) |
ServiceOutcome<List<ApplicationUser>> |
DefaultWatcherService.removeWatcher(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher) |
ServiceOutcome<List<ApplicationUser>> |
WatcherService.removeWatcher(Issue issue,
ApplicationUser remoteUser,
ApplicationUser watcher)
Removes a watcher from an issue's list of watchers, returning the updated list of watchers.
|
WatcherService.BulkWatchResult |
DefaultWatcherService.removeWatcherFromAll(Collection<Issue> issues,
ApplicationUser remoteUser,
ApplicationUser watcher) |
WatcherService.BulkWatchResult |
WatcherService.removeWatcherFromAll(Collection<Issue> issues,
ApplicationUser remoteUser,
ApplicationUser watcher)
Removes a watcher from all of the supplied issues.
|
WatcherService.BulkWatchResult |
DefaultWatcherService.removeWatcherFromAll(Collection<Issue> issues,
ApplicationUser remoteUser,
ApplicationUser watcher,
Context taskContext) |
WatcherService.BulkWatchResult |
WatcherService.removeWatcherFromAll(Collection<Issue> issues,
ApplicationUser remoteUser,
ApplicationUser watcher,
Context taskContext)
Removes a watcher from all of the supplied issues.
|
Modifier and Type | Method and Description |
---|---|
AutoWatchOverride.Decision |
AutoWatchOverride.isAutoWatchAllowed(Issue issue,
ApplicationUser remoteUser,
ApplicationUser potentialWatcher) |
Modifier and Type | Method and Description |
---|---|
WorklogChangedSincePage<DeletedWorklog> |
DefaultWorklogService.getWorklogsDeletedSince(ApplicationUser user,
Long sinceInMilliseconds) |
WorklogChangedSincePage<DeletedWorklog> |
WorklogService.getWorklogsDeletedSince(ApplicationUser user,
Long sinceInMilliseconds)
Returns a list of ids of worklogs which were removed, since the time provided in .
|
WorklogChangedSincePage<Worklog> |
DefaultWorklogService.getWorklogsUpdatedSince(ApplicationUser user,
Long sinceInMilliseconds) |
WorklogChangedSincePage<Worklog> |
WorklogService.getWorklogsUpdatedSince(ApplicationUser user,
Long sinceInMilliseconds)
Returns a list of worklogs visible by the calling user, which were modified since time provided in .
|
protected boolean |
DefaultWorklogService.hasDeleteAllPermission(ApplicationUser user,
Issue issue) |
protected boolean |
DefaultWorklogService.hasDeleteOwnPermission(ApplicationUser user,
Worklog worklog) |
protected boolean |
DefaultWorklogService.hasEditAllPermission(ApplicationUser user,
Issue issue) |
protected boolean |
DefaultWorklogService.hasEditOwnPermission(ApplicationUser user,
Worklog worklog) |
protected boolean |
DefaultWorklogService.hasViewPermission(ApplicationUser user,
Issue issue) |
protected boolean |
DefaultWorklogService.isSameAuthor(ApplicationUser user,
Worklog worklog) |
protected boolean |
DefaultWorklogService.isUserInGroup(ApplicationUser user,
String groupLevel) |
protected boolean |
DefaultWorklogService.isUserInRole(Long roleLevel,
ApplicationUser user,
Issue issue) |
protected Worklog |
DefaultWorklogService.validateParamsAndCreateWorklog(JiraServiceContext jiraServiceContext,
Issue issue,
ApplicationUser author,
Visibility visibility,
String timeSpent,
Date startDate,
Long worklogId,
String comment,
Date created,
Date updated,
ApplicationUser updateAuthor,
String errorFieldPrefix) |
Modifier and Type | Method and Description |
---|---|
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertyDeletedEvent> |
IssueTypePropertyHelper.createDeletePropertyEventBiFunction() |
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertySetEvent> |
IssueTypePropertyHelper.createSetPropertyEventBiFunction() |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ProjectCreationData.getLead() |
ApplicationUser |
ProjectService.AbstractProjectValidationResult.getUser() |
ApplicationUser |
ProjectService.CreateProjectValidationResult.getUser() |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
MockProjectComponent.getComponentLead() |
ApplicationUser |
ProjectComponentImpl.getComponentLead() |
ApplicationUser |
MutableProjectComponent.getComponentLead() |
ApplicationUser |
ProjectComponent.getComponentLead()
Returns the lead for this project component.
|
Modifier and Type | Method and Description |
---|---|
ProjectComponent |
DefaultProjectComponentService.create(ApplicationUser user,
ErrorCollection errorCollection,
String name,
String description,
String lead,
Long projectId)
Create a new ProjectComponent object associated with the project with the ID specified and with the values given.
|
ProjectComponent |
ProjectComponentService.create(ApplicationUser user,
ErrorCollection errorCollection,
String name,
String description,
String lead,
Long projectId)
Deprecated.
since 6.3, use
#create(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.util.ErrorCollection, String, String, String, Long, Long) instead |
ProjectComponent |
DefaultProjectComponentService.create(ApplicationUser user,
ErrorCollection errorCollection,
String name,
String description,
String lead,
Long projectId,
Long assigneeType) |
ProjectComponent |
ProjectComponentService.create(ApplicationUser user,
ErrorCollection errorCollection,
String name,
String description,
String lead,
Long projectId,
Long assigneeType)
Create a project component with assignee type set as provided.
|
ProjectComponent |
DefaultProjectComponentService.find(ApplicationUser user,
ErrorCollection errorCollection,
Long id) |
ProjectComponent |
ProjectComponentService.find(ApplicationUser user,
ErrorCollection errorCollection,
Long id) |
void |
MockProjectComponent.setComponentLead(ApplicationUser componentLead) |
ProjectComponent |
DefaultProjectComponentService.update(ApplicationUser user,
ErrorCollection errorCollection,
MutableProjectComponent component) |
ProjectComponent |
ProjectComponentService.update(ApplicationUser user,
ErrorCollection errorCollection,
MutableProjectComponent component) |
Modifier and Type | Method and Description |
---|---|
List<PluggableProjectOperation> |
DefaultProjectOperationManager.getVisibleProjectOperations(Project project,
ApplicationUser user) |
List<PluggableProjectOperation> |
ProjectOperationManager.getVisibleProjectOperations(Project project,
ApplicationUser user)
Returns a list of
PluggableProjectOperation s |
Modifier and Type | Method and Description |
---|---|
java.util.function.BiFunction<ApplicationUser,EntityProperty,ProjectPropertyDeletedEvent> |
ProjectPropertyHelper.createDeletePropertyEventBiFunction() |
java.util.function.BiFunction<ApplicationUser,EntityProperty,ProjectPropertySetEvent> |
ProjectPropertyHelper.createSetPropertyEventBiFunction() |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Version> |
DefaultVersionService.create(ApplicationUser user,
VersionService.VersionBuilderValidationResult validationResult) |
ServiceOutcome<Version> |
VersionService.create(ApplicationUser user,
VersionService.VersionBuilderValidationResult validationResult)
Creates a new
Version , based on the validation result from calling #validateCreate(User,
VersionBuilder) . |
Version |
DefaultVersionService.createVersion(ApplicationUser user,
VersionService.CreateVersionValidationResult request) |
Version |
VersionService.createVersion(ApplicationUser user,
VersionService.CreateVersionValidationResult request)
Deprecated.
Use
#validateCreate(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilder)
and VersionService.create(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilderValidationResult) .
Since v6.4 |
long |
DefaultVersionService.getUnresolvedIssuesCount(ApplicationUser user,
Version version) |
long |
VersionService.getUnresolvedIssuesCount(ApplicationUser user,
Version version)
Return the count of Issues that are unresolved in this version.
|
VersionService.VersionResult |
DefaultVersionService.getVersionById(ApplicationUser user,
Long versionId) |
VersionService.VersionResult |
VersionService.getVersionById(ApplicationUser user,
Long versionId)
Used to retrieve a
Version object by version id. |
VersionService.VersionResult |
DefaultVersionService.getVersionById(ApplicationUser user,
Project project,
Long versionId) |
VersionService.VersionResult |
VersionService.getVersionById(ApplicationUser user,
Project project,
Long versionId)
|
VersionService.VersionResult |
DefaultVersionService.getVersionByProjectAndName(ApplicationUser user,
Project project,
String versionName) |
VersionService.VersionResult |
VersionService.getVersionByProjectAndName(ApplicationUser user,
Project project,
String versionName)
|
VersionService.VersionsResult |
DefaultVersionService.getVersionsByProject(ApplicationUser user,
Project project) |
VersionService.VersionsResult |
VersionService.getVersionsByProject(ApplicationUser user,
Project project)
|
ServiceOutcome<Page<Version>> |
DefaultVersionService.getVersionsByProject(ApplicationUser user,
Project project,
PageRequest pageRequest) |
ServiceOutcome<Page<Version>> |
VersionService.getVersionsByProject(ApplicationUser user,
Project project,
PageRequest pageRequest)
This method returns all versions for a given project.
|
ServiceOutcome<Page<Version>> |
DefaultVersionService.getVersionsByProject(ApplicationUser user,
Project project,
PageRequest pageRequest,
io.atlassian.fugue.Option<OrderByRequest<VersionService.VersionExtractableField>> orderBy) |
ServiceOutcome<Page<Version>> |
DefaultVersionService.getVersionsByProject(ApplicationUser user,
Project project,
PageRequest pageRequest,
OrderByRequest<VersionService.VersionExtractableField> orderBy) |
ServiceOutcome<Page<Version>> |
VersionService.getVersionsByProject(ApplicationUser user,
Project project,
PageRequest pageRequest,
OrderByRequest<VersionService.VersionExtractableField> orderBy)
This method returns all versions for a given project.
|
void |
DefaultVersionService.moveUnreleasedToNewVersion(ApplicationUser directoryUser,
Version currentVersion,
Version newVersion) |
void |
VersionService.moveUnreleasedToNewVersion(ApplicationUser user,
Version currentVersion,
Version newVersion)
Using the validation result from
#validateReleaseVersion(User, com.atlassian.jira.project.version.Version,
Date) a version will be released. |
protected Date |
DefaultVersionService.parseDate(ApplicationUser user,
com.atlassian.jira.bc.project.version.DefaultVersionService.DateField field,
String date)
Parses a string release date into a Date object, throwing an exception if there is a problem parsing the string.
|
ServiceOutcome<Version> |
DefaultVersionService.setReleaseDate(ApplicationUser user,
Version version,
Date releaseDate) |
ServiceOutcome<Version> |
VersionService.setReleaseDate(ApplicationUser user,
Version version,
Date releaseDate)
Deprecated.
Use
#validateUpdate(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilder) .
Since v6.4 |
ServiceOutcome<Version> |
DefaultVersionService.setReleaseDate(ApplicationUser user,
Version version,
String releaseDate) |
ServiceOutcome<Version> |
VersionService.setReleaseDate(ApplicationUser user,
Version version,
String releaseDate)
Deprecated.
Use
#validateUpdate(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilder) .
Since v6.4 |
ServiceOutcome<Version> |
DefaultVersionService.setVersionDetails(ApplicationUser user,
Version version,
String name,
String description) |
ServiceOutcome<Version> |
VersionService.setVersionDetails(ApplicationUser user,
Version version,
String name,
String description)
Deprecated.
Use
#validateUpdate(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilder) .
Since v6.4 |
ServiceOutcome<Version> |
DefaultVersionService.update(ApplicationUser user,
VersionService.VersionBuilderValidationResult validationResult) |
ServiceOutcome<Version> |
VersionService.update(ApplicationUser user,
VersionService.VersionBuilderValidationResult validationResult)
Updates the existing
Version , based on the validation result from calling #validateUpdate(User,
VersionBuilder) . |
VersionService.ArchiveVersionValidationResult |
DefaultVersionService.validateArchiveVersion(ApplicationUser user,
Version version) |
VersionService.ArchiveVersionValidationResult |
VersionService.validateArchiveVersion(ApplicationUser user,
Version version)
This method should be called before archiving a version.
|
VersionService.VersionBuilderValidationResult |
DefaultVersionService.validateCreate(ApplicationUser user,
VersionBuilder versionBuilder) |
VersionService.VersionBuilderValidationResult |
VersionService.validateCreate(ApplicationUser user,
VersionBuilder versionBuilder)
Validates the creation of a new
Version object, specified with a VersionBuilder . |
VersionService.CreateVersionValidationResult |
DefaultVersionService.validateCreateVersion(ApplicationUser user,
Project project,
String versionName,
Date releaseDate,
String description,
Long scheduleAfterVersion) |
VersionService.CreateVersionValidationResult |
VersionService.validateCreateVersion(ApplicationUser user,
Project project,
String versionName,
Date releaseDate,
String description,
Long scheduleAfterVersion)
Deprecated.
Use
#validateCreate(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilder)
and VersionService.create(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilderValidationResult) .
Since v6.4 |
VersionService.CreateVersionValidationResult |
DefaultVersionService.validateCreateVersion(ApplicationUser user,
Project project,
String versionName,
String releaseDateStr,
String description,
Long scheduleAfterVersion) |
VersionService.CreateVersionValidationResult |
VersionService.validateCreateVersion(ApplicationUser user,
Project project,
String versionName,
String releaseDate,
String description,
Long scheduleAfterVersion)
Deprecated.
Use
#validateCreate(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilder)
and VersionService.create(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilderValidationResult) .
Since v6.4. |
VersionService.MoveVersionValidationResult |
DefaultVersionService.validateDecreaseVersionSequence(ApplicationUser user,
long versionId) |
VersionService.MoveVersionValidationResult |
VersionService.validateDecreaseVersionSequence(ApplicationUser user,
long versionId)
Validate Move a version to have a higher sequence number - ie make it later.
|
VersionService.MoveVersionValidationResult |
DefaultVersionService.validateIncreaseVersionSequence(ApplicationUser user,
long versionId) |
VersionService.MoveVersionValidationResult |
VersionService.validateIncreaseVersionSequence(ApplicationUser user,
long versionId)
Validate Move a version to have a lower sequence number - ie make it earlier.
|
VersionService.MoveVersionValidationResult |
DefaultVersionService.validateMoveToEndVersionSequence(ApplicationUser user,
long versionId) |
VersionService.MoveVersionValidationResult |
VersionService.validateMoveToEndVersionSequence(ApplicationUser user,
long versionId)
Validate Move a version to the end of the version sequence.
|
VersionService.MoveVersionValidationResult |
DefaultVersionService.validateMoveToStartVersionSequence(ApplicationUser user,
long versionId) |
VersionService.MoveVersionValidationResult |
VersionService.validateMoveToStartVersionSequence(ApplicationUser user,
long versionId)
Validate Move a version to the start of the version list.
|
VersionService.MoveVersionValidationResult |
DefaultVersionService.validateMoveVersionAfter(ApplicationUser user,
long versionId,
Long scheduleAfterVersionId) |
VersionService.MoveVersionValidationResult |
VersionService.validateMoveVersionAfter(ApplicationUser user,
long versionId,
Long scheduleAfterVersion)
Validate Move a version after another version.
|
ServiceOutcome<Version> |
DefaultVersionService.validateReleaseDate(ApplicationUser user,
Version version,
String releaseDate) |
ServiceOutcome<Version> |
VersionService.validateReleaseDate(ApplicationUser user,
Version version,
String releaseDate)
Deprecated.
Use
#validateUpdate(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilder) .
Since v6.4 |
VersionService.ReleaseVersionValidationResult |
DefaultVersionService.validateReleaseVersion(ApplicationUser user,
Version version,
Date releaseDate) |
VersionService.ReleaseVersionValidationResult |
VersionService.validateReleaseVersion(ApplicationUser user,
Version version,
Date releaseDate)
This method needs to be called before releasing a version to ensure all parameters are correct.
|
VersionService.ReleaseVersionValidationResult |
DefaultVersionService.validateReleaseVersion(ApplicationUser user,
Version version,
String releaseDate) |
VersionService.ReleaseVersionValidationResult |
VersionService.validateReleaseVersion(ApplicationUser user,
Version version,
String releaseDate)
This method needs to be called before releasing a version to ensure all parameters are correct.
|
protected ServiceOutcome<Void> |
DefaultVersionService.validateStartReleaseDates(ApplicationUser user,
com.atlassian.jira.bc.project.version.DefaultVersionService.DateField field,
Date startDate,
Date releaseDate) |
VersionService.ArchiveVersionValidationResult |
DefaultVersionService.validateUnarchiveVersion(ApplicationUser user,
Version version) |
VersionService.ArchiveVersionValidationResult |
VersionService.validateUnarchiveVersion(ApplicationUser user,
Version version)
This method should be called before unarchiving a version.
|
VersionService.ReleaseVersionValidationResult |
DefaultVersionService.validateUnreleaseVersion(ApplicationUser user,
Version version,
Date releaseDate) |
VersionService.ReleaseVersionValidationResult |
VersionService.validateUnreleaseVersion(ApplicationUser user,
Version version,
Date releaseDate)
This method needs to be called before unreleasing a version to ensure all parameters are correct.
|
VersionService.ReleaseVersionValidationResult |
DefaultVersionService.validateUnreleaseVersion(ApplicationUser user,
Version version,
String releaseDate) |
VersionService.ReleaseVersionValidationResult |
VersionService.validateUnreleaseVersion(ApplicationUser user,
Version version,
String releaseDate)
This method needs to be called before unreleasing a version to ensure all parameters are correct.
|
VersionService.VersionBuilderValidationResult |
DefaultVersionService.validateUpdate(ApplicationUser user,
VersionBuilder versionBuilder) |
VersionService.VersionBuilderValidationResult |
VersionService.validateUpdate(ApplicationUser user,
VersionBuilder versionBuilder)
Validates the update of an existing
Version object, specified with a VersionBuilder . |
ErrorCollection |
DefaultVersionService.validateVersionDetails(ApplicationUser user,
Version version,
String name,
String description) |
ErrorCollection |
VersionService.validateVersionDetails(ApplicationUser user,
Version version,
String name,
String description)
Deprecated.
Use
#validateUpdate(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.bc.project.version.VersionService.VersionBuilder) .
Since v6.4 |
Modifier and Type | Method and Description |
---|---|
void |
DefaultProjectRoleService.addActorsToProjectRole(ApplicationUser currentUser,
Collection<String> actors,
ProjectRole projectRole,
Project project,
String actorType,
ErrorCollection errorCollection) |
void |
ProjectRoleService.addActorsToProjectRole(ApplicationUser currentUser,
Collection<String> actors,
ProjectRole projectRole,
Project project,
String actorType,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.addActorsToProjectRole(java.util.Collection, com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.project.Project, String, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will add project role actor associations for the given |
void |
DefaultProjectRoleService.addDefaultActorsToProjectRole(ApplicationUser currentUser,
Collection<String> actors,
ProjectRole projectRole,
String type,
ErrorCollection errorCollection) |
void |
ProjectRoleService.addDefaultActorsToProjectRole(ApplicationUser currentUser,
Collection<String> actors,
ProjectRole projectRole,
String type,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.addActorsToProjectRole(java.util.Collection, com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.project.Project, String, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will add default role actor associations based off the passed in |
ProjectRole |
DefaultProjectRoleService.createProjectRole(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection) |
ProjectRole |
ProjectRoleService.createProjectRole(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.createProjectRole(com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will create the project role with the given |
void |
DefaultProjectRoleService.deleteProjectRole(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection) |
void |
ProjectRoleService.deleteProjectRole(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.deleteProjectRole(com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will delete the given |
Collection |
DefaultProjectRoleService.getAssociatedIssueSecuritySchemes(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection) |
Collection |
ProjectRoleService.getAssociatedIssueSecuritySchemes(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.getAssociatedIssueSecuritySchemes(com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will get all issue security scheme's that the specified projectRole is currently used in. |
Collection |
DefaultProjectRoleService.getAssociatedNotificationSchemes(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection) |
Collection |
ProjectRoleService.getAssociatedNotificationSchemes(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.getAssociatedNotificationSchemes(com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will get all notification scheme's that the specified projectRole is currently used in. |
Collection |
DefaultProjectRoleService.getAssociatedPermissionSchemes(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection) |
Collection |
ProjectRoleService.getAssociatedPermissionSchemes(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.getAssociatedPermissionSchemes(com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will get all permission scheme's that the specified projectRole is currently used in. |
org.apache.commons.collections.MultiMap |
DefaultProjectRoleService.getAssociatedWorkflows(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection) |
org.apache.commons.collections.MultiMap |
ProjectRoleService.getAssociatedWorkflows(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.getAssociatedWorkflows(com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Returns workflows and their actions that are associated with the given
|
DefaultRoleActors |
DefaultProjectRoleService.getDefaultRoleActors(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection) |
DefaultRoleActors |
ProjectRoleService.getDefaultRoleActors(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection collection)
Deprecated.
Use
ProjectRoleService.getProjectRoleActors(com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.project.Project, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will return a |
Map<Long,List<String>> |
DefaultProjectRoleService.getProjectIdsForUserInGroupsBecauseOfRole(ApplicationUser currentUser,
List<Long> projectsToLimitBy,
ProjectRole projectRole,
String projectRoleType,
String userName,
ErrorCollection errorCollection) |
Map<Long,List<String>> |
ProjectRoleService.getProjectIdsForUserInGroupsBecauseOfRole(ApplicationUser currentUser,
List<Long> projectsToLimitBy,
ProjectRole projectRole,
String projectRoleType,
String userName,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.getProjectIdsForUserInGroupsBecauseOfRole(java.util.List, com.atlassian.jira.security.roles.ProjectRole, String, String, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Returns a Map of Lists. The key of the map is a Long, project id and the value of the map is a list of group names that the user is a member of for the project. This method is meant to provide an efficient means to discover which groups that are associated with a project role implicitly include the specified user in that project role. We allow you to specify a range of projectsToLimitBy so that you can perform only one query to find this information for many projects for a single projectRole. |
ProjectRole |
DefaultProjectRoleService.getProjectRole(ApplicationUser currentUser,
Long id,
ErrorCollection errorCollection) |
ProjectRole |
ProjectRoleService.getProjectRole(ApplicationUser currentUser,
Long id,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.getProjectRole(Long, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will return the project role with the given |
ProjectRoleActors |
DefaultProjectRoleService.getProjectRoleActors(ApplicationUser currentUser,
ProjectRole projectRole,
Project project,
ErrorCollection errorCollection) |
ProjectRoleActors |
ProjectRoleService.getProjectRoleActors(ApplicationUser currentUser,
ProjectRole projectRole,
Project project,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.getProjectRoleActors(com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.project.Project, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will return a {@link ProjectRoleActors) for the given |
ProjectRole |
DefaultProjectRoleService.getProjectRoleByName(ApplicationUser currentUser,
String name,
ErrorCollection errorCollection) |
ProjectRole |
ProjectRoleService.getProjectRoleByName(ApplicationUser currentUser,
String name,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.getProjectRoleByName(String, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will return the project role with the given name , and checking the currentUser
has the correct permissions to perform the operation.
The passed in errorCollection will contain any errors that are generated, such as permission violations. |
Collection<ProjectRole> |
DefaultProjectRoleService.getProjectRoles(ApplicationUser currentUser,
ErrorCollection errorCollection) |
Collection<ProjectRole> |
ProjectRoleService.getProjectRoles(ApplicationUser currentUser,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.getProjectRoles(com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Get all the ProjectRoles available in JIRA. Currently this list is global. |
Collection<Project> |
DefaultProjectRoleService.getProjectsContainingRoleActorByNameAndType(ApplicationUser currentUser,
String name,
String type,
ErrorCollection errorCollection) |
Collection<Project> |
ProjectRoleService.getProjectsContainingRoleActorByNameAndType(ApplicationUser currentUser,
String name,
String type,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.getProjectsContainingRoleActorByNameAndType(String, String, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Returns the |
boolean |
DefaultProjectRoleService.hasProjectRolePermission(ApplicationUser currentUser,
Project project) |
boolean |
ProjectRoleService.hasProjectRolePermission(ApplicationUser currentUser,
Project project)
Deprecated.
Use
#hasProjectRolePermission(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.project.Project) instead. Since v6.0.
Will have permission to modify roles if they are a JIRA admin or, if in enterprise, the user is a project administrator. |
boolean |
DefaultProjectRoleService.isProjectRoleNameUnique(ApplicationUser currentUser,
String name,
ErrorCollection errorCollection) |
boolean |
ProjectRoleService.isProjectRoleNameUnique(ApplicationUser currentUser,
String name,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.isProjectRoleNameUnique(String, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will tell you if a role name exists or not. |
void |
DefaultProjectRoleService.removeActorsFromProjectRole(ApplicationUser currentUser,
Collection<String> actors,
ProjectRole projectRole,
Project project,
String actorType,
ErrorCollection errorCollection) |
void |
ProjectRoleService.removeActorsFromProjectRole(ApplicationUser currentUser,
Collection<String> actors,
ProjectRole projectRole,
Project project,
String actorType,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.removeActorsFromProjectRole(java.util.Collection, com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.project.Project, String, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will remove project role actor associations for the given |
void |
DefaultProjectRoleService.removeAllRoleActorsByNameAndType(ApplicationUser currentUser,
String name,
String type,
ErrorCollection errorCollection) |
void |
ProjectRoleService.removeAllRoleActorsByNameAndType(ApplicationUser currentUser,
String name,
String type,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.removeAllRoleActorsByNameAndType(String, String, ErrorCollection) instead. Since v6.0.
Will remove all role actors with the specified name and the specified type. This method should be used to clean up after the actual subject of the role actor has been deleted (ex. deleting a user from the system). |
void |
DefaultProjectRoleService.removeAllRoleActorsByProject(ApplicationUser currentUser,
Project project,
ErrorCollection errorCollection) |
void |
ProjectRoleService.removeAllRoleActorsByProject(ApplicationUser currentUser,
Project project,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.removeAllRoleActorsByProject(com.atlassian.jira.project.Project, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will remove all role actors associated with the specified project. This method should be used
to clean up just before the actual project has been deleted (ex. deleting a project from the system). |
void |
DefaultProjectRoleService.removeDefaultActorsFromProjectRole(ApplicationUser currentUser,
Collection<String> actors,
ProjectRole projectRole,
String actorType,
ErrorCollection errorCollection) |
void |
ProjectRoleService.removeDefaultActorsFromProjectRole(ApplicationUser currentUser,
Collection<String> actors,
ProjectRole projectRole,
String actorType,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.removeDefaultActorsFromProjectRole(java.util.Collection, com.atlassian.jira.security.roles.ProjectRole, String, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will remove default actor associations based off the passed in |
List<Long> |
DefaultProjectRoleService.roleActorOfTypeExistsForProjects(ApplicationUser currentUser,
List<Long> projectsToLimitBy,
ProjectRole projectRole,
String projectRoleType,
String projectRoleParameter,
ErrorCollection errorCollection) |
List<Long> |
ProjectRoleService.roleActorOfTypeExistsForProjects(ApplicationUser currentUser,
List<Long> projectsToLimitBy,
ProjectRole projectRole,
String projectRoleType,
String projectRoleParameter,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.roleActorOfTypeExistsForProjects(java.util.List, com.atlassian.jira.security.roles.ProjectRole, String, String, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Returns a list of projectId's for which the role actor of the specified type exists in the project for the provided projectRole. This is a method that is meant to efficiently allow discovery of whether a UserRoleActor exists in a project role for a subset of projects. |
void |
DefaultProjectRoleService.setActorsForProjectRole(ApplicationUser currentUser,
Map<String,Set<String>> newRoleActors,
ProjectRole projectRole,
Project project,
ErrorCollection errorCollection) |
void |
ProjectRoleService.setActorsForProjectRole(ApplicationUser currentUser,
Map<String,Set<String>> newRoleActors,
ProjectRole projectRole,
Project project,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.setActorsForProjectRole(java.util.Map, com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.project.Project, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will set the project role actor associations for the given |
void |
DefaultProjectRoleService.updateProjectRole(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection) |
void |
ProjectRoleService.updateProjectRole(ApplicationUser currentUser,
ProjectRole projectRole,
ErrorCollection errorCollection)
Deprecated.
Use
ProjectRoleService.updateProjectRole(com.atlassian.jira.security.roles.ProjectRole, com.atlassian.jira.util.ErrorCollection) instead. Since v6.0.
Will update projectRole , checking
the currentUser has the correct permissions to perform the update operation.
The passed in errorCollection will contain any errors that are generated, such as permission violations. |
ErrorCollection |
DefaultProjectRoleService.validateRemoveAllRoleActorsByNameAndType(ApplicationUser currentUser,
String name,
String type) |
ErrorCollection |
ProjectRoleService.validateRemoveAllRoleActorsByNameAndType(ApplicationUser currentUser,
String name,
String type)
Deprecated.
Use
ProjectRoleService.removeAllRoleActorsByNameAndType(String, String) instead. Since v6.0.
Will validate removing all role actors with the specified name and the specified type. This method should be used before clean up after the actual subject of the role actor has been deleted (ex. deleting a user from the system). Validation error wil be reported when name does not exists, type does not exists or user performing validation does not have administrative rights |
Modifier and Type | Method and Description |
---|---|
LoginResult |
LoginServiceImpl.authenticate(ApplicationUser user,
String password) |
LoginResult |
LoginService.authenticate(ApplicationUser user,
String password)
This can be called to see if a user knows the given password.
|
LoginProperties |
LoginServiceImpl.getLoginProperties(ApplicationUser remoteUser,
javax.servlet.http.HttpServletRequest request) |
LoginProperties |
LoginService.getLoginProperties(ApplicationUser remoteUser,
javax.servlet.http.HttpServletRequest request)
Returns loginProperties needed to render the login gadget or login form.
|
void |
LoginServiceImpl.resetFailedLoginCount(ApplicationUser user) |
void |
LoginService.resetFailedLoginCount(ApplicationUser user)
This can be called to reset the failed login count of a user
|
LoginInfo |
LoginServiceImpl.updateLastLoginTime(ApplicationUser user) |
LoginInfo |
LoginService.updateLastLoginTime(ApplicationUser user)
This can be called to update the user's last login time upon a successful login.
|
Constructor and Description |
---|
ApplicationUserBuilderImpl(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertyDeletedEvent> |
UserPropertyHelper.createDeletePropertyEventBiFunction() |
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertySetEvent> |
UserPropertyHelper.createSetPropertyEventBiFunction() |
java.util.function.Function<Long,io.atlassian.fugue.Option<ApplicationUser>> |
UserPropertyHelper.getEntityByIdFunction() |
java.util.function.Function<String,io.atlassian.fugue.Option<ApplicationUser>> |
UserPropertyHelper.getEntityByKeyFunction() |
EntityPropertyHelper.CheckPermissionFunction<ApplicationUser> |
UserPropertyHelper.hasEditPermissionFunction() |
EntityPropertyHelper.CheckPermissionFunction<ApplicationUser> |
UserPropertyHelper.hasReadPermissionFunction() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
UserPropertyHelper.canAdministerOtherUser(ApplicationUser currentUser,
ApplicationUser accessedUser) |
protected boolean |
UserPropertyHelper.isTheSameUser(ApplicationUser user1,
ApplicationUser user2) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
DefaultUserPickerSearchService.getUserByName(JiraServiceContext jiraServiceContext,
String query) |
ApplicationUser |
UserPickerSearchService.getUserByName(JiraServiceContext jiraServiceContext,
String query)
Deprecated.
Returns a user by exact username
|
ApplicationUser |
UserSearchService.getUserByName(JiraServiceContext jiraServiceContext,
String query)
Returns a user by exact username
|
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
DefaultUserPickerSearchService.filterUsers(List<ApplicationUser> applicationUsers,
String nameQuery,
String emailQuery,
UserSearchParams userSearchParams) |
List<ApplicationUser> |
UserSearchService.filterUsers(List<ApplicationUser> applicationUsers,
String nameQuery,
String emailQuery,
UserSearchParams userSearchParams)
Filter a list of
ApplicationUser based on provided criteria and return only those users that match. |
List<ApplicationUser> |
DefaultUserPickerSearchService.filterUsers(List<ApplicationUser> applicationUsers,
String nameQuery,
UserSearchParams userSearchParams) |
List<ApplicationUser> |
UserSearchService.filterUsers(List<ApplicationUser> applicationUsers,
String nameQuery,
UserSearchParams userSearchParams)
Filter a list of
ApplicationUser based on provided criteria and return only those users that match. |
Collection<ApplicationUser> |
DefaultAssigneeService.findAssignableUsers(String query,
Issue issue,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
Collection<ApplicationUser> |
AssigneeService.findAssignableUsers(String query,
Issue issue,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Get assignable Users based on a query string and issue.
|
Collection<ApplicationUser> |
DefaultAssigneeService.findAssignableUsers(String query,
Project project) |
Collection<ApplicationUser> |
AssigneeService.findAssignableUsers(String query,
Project project)
Get assignable Users based on a query string and project.
|
List<ApplicationUser> |
DefaultUserPickerSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query) |
List<ApplicationUser> |
UserPickerSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query)
Deprecated.
Get Users based on a query string.
|
List<ApplicationUser> |
UserSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query)
Get Users based on a query string.
|
List<ApplicationUser> |
DefaultUserPickerSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query,
UserSearchParams userSearchParams) |
List<ApplicationUser> |
UserPickerSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query,
UserSearchParams userSearchParams)
Deprecated.
Get Users based on a query string.
|
List<ApplicationUser> |
UserSearchService.findUsers(JiraServiceContext jiraServiceContext,
String query,
UserSearchParams userSearchParams)
Get Users based on a query string.
|
List<ApplicationUser> |
DefaultUserPickerSearchService.findUsers(String nameQuery,
String emailQuery,
UserSearchParams userSearchParams) |
List<ApplicationUser> |
UserPickerSearchService.findUsers(String nameQuery,
String emailQuery,
UserSearchParams userSearchParams)
Deprecated.
Get Users based on query strings.
|
List<ApplicationUser> |
UserSearchService.findUsers(String nameQuery,
String emailQuery,
UserSearchParams userSearchParams)
Get Users based on query strings.
|
List<ApplicationUser> |
DefaultUserPickerSearchService.findUsers(String query,
UserSearchParams userSearchParams) |
List<ApplicationUser> |
UserPickerSearchService.findUsers(String query,
UserSearchParams userSearchParams)
Deprecated.
Get Users based on a query string.
|
List<ApplicationUser> |
UserSearchService.findUsers(String query,
UserSearchParams userSearchParams)
Get Users based on a query string.
|
List<ApplicationUser> |
DefaultUserPickerSearchService.findUsersAllowEmptyQuery(JiraServiceContext jiraServiceContext,
String query) |
List<ApplicationUser> |
UserPickerSearchService.findUsersAllowEmptyQuery(JiraServiceContext jiraServiceContext,
String query)
Deprecated.
Get Users based on a query string.
|
List<ApplicationUser> |
UserSearchService.findUsersAllowEmptyQuery(JiraServiceContext jiraServiceContext,
String query)
Get Users based on a query string.
|
Iterable<ApplicationUser> |
DefaultUserPickerSearchService.findUsersByEmail(String email) |
Iterable<ApplicationUser> |
UserSearchService.findUsersByEmail(String email)
Searches for a user with the specified e-mail address.
|
Iterable<ApplicationUser> |
DefaultUserPickerSearchService.findUsersByFullName(String fullName) |
Iterable<ApplicationUser> |
UserSearchService.findUsersByFullName(String fullName)
Searches for a user with the specified full name.
|
List<ApplicationUser> |
DefaultAssigneeService.getAssignableUsers(Collection<Issue> issues,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
List<ApplicationUser> |
AssigneeService.getAssignableUsers(Collection<Issue> issues,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Get all
ApplicationUser s that may have all of the given Issue s assigned to them, for a
given workflow state. |
List<ApplicationUser> |
DefaultAssigneeService.getAssignableUsers(Issue issue,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
List<ApplicationUser> |
AssigneeService.getAssignableUsers(Issue issue,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Get all
ApplicationUser s that may have an Issue assigned to them, for a given workflow state. |
List<ApplicationUser> |
DefaultAssigneeService.getSuggestedAssignees(Issue issue,
ApplicationUser loggedInUser,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
List<ApplicationUser> |
AssigneeService.getSuggestedAssignees(Issue issue,
ApplicationUser loggedInUser,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Returns a list of suggested Assignee
ApplicationUser s for a given Issue and logged-in com.atlassian.jira.user.ApplicationUser. |
List<ApplicationUser> |
DefaultAssigneeService.getSuggestedAssignees(Issue issue,
ApplicationUser loggedInUser,
List<ApplicationUser> assignableUsers) |
List<ApplicationUser> |
AssigneeService.getSuggestedAssignees(Issue issue,
ApplicationUser loggedInUser,
List<ApplicationUser> assignableUsers)
Returns a list of suggested Assignee
ApplicationUser s for a given Issue and logged-in com.atlassian.jira.user.ApplicationUser. |
List<ApplicationUser> |
DefaultAssigneeService.getSuggestedAssignees(Set<String> suggestedAssigneeNames,
List<ApplicationUser> assignableUsers)
Given a set of suggested names and an ordered list of assignable users, returns an order list of suggested users.
|
List<ApplicationUser> |
AssigneeService.getSuggestedAssignees(Set<String> suggestedAssigneeNames,
List<ApplicationUser> assignableUsers)
Converts a set of suggested assignee name Strings to a list of suggested
ApplicationUser objects. |
Modifier and Type | Method and Description |
---|---|
boolean |
UserMatcherPredicate.apply(ApplicationUser user) |
boolean |
DefaultUserPickerSearchService.canPerformAjaxSearch(ApplicationUser user) |
boolean |
UserPickerSearchService.canPerformAjaxSearch(ApplicationUser user)
Deprecated.
Determines whether the given user could perform AJAX search.
|
boolean |
UserSearchService.canPerformAjaxSearch(ApplicationUser user)
Determines whether the given user could perform AJAX search.
|
Set<String> |
DefaultAssigneeService.getRecentAssigneeKeysForUser(ApplicationUser remoteUser)
Get users keys that the given user has recently assigned issues to.
|
Set<String> |
AssigneeService.getRecentAssigneeKeysForUser(ApplicationUser remoteUser)
Returns the keys of
ApplicationUser s that have recently been assigned to issues by the specified com.atlassian.jira.user.ApplicationUser. |
Set<String> |
DefaultAssigneeService.getRecentAssigneeNamesForUser(ApplicationUser remoteUser)
Get users names that the given user has recently assigned issues to.
|
Set<String> |
AssigneeService.getRecentAssigneeNamesForUser(ApplicationUser user)
Returns the names of
ApplicationUser s that have recently been assigned to issues by the specified com.atlassian.jira.user.ApplicationUser. |
List<ApplicationUser> |
DefaultAssigneeService.getSuggestedAssignees(Issue issue,
ApplicationUser loggedInUser,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
List<ApplicationUser> |
AssigneeService.getSuggestedAssignees(Issue issue,
ApplicationUser loggedInUser,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Returns a list of suggested Assignee
ApplicationUser s for a given Issue and logged-in com.atlassian.jira.user.ApplicationUser. |
List<ApplicationUser> |
DefaultAssigneeService.getSuggestedAssignees(Issue issue,
ApplicationUser loggedInUser,
List<ApplicationUser> assignableUsers) |
List<ApplicationUser> |
AssigneeService.getSuggestedAssignees(Issue issue,
ApplicationUser loggedInUser,
List<ApplicationUser> assignableUsers)
Returns a list of suggested Assignee
ApplicationUser s for a given Issue and logged-in com.atlassian.jira.user.ApplicationUser. |
boolean |
DefaultAssigneeService.isAssignable(Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
boolean |
AssigneeService.isAssignable(Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Determines if a user is assignable to an issue.
|
boolean |
DefaultAssigneeService.isAssignable(Project project,
ApplicationUser user) |
boolean |
AssigneeService.isAssignable(Project project,
ApplicationUser user)
Determines if a user is assignable to an issue in a project.
|
boolean |
DefaultUserPickerSearchService.userMatches(ApplicationUser user,
UserSearchParams userSearchParams) |
boolean |
UserPickerSearchService.userMatches(ApplicationUser user,
UserSearchParams userSearchParams)
Deprecated.
Determine whether a user matches the search criteria specified in the
userSearchParams parameter. |
boolean |
UserSearchService.userMatches(ApplicationUser user,
UserSearchParams userSearchParams)
Determine whether a user matches the search criteria specified in the
userSearchParams parameter. |
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
DefaultUserPickerSearchService.filterUsers(List<ApplicationUser> applicationUsers,
String nameQuery,
String emailQuery,
UserSearchParams userSearchParams) |
List<ApplicationUser> |
UserSearchService.filterUsers(List<ApplicationUser> applicationUsers,
String nameQuery,
String emailQuery,
UserSearchParams userSearchParams)
Filter a list of
ApplicationUser based on provided criteria and return only those users that match. |
List<ApplicationUser> |
DefaultUserPickerSearchService.filterUsers(List<ApplicationUser> applicationUsers,
String nameQuery,
UserSearchParams userSearchParams) |
List<ApplicationUser> |
UserSearchService.filterUsers(List<ApplicationUser> applicationUsers,
String nameQuery,
UserSearchParams userSearchParams)
Filter a list of
ApplicationUser based on provided criteria and return only those users that match. |
List<ApplicationUser> |
DefaultAssigneeService.getSuggestedAssignees(Issue issue,
ApplicationUser loggedInUser,
List<ApplicationUser> assignableUsers) |
List<ApplicationUser> |
AssigneeService.getSuggestedAssignees(Issue issue,
ApplicationUser loggedInUser,
List<ApplicationUser> assignableUsers)
Returns a list of suggested Assignee
ApplicationUser s for a given Issue and logged-in com.atlassian.jira.user.ApplicationUser. |
List<ApplicationUser> |
DefaultAssigneeService.getSuggestedAssignees(Set<String> suggestedAssigneeNames,
List<ApplicationUser> assignableUsers)
Given a set of suggested names and an ordered list of assignable users, returns an order list of suggested users.
|
List<ApplicationUser> |
AssigneeService.getSuggestedAssignees(Set<String> suggestedAssigneeNames,
List<ApplicationUser> assignableUsers)
Converts a set of suggested assignee name Strings to a list of suggested
ApplicationUser objects. |
Map<String,Boolean> |
DefaultAssigneeService.makeUniqueFullNamesMap(Collection<ApplicationUser> users) |
Map<String,Boolean> |
AssigneeService.makeUniqueFullNamesMap(Collection<ApplicationUser> users)
Converts a collection of Users to a Map where the key is the com.atlassian.jira.user.ApplicationUser full name and the value is true or false.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<DraftWorkflowScheme> |
DefaultWorkflowSchemeService.createDraft(ApplicationUser creator,
DraftWorkflowScheme draftWorkflowScheme) |
ServiceOutcome<DraftWorkflowScheme> |
WorkflowSchemeService.createDraft(ApplicationUser creator,
DraftWorkflowScheme draftWorkflowScheme)
Create a draft workflow scheme.
|
ServiceOutcome<DraftWorkflowScheme> |
DefaultWorkflowSchemeService.createDraft(ApplicationUser creator,
long parentId) |
ServiceOutcome<DraftWorkflowScheme> |
WorkflowSchemeService.createDraft(ApplicationUser creator,
long parentId)
Create a draft for the passed workflow scheme.
|
ServiceOutcome<AssignableWorkflowScheme> |
DefaultWorkflowSchemeService.createScheme(ApplicationUser creator,
AssignableWorkflowScheme scheme) |
ServiceOutcome<AssignableWorkflowScheme> |
WorkflowSchemeService.createScheme(ApplicationUser creator,
AssignableWorkflowScheme scheme)
Create a new workflow scheme.
|
ServiceOutcome<Void> |
DefaultWorkflowService.deleteWorkflow(ApplicationUser deletingUser,
String workflowName) |
ServiceOutcome<Void> |
WorkflowService.deleteWorkflow(ApplicationUser deletingUser,
String workflowName)
Deletes the workflow which has the passed name.
|
ServiceOutcome<Void> |
DefaultWorkflowSchemeService.deleteWorkflowScheme(ApplicationUser user,
WorkflowScheme scheme) |
ServiceOutcome<Void> |
WorkflowSchemeService.deleteWorkflowScheme(ApplicationUser user,
WorkflowScheme scheme)
Delete the passed workflow scheme.
|
ServiceOutcome<DraftWorkflowScheme> |
DefaultWorkflowSchemeService.getDraftWorkflowScheme(ApplicationUser user,
AssignableWorkflowScheme parentScheme) |
ServiceOutcome<DraftWorkflowScheme> |
WorkflowSchemeService.getDraftWorkflowScheme(ApplicationUser user,
AssignableWorkflowScheme parentScheme)
Return draft of the passed workflow scheme if it actually exists.
|
ServiceOutcome<DraftWorkflowScheme> |
DefaultWorkflowSchemeService.getDraftWorkflowSchemeNotNull(ApplicationUser user,
AssignableWorkflowScheme parentScheme) |
ServiceOutcome<DraftWorkflowScheme> |
WorkflowSchemeService.getDraftWorkflowSchemeNotNull(ApplicationUser user,
AssignableWorkflowScheme parentScheme)
Return draft of the passed workflow scheme if it actually exists.
|
ServiceOutcome<AssignableWorkflowScheme> |
DefaultWorkflowSchemeService.getSchemeForProject(ApplicationUser user,
Project project) |
ServiceOutcome<AssignableWorkflowScheme> |
WorkflowSchemeService.getSchemeForProject(ApplicationUser user,
Project project)
Return the workflow scheme associated with passed project.
|
WorkflowService.WorkflowPermission |
DefaultWorkflowService.getWorkflowPermission(ApplicationUser user,
JiraWorkflow workflow)
* User has to satisfy any condition of the following:
- have ADMINISTER permission
- have
ProjectPermissions.ADMINISTER_PROJECTS in every project that uses passed workflow and workflow is not shared with other projects and workflow is used in at least 1 project. |
WorkflowService.WorkflowPermission |
WorkflowService.getWorkflowPermission(ApplicationUser applicationUser,
JiraWorkflow workflow)
Checks whether workflow is editable for given user.
|
ServiceOutcome<AssignableWorkflowScheme> |
DefaultWorkflowSchemeService.getWorkflowScheme(ApplicationUser user,
long id) |
ServiceOutcome<AssignableWorkflowScheme> |
WorkflowSchemeService.getWorkflowScheme(ApplicationUser user,
long id)
Return the workflow scheme for the passed id.
|
boolean |
DefaultWorkflowService.isWorkflowEditable(ApplicationUser applicationUser,
JiraWorkflow workflow) |
boolean |
WorkflowService.isWorkflowEditable(ApplicationUser applicationUser,
JiraWorkflow workflow)
Checks if user can edit workflow.
|
ServiceOutcome<AssignableWorkflowScheme> |
DefaultWorkflowSchemeService.updateWorkflowScheme(ApplicationUser user,
AssignableWorkflowScheme scheme) |
ServiceOutcome<AssignableWorkflowScheme> |
WorkflowSchemeService.updateWorkflowScheme(ApplicationUser user,
AssignableWorkflowScheme scheme)
Save changes to the passed workflow scheme.
|
ServiceOutcome<DraftWorkflowScheme> |
DefaultWorkflowSchemeService.updateWorkflowScheme(ApplicationUser user,
DraftWorkflowScheme scheme) |
ServiceOutcome<DraftWorkflowScheme> |
WorkflowSchemeService.updateWorkflowScheme(ApplicationUser user,
DraftWorkflowScheme scheme)
Save changes to the passed workflow scheme.
|
ServiceOutcome<Void> |
DefaultWorkflowSchemeService.validateUpdateWorkflowScheme(ApplicationUser user,
AssignableWorkflowScheme scheme) |
ServiceOutcome<Void> |
WorkflowSchemeService.validateUpdateWorkflowScheme(ApplicationUser user,
AssignableWorkflowScheme scheme)
Validate that the passed scheme can be saved.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Board> |
BoardServiceImpl.createBoard(ApplicationUser user,
BoardCreationData boardCreationData) |
ServiceOutcome<Board> |
BoardService.createBoard(ApplicationUser user,
BoardCreationData boardCreationData)
Create a board according to the data provided.
|
ServiceOutcome<Board> |
BoardServiceImpl.createDefaultBoardForProject(ApplicationUser user,
long projectId) |
ServiceOutcome<Board> |
BoardService.createDefaultBoardForProject(ApplicationUser user,
long projectId)
Create a default board for the specified project.
|
ServiceOutcome<Boolean> |
BoardServiceImpl.deleteBoard(ApplicationUser user,
BoardId boardId) |
ServiceOutcome<Boolean> |
BoardService.deleteBoard(ApplicationUser user,
BoardId boardId)
Delete the board.
|
Set<Status> |
DefaultBoardWorkflowService.getAccessibleStatuses(ApplicationUser user,
Query query) |
Set<Status> |
BoardWorkflowService.getAccessibleStatuses(ApplicationUser user,
Query query)
Get the set of accessible statuses for issues potentially returned by the current query.
|
ServiceOutcome<Query> |
BoardQueryService.getBaseQueryForBoard(ApplicationUser user,
Board board)
Returns the query originally associated with the JQL of a board, with the
additional constraint of including only standard issue types.
|
ServiceOutcome<Query> |
BoardQueryServiceImpl.getBaseQueryForBoard(ApplicationUser user,
Board board) |
ServiceOutcome<Board> |
BoardServiceImpl.getBoard(ApplicationUser user,
BoardId boardId) |
ServiceOutcome<Board> |
BoardService.getBoard(ApplicationUser user,
BoardId boardId)
get the board for board id
Get the board for specified board id.
|
ServiceOutcome<List<Board>> |
BoardServiceImpl.getBoardsForProject(ApplicationUser user,
long projectId) |
ServiceOutcome<List<Board>> |
BoardService.getBoardsForProject(ApplicationUser user,
long projectId)
Get a list of boards related to the project.
|
ServiceOutcome<BoardData> |
DefaultBoardDataService.getDataForBoard(ApplicationUser user,
Board board) |
ServiceOutcome<BoardData> |
BoardDataService.getDataForBoard(ApplicationUser user,
Board board)
As the given user, get the data for a board.
|
Set<Status> |
DefaultBoardWorkflowService.getInitialStatusesForQuery(ApplicationUser user,
Query query) |
Set<Status> |
BoardWorkflowService.getInitialStatusesForQuery(ApplicationUser user,
Query query)
Given a user and query, return the set of initial statuses of all workflows of issues in that query.
|
@NotNull Collection<JiraWorkflow> |
DefaultBoardWorkflowService.getWorkflowsForQuery(@NotNull ApplicationUser user,
@NotNull Query query) |
@NotNull Collection<JiraWorkflow> |
BoardWorkflowService.getWorkflowsForQuery(@NotNull ApplicationUser user,
@NotNull Query query)
Given a user and query, return all JIRA workflows of issues in that query.
|
ServiceOutcome<Boolean> |
BoardServiceImpl.hasBoardInProject(ApplicationUser user,
long projectId) |
ServiceOutcome<Boolean> |
BoardService.hasBoardInProject(ApplicationUser user,
long projectId)
Returns whether there is at least one visible board for the user in the project.
|
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
BoardData.getPeople() |
Modifier and Type | Method and Description |
---|---|
BoardData.Builder |
BoardData.Builder.people(List<ApplicationUser> people) |
Modifier and Type | Method and Description |
---|---|
boolean |
BulkWatchOperation.canPerform(BulkEditBean bulkEditBean,
ApplicationUser applicationUser) |
boolean |
BulkDeleteOperation.canPerform(BulkEditBean bulkEditBean,
ApplicationUser remoteUser) |
boolean |
BulkEditOperation.canPerform(BulkEditBean bulkEditBean,
ApplicationUser remoteUser) |
boolean |
BulkArchiveOperation.canPerform(BulkEditBean bulkEditBean,
ApplicationUser remoteUser) |
boolean |
BulkMigrateOperation.canPerform(BulkEditBean bulkEditBean,
ApplicationUser remoteUser) |
boolean |
BulkUnwatchOperation.canPerform(BulkEditBean bulkEditBean,
ApplicationUser applicationUser) |
boolean |
BulkWorkflowTransitionOperation.canPerform(BulkEditBean bulkEditBean,
ApplicationUser remoteUser) |
boolean |
BulkMoveOperationImpl.canPerform(BulkEditBean bulkEditBean,
ApplicationUser applicationUser)
Determines whether the operation can be performed with the given set of issues
|
boolean |
BulkOperation.canPerform(BulkEditBean bulkEditBean,
ApplicationUser remoteUser)
Deprecated.
Determines whether the operation can be performed with the given set of issues
|
boolean |
ProgressAwareBulkOperation.canPerform(BulkEditBean bulkEditBean,
ApplicationUser remoteUser)
Determines whether the operation can be performed with the given set of issues
|
boolean |
BulkWorkflowTransitionOperation.canPerformOnAnyIssue(BulkEditBean bulkEditBean,
ApplicationUser remoteUser) |
void |
BulkMigrateOperation.chooseContext(BulkEditBean rootBulkEditBean,
ApplicationUser applicationUser,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
BulkMoveOperationImpl.chooseContext(BulkEditBean bulkEditBean,
ApplicationUser applicationUser,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
BulkMoveOperation.chooseContext(BulkEditBean bulkEditBean,
ApplicationUser applicationUser,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
BulkMigrateOperation.chooseContextNoValidate(BulkEditBean rootBulkEditBean,
ApplicationUser applicationUser) |
void |
BulkMoveOperationImpl.chooseContextNoValidate(BulkEditBean bulkEditBean,
ApplicationUser applicationUser) |
void |
BulkMoveOperation.chooseContextNoValidate(BulkEditBean bulkEditBean,
ApplicationUser applicationUser) |
void |
BulkMoveOperationImpl.finishChooseContext(BulkEditBean bulkEditBean,
ApplicationUser applicationUser) |
void |
BulkMoveOperation.finishChooseContext(BulkEditBean bulkEditBean,
ApplicationUser applicationUser)
Does operations on the given BulkEditBean to finalise the "Choose Project and Issue Type" step of the Bulk Move.
|
void |
BulkMoveOperationImpl.finishChooseContext(MultiBulkMoveBean multiBulkMoveBean,
ApplicationUser applicationUser)
Deprecated.
|
void |
BulkMoveOperation.finishChooseContext(MultiBulkMoveBean multiBulkMoveBean,
ApplicationUser applicationUser)
Does the finishChooseContext() operation for all the BulkEditBeans in the given MultiBulkMoveBean.
|
Map |
BulkEditOperation.getActions(BulkEditBean bulkEditBean,
ApplicationUser applicationUser)
Initialises all the bulk edit actions and returns them.
|
Map |
BulkEditOperation.getCustomFieldActions(BulkEditBean bulkEditBean,
ApplicationUser applicationUser) |
void |
BulkMoveOperationImpl.moveIssuesAndIndex(BulkEditBean bulkEditBean,
ApplicationUser remoteUser) |
void |
BulkMoveOperation.moveIssuesAndIndex(BulkEditBean bulkEditBean,
ApplicationUser remoteUser)
|
void |
BulkMoveOperationImpl.moveIssuesAndIndex(BulkEditBean bulkEditBean,
ApplicationUser applicationUser,
Context taskContext) |
void |
BulkMoveOperation.moveIssuesAndIndex(BulkEditBean bulkEditBean,
ApplicationUser applicationUser,
Context taskContext) |
void |
BulkOperation.perform(BulkEditBean bulkEditBean,
ApplicationUser remoteUser)
Deprecated.
Performs the operation on the given set of issues
|
void |
BulkWatchOperation.perform(BulkEditBean bulkEditBean,
ApplicationUser remoteUser,
Context taskContext) |
void |
BulkDeleteOperation.perform(BulkEditBean bulkEditBean,
ApplicationUser applicationUser,
Context taskContext) |
void |
BulkEditOperation.perform(BulkEditBean bulkEditBean,
ApplicationUser applicationUser,
Context taskContext) |
void |
BulkArchiveOperation.perform(BulkEditBean bulkEditBean,
ApplicationUser applicationUser,
Context taskContext) |
void |
BulkMigrateOperation.perform(BulkEditBean rootBulkEditBean,
ApplicationUser applicationUser,
Context taskContext) |
void |
BulkUnwatchOperation.perform(BulkEditBean bulkEditBean,
ApplicationUser remoteUser,
Context taskContext) |
void |
BulkWorkflowTransitionOperation.perform(BulkEditBean bulkEditBean,
ApplicationUser applicationUser,
Context taskContext) |
void |
BulkMoveOperationImpl.perform(BulkEditBean bulkEditBean,
ApplicationUser applicationUser,
Context taskContext)
Performs the operation on the given set of issues
|
void |
ProgressAwareBulkOperation.perform(BulkEditBean bulkEditBean,
ApplicationUser remoteUser,
Context taskContext)
Performs the operation on the given set of issues and updates the progress.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ChartFactory.ChartContext.getRemoteUser() |
Modifier and Type | Method and Description |
---|---|
Chart |
PieChart.generateChart(ApplicationUser remoteUser,
SearchRequest searchRequest,
String statisticType,
int width,
int height) |
Chart |
PieChart.generateInlineChart(ApplicationUser remoteUser,
SearchRequest searchRequest,
String statisticType,
int width,
int height) |
Constructor and Description |
---|
ChartContext(ApplicationUser remoteUser,
SearchRequest searchRequest,
int width,
int height)
Deprecated.
use
ChartContext#ChartContext(ApplicationUser, SearchRequest, int, int, boolean) |
ChartContext(ApplicationUser remoteUser,
SearchRequest searchRequest,
int width,
int height,
boolean inline) |
Constructor and Description |
---|
PieChartUrlGeneratorFactory(SearchService searchService,
ApplicationProperties applicationProperties,
SearchRequestAppender searchRequestAppender,
ApplicationUser remoteUser,
SearchRequest baseSearchRequest) |
Modifier and Type | Method and Description |
---|---|
ServiceResult |
DefaultNodeStateService.activate(ApplicationUser user) |
ServiceResult |
NodeStateService.activate(ApplicationUser user)
Activate the current node, provided the user has the necessary permissions.
|
ServiceResult |
DefaultNodeStateService.deactivate(ApplicationUser user) |
ServiceResult |
NodeStateService.deactivate(ApplicationUser user)
Deactivate the node.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Void> |
DefaultIssueTypeSchemeService.addProjectAssociations(ApplicationUser user,
long schemeId,
List<String> projectIdsOrKeys) |
ServiceOutcome<Void> |
IssueTypeSchemeService.addProjectAssociations(ApplicationUser user,
long schemeId,
List<String> projectIdsOrKeys)
Adds additional project-scheme associations between the issue type scheme specified by the
schemeId
and the projects given by the projectIdsOrKeys collection. |
default ServiceOutcome<Void> |
IssueTypeSchemeService.addProjectAssociations(ApplicationUser user,
String schemeId,
List<String> projectIdsOrKeys)
Adds additional project-scheme associations between the issue type scheme specified by the
schemeId
and the projects given by the projectIdsOrKeys collection. |
boolean |
SubTaskService.canMoveSubtask(ApplicationUser user,
Issue parentIssue) |
boolean |
SubTaskServiceImpl.canMoveSubtask(ApplicationUser user,
Issue parentIssue) |
IssueUpdateBean |
MockSubTaskManager.changeParent(Issue subTask,
Issue parentIssue,
ApplicationUser currentUser) |
IssueUpdateBean |
DefaultSubTaskManager.changeParent(Issue subTask,
Issue newParentIssue,
ApplicationUser currentUser) |
IssueUpdateBean |
SubTaskManager.changeParent(Issue subTask,
Issue parentIssue,
ApplicationUser currentUser)
Change the parent of the given subtask to the given new parent on behalf
of the given user.
|
IssueTypeService.IssueTypeResult |
DefaultIssueTypeService.createIssueType(ApplicationUser user,
IssueTypeService.CreateValidationResult validationResult) |
IssueTypeService.IssueTypeResult |
IssueTypeService.createIssueType(ApplicationUser user,
IssueTypeService.CreateValidationResult validationResult)
This method will store a new issue type in JIRA DB.
|
default ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.createIssueTypeScheme(ApplicationUser user,
String name,
String description,
List<String> issueTypeIds)
Creates a new issue type scheme with the specified name, description, issue types, and an unspecified default issue
type.
|
ServiceOutcome<FieldConfigScheme> |
DefaultIssueTypeSchemeService.createIssueTypeScheme(ApplicationUser user,
String name,
String description,
List<String> issueTypeIds,
String defaultIssueTypeId) |
ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.createIssueTypeScheme(ApplicationUser user,
String name,
String description,
List<String> issueTypeIds,
String defaultIssueTypeId)
Creates a new issue type scheme with the specified name, description, issue types, and default issue type.
|
void |
MockSubTaskManager.createSubTaskIssueLink(Issue parentIssue,
Issue subTaskIssue,
ApplicationUser remoteUser) |
void |
DefaultSubTaskManager.createSubTaskIssueLink(Issue parentIssue,
Issue subTaskIssue,
ApplicationUser remoteUser) |
void |
SubTaskManager.createSubTaskIssueLink(Issue parentIssue,
Issue subTaskIssue,
ApplicationUser remoteUser) |
void |
DefaultIssueTypeService.deleteIssueType(ApplicationUser user,
IssueTypeService.DeleteValidationResult validationResult) |
void |
IssueTypeService.deleteIssueType(ApplicationUser user,
IssueTypeService.DeleteValidationResult validationResult)
Removes the issue from JIRA database and triggers
IssueTypeDeletedEvent . |
ServiceOutcome<Void> |
DefaultIssueTypeSchemeService.deleteIssueTypeScheme(ApplicationUser user,
long schemeId) |
ServiceOutcome<Void> |
IssueTypeSchemeService.deleteIssueTypeScheme(ApplicationUser user,
long schemeId)
Deletes the issue type scheme specified by the
schemeId . |
default ServiceOutcome<Void> |
IssueTypeSchemeService.deleteIssueTypeScheme(ApplicationUser user,
String schemeId)
Deletes the issue type scheme specified by the
schemeId . |
void |
FeatureManager.disableUserDarkFeature(ApplicationUser user,
String feature)
Disables a feature for a particular user.
|
void |
FeatureManager.enableUserDarkFeature(ApplicationUser user,
String feature)
Enables a feature for a particular User.
|
ServiceOutcome<List<FieldConfigScheme>> |
DefaultIssueTypeSchemeService.getAllIssueTypeSchemes(ApplicationUser user) |
ServiceOutcome<List<FieldConfigScheme>> |
IssueTypeSchemeService.getAllIssueTypeSchemes(ApplicationUser user)
Retrieves and returns all issue type schemes in the Jira.
|
ServiceOutcome<List<Project>> |
DefaultIssueTypeSchemeService.getAssociatedProjects(ApplicationUser user,
long schemeId) |
ServiceOutcome<List<Project>> |
IssueTypeSchemeService.getAssociatedProjects(ApplicationUser user,
long schemeId)
Retrieves the project-scheme associations for the issue type scheme specified by the
schemeId . |
default ServiceOutcome<List<Project>> |
IssueTypeSchemeService.getAssociatedProjects(ApplicationUser user,
String schemeId)
Retrieves the project-scheme associations for the issue type scheme specified by the
schemeId . |
Iterable<IssueType> |
DefaultIssueTypeService.getAvailableAlternativesForIssueType(ApplicationUser applicationUser,
String id) |
Iterable<IssueType> |
IssueTypeService.getAvailableAlternativesForIssueType(ApplicationUser applicationUser,
String id)
Returns a collection of suitable alternative
IssueType s to which issues with the supplied issue type can be moved to. |
DarkFeatures |
FeatureManager.getDarkFeaturesForUser(ApplicationUser user) |
List<Issue> |
DefaultIssueTypeSchemeService.getIssuesMatchingTypesInProjects(ApplicationUser user,
Collection<Long> projectIds,
Collection<String> issueTypeIds) |
List<Issue> |
IssueTypeSchemeService.getIssuesMatchingTypesInProjects(ApplicationUser user,
Collection<Long> projectIds,
Collection<String> issueTypeIds)
For the projects specified by
projectIds , finds the issues that are of the types given by
issueTypIds . |
ServiceOutcome<List<Issue>> |
DefaultIssueTypeSchemeService.getIssuesRequiringMigration(ApplicationUser user,
Collection<String> chosenIssueTypeIds,
List<Long> projectIds) |
ServiceOutcome<List<Issue>> |
IssueTypeSchemeService.getIssuesRequiringMigration(ApplicationUser user,
Collection<String> chosenIssueTypeIds,
List<Long> projectIds)
Figures out which issues in the specified projects would require migration if only the
chosenIssueTypeIds
were made available to the projects. |
ServiceOutcome<List<Issue>> |
DefaultIssueTypeSchemeService.getIssuesRequiringMigrationDueToSchemeAssociation(ApplicationUser user,
FieldConfigScheme issueTypeScheme,
List<Long> projectIds) |
ServiceOutcome<List<Issue>> |
IssueTypeSchemeService.getIssuesRequiringMigrationDueToSchemeAssociation(ApplicationUser user,
FieldConfigScheme issueTypeScheme,
List<Long> projectIds)
Figures out which issues in the specified projects would require migration if the given
issueTypeScheme
were to be associated with them. |
io.atlassian.fugue.Option<IssueType> |
DefaultIssueTypeService.getIssueType(ApplicationUser applicationUser,
String id) |
io.atlassian.fugue.Option<IssueType> |
IssueTypeService.getIssueType(ApplicationUser applicationUser,
String id)
Returns an issue type for the given issue type id, if it is visible for the user.
|
Iterable<IssueType> |
DefaultIssueTypeService.getIssueTypes(ApplicationUser applicationUser) |
Iterable<IssueType> |
IssueTypeService.getIssueTypes(ApplicationUser applicationUser) |
ServiceOutcome<FieldConfigScheme> |
DefaultIssueTypeSchemeService.getIssueTypeScheme(ApplicationUser user,
long schemeId) |
ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.getIssueTypeScheme(ApplicationUser user,
long schemeId)
Retrieves the issue type scheme specified by the
schemeId . |
default ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.getIssueTypeScheme(ApplicationUser user,
String schemeId)
Retrieves the issue type scheme specified by the
schemeId . |
Locale |
DefaultLocaleManager.getLocaleFor(ApplicationUser user) |
Locale |
LocaleManager.getLocaleFor(ApplicationUser user)
Returns the locale for the given user.
|
String |
DefaultReindexMessageManager.getMessage(ApplicationUser user) |
String |
ReindexMessageManager.getMessage(ApplicationUser user)
Get current message localised for given user.
|
long |
DefaultIssueTypeSchemeService.getNumIssuesMatchingTypesInProjects(ApplicationUser user,
Collection<Long> projectIds,
Collection<String> issueTypeIds) |
long |
IssueTypeSchemeService.getNumIssuesMatchingTypesInProjects(ApplicationUser user,
Collection<Long> projectIds,
Collection<String> issueTypeIds)
For the projects specified by
projectIds , determines how many issues are of the types given by
issueTypIds . |
SubTaskBean |
MockSubTaskManager.getSubTaskBean(Issue issue,
ApplicationUser remoteUser) |
SubTaskBean |
DefaultSubTaskManager.getSubTaskBean(Issue issue,
ApplicationUser remoteUser) |
SubTaskBean |
SubTaskManager.getSubTaskBean(Issue issue,
ApplicationUser remoteUser)
Returns the SubTaskBean for the given parent issue in the context of the given user.
|
boolean |
DefaultIssueTypePermissionService.hasPermissionToEditIssueType(ApplicationUser user) |
boolean |
IssueTypePermissionService.hasPermissionToEditIssueType(ApplicationUser applicationUser)
Checks if the user has permissions to edit the given issue type.
|
boolean |
DefaultIssueTypePermissionService.hasPermissionToViewIssueType(ApplicationUser user,
String id) |
boolean |
IssueTypePermissionService.hasPermissionToViewIssueType(ApplicationUser applicationUser,
String id)
Checks if the user has permissions to view the given issue type.
|
boolean |
FeatureManager.isEnabledForUser(ApplicationUser user,
String featureKey)
Checks whether a feature with given featureKey is enabled in the running JIRA instance for the given user.
|
ServiceResult |
SubTaskService.moveSubTask(ApplicationUser user,
Issue parentIssue,
Long currentSequence,
Long sequence) |
ServiceResult |
SubTaskServiceImpl.moveSubTask(ApplicationUser user,
Issue parentIssue,
Long currentSequence,
Long sequence) |
void |
DefaultReindexMessageManager.pushMessage(ApplicationUser user,
String i18nTask) |
void |
ReindexMessageManager.pushMessage(ApplicationUser user,
String i18nTask)
Pushes a new message.
|
void |
DefaultReindexMessageManager.pushRawMessage(ApplicationUser user,
String i18nMessage) |
void |
ReindexMessageManager.pushRawMessage(ApplicationUser user,
String i18nTask)
Pushes a new raw message.
|
ServiceOutcome<Void> |
DefaultIssueTypeSchemeService.removeAllProjectAssociations(ApplicationUser user,
long schemeId) |
ServiceOutcome<Void> |
IssueTypeSchemeService.removeAllProjectAssociations(ApplicationUser user,
long schemeId)
Removes all project associations for the issue type scheme specified by the
schemeId . |
default ServiceOutcome<Void> |
IssueTypeSchemeService.removeAllProjectAssociations(ApplicationUser user,
String schemeId)
Removes all project associations for the issue type scheme specified by the
schemeId . |
ServiceOutcome<Void> |
DefaultIssueTypeSchemeService.removeProjectAssociation(ApplicationUser user,
long schemeId,
String projKeyOrId) |
ServiceOutcome<Void> |
IssueTypeSchemeService.removeProjectAssociation(ApplicationUser user,
long schemeId,
String projKeyOrId)
For the issue type scheme specified by the
schemeId , removes the project association given by
projKeyOrId . |
default ServiceOutcome<Void> |
IssueTypeSchemeService.removeProjectAssociation(ApplicationUser user,
String schemeId,
String projKeyOrId)
For the issue type scheme specified by the
schemeId , removes the project association given by
projKeyOrId . |
ServiceOutcome<Void> |
DefaultIssueTypeSchemeService.setProjectAssociations(ApplicationUser user,
long schemeId,
List<String> projectIdsOrKeys) |
ServiceOutcome<Void> |
IssueTypeSchemeService.setProjectAssociations(ApplicationUser user,
long schemeId,
List<String> projectIdsOrKeys)
Replaces the project-scheme associations for the issue type scheme specified by the
schemeId
with the projects given by the projectIdsOrKeys collection. |
default ServiceOutcome<Void> |
IssueTypeSchemeService.setProjectAssociations(ApplicationUser user,
String schemeId,
List<String> projectIdsOrKeys)
Replaces the project-scheme associations for the issue type scheme specified by the
schemeId
with the projects given by the projectIdsOrKeys collection. |
IssueTypeService.IssueTypeResult |
DefaultIssueTypeService.updateIssueType(ApplicationUser user,
IssueTypeService.UpdateValidationResult validationResult) |
IssueTypeService.IssueTypeResult |
IssueTypeService.updateIssueType(ApplicationUser user,
IssueTypeService.UpdateValidationResult validationResult)
This method will store the update issue type value in JIRA database and trigger a new
IssueTypeUpdatedEvent . |
default ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.updateIssueTypeScheme(ApplicationUser user,
long schemeId,
String name,
String description,
List<String> issueTypeIds)
Updates the issue type scheme specified by
schemeId to have the given name, description, issue types,
and an unspecified default issue type. |
ServiceOutcome<FieldConfigScheme> |
DefaultIssueTypeSchemeService.updateIssueTypeScheme(ApplicationUser user,
long schemeId,
String name,
String description,
List<String> issueTypeIds,
String defaultIssueTypeId) |
ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.updateIssueTypeScheme(ApplicationUser user,
long schemeId,
String name,
String description,
List<String> issueTypeIds,
String defaultIssueTypeId)
Updates the issue type scheme specified by
schemeId to have the given name, description, issue types,
and default issue type. |
default ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.updateIssueTypeScheme(ApplicationUser user,
String schemeId,
String name,
String description,
List<String> issueTypeIds)
Updates the issue type scheme specified by
schemeId to have the given name, description, issue types,
and an unspecified default issue type. |
default ServiceOutcome<FieldConfigScheme> |
IssueTypeSchemeService.updateIssueTypeScheme(ApplicationUser user,
String schemeId,
String name,
String description,
List<String> issueTypeIds,
String defaultIssueTypeId)
Updates the issue type scheme specified by
schemeId to have the given name, description, issue types,
and default issue type. |
IssueTypeService.CreateValidationResult |
DefaultIssueTypeService.validateCreateIssueType(ApplicationUser user,
IssueTypeService.IssueTypeCreateInput issueTypeCreateInput) |
IssueTypeService.CreateValidationResult |
IssueTypeService.validateCreateIssueType(ApplicationUser user,
IssueTypeService.IssueTypeCreateInput issueTypeCreateInput)
This method validates the parameters for creation of an issue type and execute permission checks.
|
IssueTypeService.DeleteValidationResult |
DefaultIssueTypeService.validateDeleteIssueType(ApplicationUser user,
IssueTypeService.IssueTypeDeleteInput issueTypeDeleteInput) |
IssueTypeService.DeleteValidationResult |
IssueTypeService.validateDeleteIssueType(ApplicationUser user,
IssueTypeService.IssueTypeDeleteInput issueTypeDeleteInput)
This method validates if it is possible to remove issue type with given id and executes permission checks.
|
IssueTypeService.UpdateValidationResult |
DefaultIssueTypeService.validateUpdateIssueType(ApplicationUser user,
String issueTypeId,
IssueTypeService.IssueTypeUpdateInput issueTypeUpdateInput) |
IssueTypeService.UpdateValidationResult |
IssueTypeService.validateUpdateIssueType(ApplicationUser user,
String issueTypeId,
IssueTypeService.IssueTypeUpdateInput issueTypeUpdateInput)
This method validates the parameters for update of an issue type and execute permission checks.
|
void |
DefaultLocaleManager.validateUserLocale(ApplicationUser loggedInUser,
String locale,
ErrorCollection errorCollection) |
void |
LocaleManager.validateUserLocale(ApplicationUser loggedInUser,
String locale,
ErrorCollection errorCollection)
Given a user entered locale string this method ensures that it is in fact a locale that
exists in this instance
|
Constructor and Description |
---|
FeatureDisabledEvent(String feature,
ApplicationUser user)
Creates a new "feature enabled" event for a per-user feature.
|
FeatureEnabledEvent(String feature,
ApplicationUser user)
Creates a new "feature enabled" event for a per-user feature.
|
FeatureEvent(String feature,
ApplicationUser user)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
BootstrapFeatureManager.disableUserDarkFeature(ApplicationUser user,
String feature) |
void |
DefaultFeatureManager.disableUserDarkFeature(ApplicationUser user,
String feature) |
void |
BootstrapFeatureManager.enableUserDarkFeature(ApplicationUser user,
String feature) |
void |
DefaultFeatureManager.enableUserDarkFeature(ApplicationUser user,
String feature) |
DarkFeatures |
BootstrapFeatureManager.getDarkFeaturesForUser(ApplicationUser user) |
DarkFeatures |
DefaultFeatureManager.getDarkFeaturesForUser(ApplicationUser user) |
boolean |
BootstrapFeatureManager.isEnabledForUser(ApplicationUser user,
String featureKey) |
boolean |
DefaultFeatureManager.isEnabledForUser(ApplicationUser user,
String featureKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultManagedConfigurationItemService.doesUserHavePermission(ApplicationUser user,
ConfigurationItemAccessLevel configurationItemAccessLevel) |
boolean |
ManagedConfigurationItemService.doesUserHavePermission(ApplicationUser user,
ConfigurationItemAccessLevel configurationItemAccessLevel)
Determine if the specified
ApplicationUser would have permission to edit an ManagedConfigurationItem with the
specified level. |
boolean |
DefaultManagedConfigurationItemService.doesUserHavePermission(ApplicationUser user,
ManagedConfigurationItem item) |
boolean |
ManagedConfigurationItemService.doesUserHavePermission(ApplicationUser user,
ManagedConfigurationItem item)
Determine if the specified
ApplicationUser would have permission to edit the ManagedConfigurationItem . |
Modifier and Type | Method and Description |
---|---|
static ApplicationUser |
TestData.User.getApplicationUser(String userName,
Long directoryId,
boolean active,
String firstName,
String lastName,
String displayName,
String email) |
static ApplicationUser |
TestData.User.getApplicationUser(String userName,
Long directoryId,
boolean active,
String firstName,
String lastName,
String displayName,
String email,
String externalId) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultJaacsService.create(ApplicationUser remoteUser,
com.atlassian.crowd.model.application.Application application) |
void |
JaacsService.create(ApplicationUser remoteUser,
com.atlassian.crowd.model.application.Application application)
Creates a new Application
|
protected String |
DefaultJaacsService.displayName(ApplicationUser remoteUser,
Long applicationId)
Attempts to read the the Application with the given id from the database, and returns its display name.
|
protected void |
DefaultJaacsService.ensureIsAdmin(ApplicationUser remoteUser)
If the remote user is not an administrator, throws a ValidationFailureException with the appropriate error.
|
List<com.atlassian.crowd.model.application.Application> |
DefaultJaacsService.findAll(ApplicationUser remoteUser) |
List<com.atlassian.crowd.model.application.Application> |
JaacsService.findAll(ApplicationUser remoteUser)
Returns a list containing all non-permanent Crowd applications.
|
com.atlassian.crowd.model.application.ApplicationImpl |
DefaultJaacsService.findById(ApplicationUser remoteUser,
Long applicationId) |
com.atlassian.crowd.model.application.ApplicationImpl |
JaacsService.findById(ApplicationUser remoteUser,
Long applicationId)
Returns the Application having the given id.
|
protected I18nHelper |
DefaultJaacsService.i18n(ApplicationUser user)
Returns an I18nHelper for the given user.
|
void |
DefaultJaacsService.update(ApplicationUser remoteUser,
com.atlassian.crowd.model.application.Application updatedApplication) |
void |
JaacsService.update(ApplicationUser remoteUser,
com.atlassian.crowd.model.application.Application updatedApplication)
Updates an Application.
|
protected void |
DefaultJaacsService.validateApplication(ApplicationUser user,
com.atlassian.crowd.model.application.Application application)
Validates the application's name, password, and remote addresses fields.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.gadgets.dashboard.DashboardState |
JiraGadgetPermissionManager.filterGadgets(com.atlassian.gadgets.dashboard.DashboardState dashboardState,
ApplicationUser remoteUser) |
com.atlassian.gadgets.dashboard.DashboardState |
GadgetPermissionManager.filterGadgets(com.atlassian.gadgets.dashboard.DashboardState dashboardState,
ApplicationUser remoteUser)
Removes any gadgets a user doesn't have permission to see in the passed in dashboard state.
|
boolean |
JiraPermissionService.isReadableBy(com.atlassian.gadgets.dashboard.DashboardId dashboardId,
ApplicationUser user) |
boolean |
JiraPermissionService.isWritableBy(com.atlassian.gadgets.dashboard.DashboardId dashboardId,
ApplicationUser user) |
com.atlassian.gadgets.Vote |
JiraGadgetPermissionManager.voteOn(com.atlassian.gadgets.plugins.PluginGadgetSpec pluginGadgetSpec,
ApplicationUser remoteUser) |
com.atlassian.gadgets.Vote |
GadgetPermissionManager.voteOn(com.atlassian.gadgets.plugins.PluginGadgetSpec pluginGadgetSpec,
ApplicationUser remoteUser)
Decides if a user has permission to view a particular gadget.
|
Modifier and Type | Method and Description |
---|---|
StatisticsSearchResultBean |
StatisticsSearcher.completeOneDimensionalSearch(ApplicationUser user,
Query query,
String statType) |
StatisticsSearchResultBean |
StatisticsSearcher.completeOneDimensionalSearch(ApplicationUser user,
Query query,
String statType,
StatisticsSearcher.OrderBy orderBy,
StatisticsSearcher.Direction direction) |
Modifier and Type | Method and Description |
---|---|
io.atlassian.fugue.Option<Query> |
ProjectOrFilterQueryParser.getFilterQuery(ApplicationUser user,
Query query) |
io.atlassian.fugue.Option<Query> |
ProjectOrFilterQueryParserImpl.getFilterQuery(ApplicationUser user,
Query query) |
io.atlassian.fugue.Either<Query,ErrorCollection> |
QueryParserImpl.getQuery(ApplicationUser user,
String jql) |
io.atlassian.fugue.Either<Query,ErrorCollection> |
QueryParser.getQuery(ApplicationUser user,
String jql)
Get the query for a given jql, otherwise an error collection if error.
|
ProjectOrFilterQueryParser.QueryInformation |
ProjectOrFilterQueryParser.getQueryInformation(ApplicationUser user,
Query query) |
ProjectOrFilterQueryParser.QueryInformation |
ProjectOrFilterQueryParserImpl.getQueryInformation(ApplicationUser user,
Query query) |
Modifier and Type | Method and Description |
---|---|
DateTimeFormatter |
DateTimeFormatter.forUser(ApplicationUser user)
Returns a new formatter that will use the given user's time zone and locale.
|
Modifier and Type | Method and Description |
---|---|
MessageSet |
EchoFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
Modifier and Type | Method and Description |
---|---|
Map |
EntityPropertyTypeConditionProvider.getContextMap(ApplicationUser user,
JiraHelper jiraHelper) |
Map |
StaticContextProvider.getContextMap(ApplicationUser user,
JiraHelper jiraHelper) |
Map |
ReferenceContextProvider.getContextMap(ApplicationUser user,
JiraHelper jiraHelper) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
EchoJqlFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
Modifier and Type | Method and Description |
---|---|
String |
ProjectOperation.getHtml(Project project,
ApplicationUser user) |
boolean |
ProjectOperation.showOperation(Project project,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
ProjectPermissionOverride.Reason |
CantEditIssueProjectPermissionOverride.getReason(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser) |
ProjectPermissionOverride.Reason |
CantCommentProjectPermissionOverride.getReason(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser) |
ProjectPermissionOverride.Reason |
CantTransitionIssueProjectPermissionOverride.getReason(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser) |
ProjectPermissionOverride.Decision |
CantEditIssueProjectPermissionOverride.hasPermission(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser) |
ProjectPermissionOverride.Decision |
CantCommentProjectPermissionOverride.hasPermission(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser) |
ProjectPermissionOverride.Decision |
CantTransitionIssueProjectPermissionOverride.hasPermission(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser) |
Modifier and Type | Method and Description |
---|---|
Authorisation.Decision |
ReferenceAuthorisation.authoriseForLogin(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest) |
Authorisation.Decision |
ReferenceAuthorisation.authoriseForRole(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest,
String role) |
Modifier and Type | Method and Description |
---|---|
List<IssueAction> |
ReferenceIssueTabPanel.getActions(Issue issue,
ApplicationUser remoteUser) |
boolean |
ReferenceIssueTabPanel.showPanel(Issue issue,
ApplicationUser remoteUser)
This panel will be shown to all users for all issues.
|
Modifier and Type | Method and Description |
---|---|
List<WebErrorMessage> |
ReferencePreDeleteUserErrors.getPreDeleteUserErrors(ApplicationUser user) |
Collection<WebErrorMessage> |
ReferencePasswordPolicy.validatePolicy(ApplicationUser user,
String oldPassword,
String newPassword) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
PageRedirect.url(ApplicationUser user)
Returns an optional URL to which to redirect the user.
|
Modifier and Type | Method and Description |
---|---|
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertyDeletedEvent> |
EntityPropertyHelper.createDeletePropertyEventBiFunction() |
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertySetEvent> |
EntityPropertyHelper.createSetPropertyEventBiFunction() |
Modifier and Type | Method and Description |
---|---|
void |
JsonEntityPropertyManagerImpl.put(ApplicationUser user,
String entityName,
Long entityId,
String key,
String json,
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertySetEvent> eventFunction,
boolean dispatchEvent) |
void |
JsonEntityPropertyManager.put(ApplicationUser user,
String entityName,
Long entityId,
String key,
String json,
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertySetEvent> eventFunction,
boolean dispatchEvent)
Set the value for an entity property, creating, updating, or deleting it as necessary.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
AbstractProjectEvent.getUser()
Returns the user who initiated this event.
|
Constructor and Description |
---|
AbstractProjectEvent(ApplicationUser user,
Project project) |
ProjectCreatedEvent(ApplicationUser user,
Project newProject) |
ProjectDeletedEvent(ApplicationUser user,
Project oldProject) |
ProjectUpdatedEvent(ApplicationUser user,
Project project,
Project oldProject) |
SharedEntityUpdatedMetricsEvent(SharedEntityUpdatedMetricsEvent.SharedEntityEventType type,
SharedEntity oldEntity,
SharedEntity newEntity,
ApplicationUser userWhichUpdates) |
Constructor and Description |
---|
DashboardItemPropertyDeletedEvent(EntityProperty entityProperty,
ApplicationUser user) |
DashboardItemPropertySetEvent(EntityProperty entityProperty,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
AbstractPropertyEvent.getUser() |
Constructor and Description |
---|
AbstractPropertyEvent(EntityProperty entityProperty,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
IssueWatcherAddedEvent.getApplicationUser() |
ApplicationUser |
IssueWatcherDeletedEvent.getApplicationUser() |
ApplicationUser |
MentionIssueEvent.getFromUser() |
static ApplicationUser |
EventUtils.getPreviousAssignee(IssueEvent event) |
ApplicationUser |
IssueWatcherAddedEvent.getUser()
Deprecated.
Use
IssueWatcherAddedEvent.getApplicationUser() instead. Since v6.0. |
ApplicationUser |
IssuePreDeleteEvent.getUser() |
ApplicationUser |
IssueWatcherDeletedEvent.getUser()
Deprecated.
Use
IssueWatcherDeletedEvent.getApplicationUser() instead. Since v6.0. |
ApplicationUser |
IssueEvent.getUser()
Returns the user who initiated this event.
|
Modifier and Type | Method and Description |
---|---|
Optional<ApplicationUser> |
IssueChangedEventImpl.getAuthor() |
Optional<ApplicationUser> |
IssueChangedEvent.getAuthor()
The user who caused the event, or
empty
representing an anonymous action. |
Set<ApplicationUser> |
MentionIssueEvent.getToUsers()
Returns the set of mentioned users, after permission checks.
|
Modifier and Type | Method and Description |
---|---|
IssueEventBundle |
IssueEventBundleFactory.createCommentAddedBundle(Issue issue,
ApplicationUser user,
Comment comment,
Map<String,Object> params)
Creates an IssueEventBundle for scenarios where a comment is added to an issue.
|
IssueEventBundle |
IssueEventBundleFactoryImpl.createCommentAddedBundle(Issue issue,
ApplicationUser user,
Comment comment,
Map<String,Object> params) |
IssueEventBundle |
IssueEventBundleFactory.createCommentEditedBundle(Issue issue,
ApplicationUser user,
Comment comment,
Map<String,Object> params)
Creates an IssueEventBundle for scenarios where a comment is edited.
|
IssueEventBundle |
IssueEventBundleFactoryImpl.createCommentEditedBundle(Issue issue,
ApplicationUser user,
Comment comment,
Map<String,Object> params) |
IssueEventBundle |
IssueEventBundleFactory.createIssueArchivingRelatedEventBundle(Issue issue,
IssueUpdateBean iub,
ApplicationUser user) |
IssueEventBundle |
IssueEventBundleFactoryImpl.createIssueArchivingRelatedEventBundle(Issue issue,
IssueUpdateBean iub,
ApplicationUser user) |
IssueEventBundle |
IssueEventBundleFactory.createIssueDeleteEventBundle(Issue issue,
DefaultIssueDeleteHelper.DeletedIssueEventData deletedIssueEventData,
ApplicationUser user)
Creates an IssueEventBundle for scenarios where an issue is deleted.
|
IssueEventBundle |
IssueEventBundleFactoryImpl.createIssueDeleteEventBundle(Issue issue,
DefaultIssueDeleteHelper.DeletedIssueEventData deletedIssueEventData,
ApplicationUser user) |
IssueEventBundle |
IssueEventBundleFactory.createIssueUpdateEventBundle(Issue issue,
org.ofbiz.core.entity.GenericValue changeGroup,
IssueUpdateBean iub,
ApplicationUser user)
Creates an IssueEventBundle for scenarios where an issue has been updated.
|
IssueEventBundle |
IssueEventBundleFactoryImpl.createIssueUpdateEventBundle(Issue issue,
org.ofbiz.core.entity.GenericValue changeGroup,
IssueUpdateBean iub,
ApplicationUser user)
This method uses
EventTypesForIssueChange to raise events during update. |
IssueEventBundle |
IssueEventBundleFactory.createWorkflowEventBundle(Long eventType,
Issue issue,
ApplicationUser user,
Comment comment,
org.ofbiz.core.entity.GenericValue changeGroup,
Map<String,Object> params,
boolean sendMail,
String originalAssigneeId)
Creates an IssueEventBundle for scenarios where a workflow transition is executed.
|
IssueEventBundle |
IssueEventBundleFactoryImpl.createWorkflowEventBundle(Long eventType,
Issue issue,
ApplicationUser user,
Comment comment,
org.ofbiz.core.entity.GenericValue changeGroup,
Map<String,Object> params,
boolean sendMail,
String originalAssigneeId) |
IssueEventBundle |
IssueEventBundleFactory.createWorklogEventBundle(Issue issue,
org.ofbiz.core.entity.GenericValue changeGroup,
IssueUpdateBean iub,
ApplicationUser applicationUser)
Creates an IssueEventBundle for scenarios where the worklog of an issue has been updated.
|
IssueEventBundle |
IssueEventBundleFactoryImpl.createWorklogEventBundle(Issue issue,
org.ofbiz.core.entity.GenericValue changeGroup,
IssueUpdateBean iub,
ApplicationUser user) |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser)
Deprecated.
Since v5.0
|
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
boolean sendMail)
Deprecated.
use
com.atlassian.jira.event.issue.IssueEventManager#dispatchEvent(Long,
com.atlassian.jira.issue.Issue, com.atlassian.crowd.embedded.api.User, boolean) instead. |
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
boolean sendMail) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
boolean sendMail)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog)
Deprecated.
Since v5.0
|
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail)
Deprecated.
Since v5.0
|
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params)
Deprecated.
Since v5.0
|
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail)
Deprecated.
Since v5.0
|
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
Since v5.0
|
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
Since v5.0
|
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail,
boolean subtasksUpdated) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
Map<String,Object> params,
ApplicationUser remoteUser,
boolean sendMail) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
Map<String,Object> params,
ApplicationUser remoteUser,
boolean sendMail)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
Map params,
ApplicationUser remoteUser)
Deprecated.
Since v5.0
|
void |
DefaultIssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
Map params,
ApplicationUser remoteUser) |
void |
IssueEventManager.dispatchEvent(Long eventTypeId,
Issue issue,
Map params,
ApplicationUser remoteUser)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
static void |
IssueEventDispatcher.dispatchEvent(Long eventTypeId,
Issue issue,
Map params,
ApplicationUser remoteUser,
boolean sendMail)
Deprecated.
use
com.atlassian.jira.event.issue.IssueEventManager#dispatchEvent(Long,
com.atlassian.jira.issue.Issue, java.util.Map, com.atlassian.crowd.embedded.api.User, boolean) instead. |
void |
DefaultIssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog) |
void |
IssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
void |
DefaultIssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params) |
void |
IssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
void |
DefaultIssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail) |
void |
IssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
void |
DefaultIssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated) |
void |
IssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changelog,
Map params,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
void |
DefaultIssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail,
boolean subtasksUpdated) |
void |
IssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue changelog,
boolean sendMail,
boolean subtasksUpdated)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
void |
DefaultIssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
Map<String,Object> params,
ApplicationUser remoteUser,
boolean sendMail) |
void |
IssueEventManager.dispatchRedundantEvent(Long eventTypeId,
Issue issue,
Map<String,Object> params,
ApplicationUser remoteUser,
boolean sendMail)
Deprecated.
since v6.4.10, please use
IssueEventManager.dispatchEvent(IssueEventBundle) . |
Constructor and Description |
---|
IssueEvent(Issue issue,
ApplicationUser user,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changeGroup,
Map params,
Long eventTypeId)
Create a new IssueEvent with a given list of parameters.
|
IssueEvent(Issue issue,
ApplicationUser user,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changeGroup,
Map params,
Long eventTypeId,
boolean sendMail)
Create a new IssueEvent with a given list of parameters.
|
IssueEvent(Issue issue,
ApplicationUser user,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changeGroup,
Map params,
Long eventTypeId,
boolean sendMail,
boolean subtasksUpdated) |
IssueEvent(Issue issue,
ApplicationUser user,
Comment comment,
Worklog worklog,
org.ofbiz.core.entity.GenericValue changeGroup,
Map params,
Long eventTypeId,
boolean sendMail,
boolean subtasksUpdated,
SpanningOperation spanningOperation)
Create a new IssueEvent with a given list of parameters.
|
IssueEvent(Issue issue,
Map params,
ApplicationUser user,
Long eventTypeId)
Create a new IssueEvent with a given list of parameters.
|
IssueEvent(Issue issue,
Map params,
ApplicationUser user,
Long eventTypeId,
boolean sendMail)
Allows configuration of whether the mail notification should be sent
|
IssuePreDeleteEvent(Issue issue,
ApplicationUser user) |
IssuePreDeleteEvent(Issue issue,
ApplicationUser user,
SpanningOperation spanningOperation) |
IssueWatcherAddedEvent(Issue issue,
ApplicationUser user) |
IssueWatcherAddedEvent(Issue issue,
ApplicationUser user,
SpanningOperation spanningOperation) |
IssueWatcherDeletedEvent(Issue issue,
ApplicationUser user) |
IssueWatcherDeletedEvent(Issue issue,
ApplicationUser user,
SpanningOperation spanningOperation) |
MentionIssueCommentEvent(Issue issue,
ApplicationUser fromUser,
Set<ApplicationUser> toUsers,
Set<NotificationRecipient> recipients,
String mentionText,
String fieldId,
Set<NotificationRecipient> currentRecipients,
Comment comment) |
MentionIssueCommentEvent(Issue issue,
ApplicationUser fromUser,
Set<ApplicationUser> toUsers,
String mentionText,
String fieldId,
Set<NotificationRecipient> currentRecipients,
Comment comment)
Deprecated.
|
MentionIssueEvent(Issue issue,
ApplicationUser fromUser,
Set<ApplicationUser> toUsers,
Set<NotificationRecipient> recipients,
String mentionText,
String fieldId,
Set<NotificationRecipient> currentRecipients) |
MentionIssueEvent(Issue issue,
ApplicationUser fromUser,
Set<ApplicationUser> toUsers,
String mentionText,
String fieldId,
Set<NotificationRecipient> currentRecipients)
Deprecated.
|
Constructor and Description |
---|
ChangeHistoryPropertyDeletedEvent(EntityProperty entityProperty,
ApplicationUser user) |
ChangeHistoryPropertySetEvent(EntityProperty entityProperty,
ApplicationUser user) |
Constructor and Description |
---|
CommentPropertyDeletedEvent(EntityProperty entityProperty,
ApplicationUser user) |
CommentPropertySetEvent(EntityProperty entityProperty,
ApplicationUser user) |
Constructor and Description |
---|
IssuePropertyDeletedEvent(EntityProperty entityProperty,
ApplicationUser user) |
IssuePropertySetEvent(EntityProperty entityProperty,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
void |
TxnAwareEventFactory.issueChangedEventOnCommit(long issueId,
ApplicationUser caller,
Comment comment,
long changeGroupId,
boolean sendMail) |
void |
TxnAwareEventFactoryImpl.issueChangedEventOnCommit(long issueId,
ApplicationUser author,
Comment comment,
long changeGroupId,
boolean sendMail) |
Constructor and Description |
---|
IssueTypePropertyDeletedEvent(EntityProperty entityProperty,
ApplicationUser user) |
IssueTypePropertySetEvent(EntityProperty entityProperty,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
void |
ProjectEventManager.dispatchProjectCreated(ApplicationUser user,
Project newProject)
Dispatches
ProjectCreatedEvent . |
void |
DefaultProjectEventManager.dispatchProjectCreated(ApplicationUser user,
Project newProject) |
void |
ProjectEventManager.dispatchProjectDeleted(ApplicationUser user,
Project oldProject)
Dispatches
ProjectDeletedEvent . |
void |
DefaultProjectEventManager.dispatchProjectDeleted(ApplicationUser user,
Project oldProject) |
void |
ProjectEventManager.dispatchProjectUpdated(ApplicationUser user,
Project newProject,
Project oldProject,
RequestSourceType requestSourceType)
Dispatches
ProjectUpdatedEvent . |
void |
DefaultProjectEventManager.dispatchProjectUpdated(ApplicationUser user,
Project newProject,
Project oldProject,
RequestSourceType requestSourceType) |
Constructor and Description |
---|
ProjectArchivedEvent(Project project,
ApplicationUser user) |
ProjectRestoredEvent(Project project,
ApplicationUser user) |
Constructor and Description |
---|
ProjectPropertyDeletedEvent(EntityProperty entityProperty,
ApplicationUser user) |
ProjectPropertySetEvent(EntityProperty entityProperty,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
String |
EventType.getTranslatedDesc(ApplicationUser remoteUser)
Allows i18n keys to be specified in the properties file to allow translation of the event type description.
|
String |
EventType.getTranslatedName(ApplicationUser remoteUser)
Allows i18n keys to be specified in the properties file to allow translation of the event type name.
|
String |
EventType.translateDesc(ApplicationUser remoteUser)
Allows i18n keys to be specified in the properties file to allow translation of the event type description.
|
String |
EventType.translateName(ApplicationUser remoteUser)
Allows i18n keys to be specified in the properties file to allow translation of the event type name.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
UserEvent.getInitiatingUser()
Returns the user who triggered the event.
|
ApplicationUser |
UserEvent.getUser()
Returns the user that the event is occurring on.
|
Modifier and Type | Method and Description |
---|---|
static void |
UserEventDispatcher.dispatchEvent(int type,
ApplicationUser user)
Deprecated.
Logic to create events was moved to
UserEventFactory .
For dispatching messages, prefer using EventPublisher directly. |
static void |
UserEventDispatcher.dispatchEvent(int type,
ApplicationUser user,
Map<String,Object> params)
Deprecated.
Logic to create events was moved to
UserEventFactory .
For dispatching messages, prefer using EventPublisher directly. |
UserEvent |
UserEventFactory.newCannotChangePasswordEvent(Map<String,Object> params,
ApplicationUser user)
Creates a new
UserEvent instance about an user not being able to change password,
with the provided arguments. |
UserEvent |
UserEventFactoryImpl.newCannotChangePasswordEvent(Map<String,Object> params,
ApplicationUser user) |
UserEvent |
UserEventFactory.newForgotPasswordEvent(Map<String,Object> params,
ApplicationUser user)
Creates a new
UserEvent instance about an user triggering the forgot password feature,
with the provided arguments. |
UserEvent |
UserEventFactoryImpl.newForgotPasswordEvent(Map<String,Object> params,
ApplicationUser user) |
UserEvent |
UserEventFactory.newForgotUsernameEvent(Map<String,Object> params,
ApplicationUser user)
Creates a new
UserEvent instance about an user triggering the forgot username feature,
with the provided arguments. |
UserEvent |
UserEventFactoryImpl.newForgotUsernameEvent(Map<String,Object> params,
ApplicationUser user) |
UserEvent |
UserEventFactory.newUserEventWithExtendedParams(Map<String,Object> params,
ApplicationUser user,
int type)
Creates a new
UserEvent instance with the provided arguments. |
UserEvent |
UserEventFactoryImpl.newUserEventWithExtendedParams(Map<String,Object> params,
ApplicationUser user,
int type) |
Constructor and Description |
---|
UserPropertyDeletedEvent(EntityProperty entityProperty,
ApplicationUser user) |
UserPropertySetEvent(EntityProperty entityProperty,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
LookAndFeelUpdatedEvent.getUser() |
Constructor and Description |
---|
LookAndFeelUpdatedEvent(ApplicationUser user)
Deprecated.
since 6.0, replaced by
#LookAndFeelUpdatedEvent(User, Type) |
LookAndFeelUpdatedEvent(ApplicationUser user,
LookAndFeelUpdatedEvent.Type type) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ExternalUtils.createUser(ExternalUser externalUser) |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
OfBizFavouritesStore.addFavourite(ApplicationUser user,
SharedEntity entity) |
boolean |
CachingFavouritesStore.addFavourite(ApplicationUser user,
SharedEntity entity) |
boolean |
FavouritesStore.addFavourite(ApplicationUser user,
SharedEntity entity)
Create Favourites association between User and entity
|
void |
DefaultFavouritesManager.addFavourite(ApplicationUser user,
SharedEntity entity) |
void |
DefaultFavouritesManager.addFavouriteInPosition(ApplicationUser user,
SharedEntity entity,
long position) |
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.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 |
DefaultFavouritesManager.decreaseFavouriteSequence(ApplicationUser user,
SharedEntity entity) |
Collection<Long> |
OfBizFavouritesStore.getFavouriteIds(ApplicationUser user,
SharedEntity.TypeDescriptor<?> entityType) |
Collection<Long> |
CachingFavouritesStore.getFavouriteIds(ApplicationUser user,
SharedEntity.TypeDescriptor<?> entityType) |
Collection<Long> |
FavouritesStore.getFavouriteIds(ApplicationUser user,
SharedEntity.TypeDescriptor<?> entityType)
Get the ids of a user's favourite Entities for a given entity type
|
Collection<Long> |
FavouritesManager.getFavouriteIds(ApplicationUser user,
SharedEntity.TypeDescriptor<S> entityType)
Get the ids of a user's favourite Entities for a given entity type
|
Collection<Long> |
DefaultFavouritesManager.getFavouriteIds(ApplicationUser user,
SharedEntity.TypeDescriptor<SharedEntity> entityType) |
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 |
DefaultFavouritesManager.increaseFavouriteSequence(ApplicationUser user,
SharedEntity entity) |
boolean |
FavouritesManager.isFavourite(ApplicationUser user,
S entity)
Check to see if the given entity is a favourite of the user passed in.
|
boolean |
OfBizFavouritesStore.isFavourite(ApplicationUser user,
SharedEntity entity) |
boolean |
CachingFavouritesStore.isFavourite(ApplicationUser user,
SharedEntity entity) |
boolean |
FavouritesStore.isFavourite(ApplicationUser user,
SharedEntity entity)
Checks to see if entity is a favourite of the user passed in.
|
boolean |
DefaultFavouritesManager.isFavourite(ApplicationUser user,
SharedEntity entity) |
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 |
DefaultFavouritesManager.moveToEndFavouriteSequence(ApplicationUser user,
SharedEntity entity) |
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 |
DefaultFavouritesManager.moveToStartFavouriteSequence(ApplicationUser user,
SharedEntity entity) |
void |
FavouritesManager.removeFavourite(ApplicationUser user,
S entity)
Remove the given entity as a favourite of the user passed in.
|
boolean |
OfBizFavouritesStore.removeFavourite(ApplicationUser user,
SharedEntity entity) |
boolean |
CachingFavouritesStore.removeFavourite(ApplicationUser user,
SharedEntity entity) |
boolean |
FavouritesStore.removeFavourite(ApplicationUser user,
SharedEntity entity)
Remove Favourites association between User and entity
|
void |
DefaultFavouritesManager.removeFavourite(ApplicationUser user,
SharedEntity entity) |
void |
OfBizFavouritesStore.removeFavouritesForUser(ApplicationUser user,
SharedEntity.TypeDescriptor<?> entityType) |
void |
CachingFavouritesStore.removeFavouritesForUser(ApplicationUser user,
SharedEntity.TypeDescriptor<?> entityType) |
void |
FavouritesStore.removeFavouritesForUser(ApplicationUser user,
SharedEntity.TypeDescriptor<?> entityType)
Remove the favourite associations for the given User and the given type
|
void |
FavouritesManager.removeFavouritesForUser(ApplicationUser user,
SharedEntity.TypeDescriptor<S> entityType)
Remove the favourite associations for the given User and the given type
|
void |
DefaultFavouritesManager.removeFavouritesForUser(ApplicationUser user,
SharedEntity.TypeDescriptor<SharedEntity> entityType) |
void |
OfBizFavouritesStore.updateSequence(ApplicationUser user,
List<? extends SharedEntity> favouriteEntities) |
void |
CachingFavouritesStore.updateSequence(ApplicationUser user,
List<? extends SharedEntity> favouriteEntities) |
void |
FavouritesStore.updateSequence(ApplicationUser user,
List<? extends SharedEntity> favouriteEntities)
Called to update the sequence of a list of favourite
shared entities |
Modifier and Type | Method and Description |
---|---|
ProjectHelper |
ProjectGadgetResource.getProjectHelper(ApplicationUser user,
Project project)
This returns a hackish project helper.
|
Constructor and Description |
---|
ToIssueBubbleData(CommentService commentService,
ApplicationUser user,
String bubbleType,
int recentCommentsDays) |
Modifier and Type | Method and Description |
---|---|
List<Hint> |
DefaultHintManager.getAllHints(ApplicationUser user,
JiraHelper jiraHelper) |
List<Hint> |
HintManager.getAllHints(ApplicationUser user,
JiraHelper helper)
Get all hints visible in given user context.
|
Hint |
DefaultHintManager.getHintForContext(ApplicationUser remoteUser,
JiraHelper jiraHelper,
HintManager.Context context) |
Hint |
HintManager.getHintForContext(ApplicationUser remoteUser,
JiraHelper jiraHelper,
HintManager.Context context)
Given a valid
HintManager.Context this method returns a random
link for that context. |
Hint |
DefaultHintManager.getRandomHint(ApplicationUser user,
JiraHelper jiraHelper) |
Hint |
HintManager.getRandomHint(ApplicationUser user,
JiraHelper jiraHelper)
Get random hint visible in given user context.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
BootstrapJiraAuthenticationContext.getLoggedInUser() |
ApplicationUser |
BootstrapJiraAuthenticationContext.getUser() |
Modifier and Type | Method and Description |
---|---|
I18nHelper |
DelegateI18nFactory.getInstance(ApplicationUser user) |
I18nHelper |
CachingI18nFactory.getInstance(ApplicationUser user) |
void |
BootstrapJiraAuthenticationContext.setLoggedInUser(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
String |
ProjectImportPersister.createChangeItemForIssueLinkIfNeeded(String issueId,
String issueLinkTypeId,
String linkedIssueKey,
boolean isSource,
ApplicationUser importAuthor)
This will look at the issue specified by issueId and add a changeItem for the issue link if it needs to.
|
String |
DefaultProjectImportPersister.createChangeItemForIssueLinkIfNeeded(String issueId,
String issueLinkTypeId,
String linkedIssueKey,
boolean isSource,
ApplicationUser importAuthor) |
Issue |
ProjectImportPersister.createIssue(ExternalIssue externalIssue,
Date importDate,
ApplicationUser importAuthor)
Creates an issue based off of the provided ExternalIssue.
|
Issue |
DefaultProjectImportPersister.createIssue(ExternalIssue externalIssue,
Date importDate,
ApplicationUser importAuthor) |
void |
ProjectImportManager.doImport(ProjectImportOptions projectImportOptions,
ProjectImportData projectImportData,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
ProjectImportResults projectImportResults,
TaskProgressInterval taskProgressInterval,
I18nHelper i18n,
ApplicationUser importAuthor)
This will perform the project import based on the mappings provided.
|
void |
DefaultProjectImportManager.doImport(ProjectImportOptions projectImportOptions,
ProjectImportData projectImportData,
BackupProject backupProject,
BackupSystemInformation backupSystemInformation,
ProjectImportResults projectImportResults,
TaskProgressInterval taskProgressInterval,
I18nHelper i18n,
ApplicationUser importAuthor) |
Constructor and Description |
---|
IssueLinkPersisterHandler(ProjectImportPersister projectImportPersister,
ProjectImportMapper projectImportMapper,
ProjectImportResults projectImportResults,
BackupSystemInformation backupSystemInformation,
IssueLinkTransformer issueLinkTransformer,
IssueLinkParser issueLinkParser,
Executor executor,
ApplicationUser importAuthor) |
IssuePersisterHandler(ProjectImportPersister projectImportPersister,
ProjectImportMapper projectImportMapper,
ApplicationUser importAuthor,
ProjectImportResults projectImportResults,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
String |
DefaultIndexRecoveryService.getSnapshotCronExpression(ApplicationUser user) |
String |
IndexRecoveryService.getSnapshotCronExpression(ApplicationUser user)
Get the schedule configured for taking recovery snapshots
|
boolean |
DefaultIndexRecoveryService.isRecoveryEnabled(ApplicationUser user) |
boolean |
IndexRecoveryService.isRecoveryEnabled(ApplicationUser user)
Is index recovery enabled.
|
IndexCommandResult |
DefaultIndexRecoveryService.recoverIndexFromBackup(ApplicationUser user,
Context context,
I18nHelper i18n,
String recoveryFilename,
TaskProgressSink taskProgressSink) |
IndexCommandResult |
IndexRecoveryService.recoverIndexFromBackup(ApplicationUser user,
Context context,
I18nHelper i18n,
String recoveryFilename,
TaskProgressSink taskProgressSink)
Recovers an index from an index backup
|
void |
DefaultIndexRecoveryService.updateRecoverySettings(ApplicationUser user,
boolean recoveryEnabled,
String cronExpression) |
void |
IndexRecoveryService.updateRecoverySettings(ApplicationUser user,
boolean recoveryEnabled,
String cronExpression)
Update the recovery settings
|
Modifier and Type | Method and Description |
---|---|
ClauseValuesGenerator.Results |
IssuePropertyClauseValueGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxResults) |
Modifier and Type | Method and Description |
---|---|
void |
IndexingLanguageSetting.setValueTo(ApplicationUser user,
String indexingLanguage) |
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
IssueManager.getWatchers(Issue issue)
Deprecated.
Use
IssueManager.getWatchersFor(Issue) instead. Since v6.0. |
List<ApplicationUser> |
IssueManager.getWatchersFor(Issue issue)
Return a list of watchers for a particular issue.
|
Modifier and Type | Method and Description |
---|---|
Issue |
IssueManager.archiveIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail)
This method will archive the issue.
|
boolean |
AttachmentValidator.canCreateAttachments(ApplicationUser user,
Issue issue,
ErrorCollection errorCollection)
Verifies if user may create attachment for given issue.
|
boolean |
AttachmentValidator.canCreateAttachments(ApplicationUser user,
Issue issue,
String nextStatusId,
ErrorCollection errorCollection)
Check if the given user has permission to add an attachment during a workflow transition to a step with given id.
|
boolean |
AttachmentValidator.canCreateTemporaryAttachments(ApplicationUser user,
io.atlassian.fugue.Either<Issue,Project> issueOrProject,
ErrorCollection errorCollection)
Verifies if user may create temporary attachment for given issue or project (in case if the issue is being
created).
|
List<ChangeItemBean> |
AttachmentManager.convertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<Long> selectedAttachments,
TemporaryAttachmentsMonitor temporaryAttachmentsMonitor)
|
io.atlassian.fugue.Either<AttachmentError,Attachment> |
AttachmentManager.copyAttachment(Attachment attachment,
ApplicationUser author,
String newIssueKey)
Copy an attachment to another issue.
|
Map<Long,io.atlassian.fugue.Either<AttachmentError,Attachment>> |
AttachmentManager.copyAttachments(Context context,
Issue issue,
ApplicationUser author,
String newIssueKey)
Copy Issue attachments to another issue.
|
Map<Long,io.atlassian.fugue.Either<AttachmentError,Attachment>> |
AttachmentManager.copyAttachments(Issue issue,
ApplicationUser author,
String newIssueKey)
Copy Issue attachments to another issue.
|
ChangeItemBean |
AttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Use
#createAttachment(File, String, String, User, Issue) instead. Since v5.0. |
ChangeItemBean |
AttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
org.ofbiz.core.entity.GenericValue issue,
Boolean zip,
Boolean thumbnailable,
Map<String,Object> attachmentProperties,
Date createdTime)
Deprecated.
Use
#createAttachment(File, String, String, User, Issue, Map, Date) instead. Since v5.0. |
ChangeItemBean |
AttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
org.ofbiz.core.entity.GenericValue issue,
Map<String,Object> attachmentProperties,
Date createdTime)
Deprecated.
Use
#createAttachment(File, String, String, User, Issue, Map, Date) instead. Since v5.0. |
ChangeItemBean |
AttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
Issue issue)
Deprecated.
Use
AttachmentManager.createAttachment(com.atlassian.jira.issue.attachment.CreateAttachmentParamsBean) instead. Since v6.0. |
ChangeItemBean |
AttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
Issue issue,
Boolean zip,
Boolean thumbnailable,
Map<String,Object> attachmentProperties,
Date createdTime)
Deprecated.
Use
AttachmentManager.createAttachment(com.atlassian.jira.issue.attachment.CreateAttachmentParamsBean) instead. Since v6.0. |
ChangeItemBean |
AttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
Issue issue,
Map<String,Object> attachmentProperties,
Date createdTime)
Deprecated.
Use
AttachmentManager.createAttachment(com.atlassian.jira.issue.attachment.CreateAttachmentParamsBean) instead. Since v6.0. |
Attachment |
AttachmentManager.createAttachment(org.ofbiz.core.entity.GenericValue issue,
ApplicationUser author,
String mimetype,
String filename,
Long filesize,
Map<String,Object> attachmentProperties,
Date createdTime)
Deprecated.
Use
#createAttachment(File, String, String, User, Issue, Map, Date) instead. Since v5.0. |
org.ofbiz.core.entity.GenericValue |
IssueManager.createIssue(ApplicationUser remoteUser,
Issue issue)
Deprecated.
Use
#createIssueObject(User, Issue) instead. Since v5.0 |
org.ofbiz.core.entity.GenericValue |
IssueManager.createIssue(ApplicationUser remoteUser,
Map<String,Object> fields)
Deprecated.
Use
#createIssueObject(User, java.util.Map) instead. Since v5.0. |
Issue |
IssueManager.createIssueObject(ApplicationUser remoteUser,
Issue issue)
Creates an issue.
|
Issue |
IssueManager.createIssueObject(ApplicationUser remoteUser,
Map<String,Object> fields)
Creates an issue.
|
void |
IssueManager.deleteIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail)
This method will delete an issue from JIRA.
|
void |
IssueManager.deleteIssue(ApplicationUser user,
MutableIssue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail)
Deprecated.
Use
#deleteIssue(com.atlassian.crowd.embedded.api.User, Issue, com.atlassian.jira.event.type.EventDispatchOption, boolean) instead. Since v5.0. |
List<Issue> |
IssueManager.getVotedIssues(ApplicationUser user)
Get a list of issues that the user has voted on and can see.
|
List<Issue> |
IssueManager.getVotedIssuesOverrideSecurity(ApplicationUser user)
Get a list of issues that the user has voted on.
|
List<Issue> |
IssueManager.getWatchedIssues(ApplicationUser user)
Get a list of issues that the user is watching and can see.
|
List<Issue> |
IssueManager.getWatchedIssuesOverrideSecurity(ApplicationUser user)
Get a list of issues that the user is watching
|
boolean |
IssueManager.isEditable(Issue issue,
ApplicationUser user)
Returns
true if the issue can be edited by the current user. |
Issue |
IssueManager.restoreIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail)
This method will restore an archived issue.
|
void |
IssueImpl.setAssignee(ApplicationUser assignee) |
void |
MutableIssue.setAssignee(ApplicationUser assignee) |
static org.ofbiz.core.entity.GenericValue |
IssueUtils.setPriority(org.ofbiz.core.entity.GenericValue issue,
ApplicationUser remoteUser,
String priority)
Deprecated.
|
void |
IssueImpl.setReporter(ApplicationUser reporter) |
void |
MutableIssue.setReporter(ApplicationUser reporter) |
AttachmentsBulkOperationResult<ChangeItemBean> |
AttachmentManager.tryConvertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<Long> selectedAttachments,
TemporaryAttachmentsMonitor temporaryAttachmentsMonitor)
|
Issue |
IssueManager.updateIssue(ApplicationUser user,
MutableIssue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail)
This method will store the provided issue to the JIRA datastore.
|
Issue |
IssueManager.updateIssue(ApplicationUser user,
MutableIssue issue,
UpdateIssueRequest updateIssueRequest)
This method will store the provided issue to the JIRA datastore.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ArchivedIssueService.ValidationResult.getUser() |
Modifier and Type | Method and Description |
---|---|
ArchivedIssueService.ValidationResult |
DefaultArchivedIssueService.validateArchiveIssue(ApplicationUser user,
String issueKey,
boolean notifyUsers) |
ArchivedIssueService.ValidationResult |
ArchivedIssueService.validateArchiveIssue(ApplicationUser user,
String issueKey,
boolean notifyUsers)
Check if given issue can be archived by given user.
|
ArchivedIssueService.ValidationResult |
DefaultArchivedIssueService.validateRestoreIssue(ApplicationUser user,
String issueKey,
boolean notifyUsers) |
ArchivedIssueService.ValidationResult |
ArchivedIssueService.validateRestoreIssue(ApplicationUser user,
String issueKey,
boolean notifyUsers)
Check if given issue can be restored by given user.
|
Constructor and Description |
---|
ValidationResult(ErrorCollection errorCollection,
Issue issue,
ApplicationUser user)
Deprecated.
please use
#ValidationResult(ErrorCollection, Issue, ApplicationUser, boolean) |
ValidationResult(ErrorCollection errorCollection,
Issue issue,
ApplicationUser user,
boolean notifyUsers) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ArchivedIssue.getArchivedBy() |
Modifier and Type | Method and Description |
---|---|
ArchiveQuery.Builder |
ArchiveQuery.Builder.archivedBy(ApplicationUser... archivedBys) |
ArchiveQuery.Builder |
ArchiveQuery.Builder.reporter(ApplicationUser... reporters) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
CreateAttachmentParamsBean.getAuthor() |
ApplicationUser |
ConvertTemporaryAttachmentParams.getAuthor() |
ApplicationUser |
Attachment.getAuthorObject() |
Constructor and Description |
---|
Builder(File file,
String filename,
String contentType,
ApplicationUser author,
Issue issue) |
CreateAttachmentParamsBean(File file,
String filename,
String contentType,
ApplicationUser author,
Issue issue,
Boolean zip,
Boolean thumbnailable,
Map<String,Object> attachmentProperties,
Date createdTime,
Boolean copySourceFile) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ChangeHistory.getAuthorObject()
Returns the author of this Change
|
ApplicationUser |
ChangeHistory.getAuthorUser()
Deprecated.
Use
ChangeHistory.getAuthorObject() instead. Since v6.0.
Returns the author of this Change |
Modifier and Type | Method and Description |
---|---|
Collection<Issue> |
DefaultChangeHistoryManager.findUserHistory(ApplicationUser remoteUser,
Collection<String> userkeys,
Collection<Project> projects,
int maxResults) |
Collection<Issue> |
ChangeHistoryManager.findUserHistory(ApplicationUser remoteUser,
Collection<String> userkeys,
Collection<Project> projects,
int maxResults)
Find a list of issues that the given users have acted on with the option to limit the projects included
in the search.
|
Collection<Issue> |
DefaultChangeHistoryManager.findUserHistory(ApplicationUser remoteUser,
Collection<String> userkeys,
int maxResults) |
Collection<Issue> |
ChangeHistoryManager.findUserHistory(ApplicationUser remoteUser,
Collection<String> userkeys,
int maxResults)
Find a list of issues that the given users have acted on.
|
List<ChangeHistory> |
DefaultChangeHistoryManager.getChangeHistoriesForUser(Issue issue,
ApplicationUser remoteUser) |
List<ChangeHistory> |
ChangeHistoryManager.getChangeHistoriesForUser(Issue issue,
ApplicationUser remoteUser)
Returns a List of ChangeHistory entities for a single issue.
|
List<ChangeHistory> |
DefaultChangeHistoryManager.getChangeHistoriesForUser(Iterable<Issue> issues,
ApplicationUser remoteUser) |
List<ChangeHistory> |
ChangeHistoryManager.getChangeHistoriesForUser(Iterable<Issue> issues,
ApplicationUser remoteUser)
Returns a List of ChangeHistory entities for multiple issues.
|
List<ChangeHistory> |
DefaultChangeHistoryManager.getChangeHistoriesForUser(Iterable<Issue> issues,
ApplicationUser remoteUser,
Integer limit) |
List<ChangeHistory> |
ChangeHistoryManager.getChangeHistoriesForUser(Iterable<Issue> issues,
ApplicationUser remoteUser,
Integer limit)
Returns a List of ChangeHistory entities for multiple issues.
|
Modifier and Type | Method and Description |
---|---|
HistoryMetadataManager.HistoryMetadataResult |
DefaultHistoryMetadataManager.getHistoryMetadata(ChangeHistory changeHistory,
ApplicationUser user) |
HistoryMetadataManager.HistoryMetadataResult |
HistoryMetadataManager.getHistoryMetadata(ChangeHistory changeHistory,
ApplicationUser user)
Retrieves the HistoryMetadata related to the ChangeHistory.
|
void |
DefaultHistoryMetadataManager.saveHistoryMetadata(Long changeGroupId,
ApplicationUser user,
HistoryMetadata historyMetadata) |
void |
HistoryMetadataManager.saveHistoryMetadata(Long changeGroupId,
ApplicationUser user,
HistoryMetadata historyMetadata)
Persists the HistoryMetadata related to the change group.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
MockComment.getAuthorApplicationUser() |
ApplicationUser |
CommentImpl.getAuthorApplicationUser() |
ApplicationUser |
Comment.getAuthorApplicationUser()
Returns the
user that created the comment |
ApplicationUser |
MockComment.getAuthorUser() |
ApplicationUser |
CommentImpl.getAuthorUser() |
ApplicationUser |
Comment.getAuthorUser()
Deprecated.
Use
Comment.getAuthorApplicationUser() instead. Since v6.0. |
ApplicationUser |
MockComment.getUpdateAuthorApplicationUser() |
ApplicationUser |
CommentImpl.getUpdateAuthorApplicationUser() |
ApplicationUser |
Comment.getUpdateAuthorApplicationUser()
Get the user that performed the update
|
ApplicationUser |
MockComment.getUpdateAuthorUser() |
ApplicationUser |
CommentImpl.getUpdateAuthorUser() |
ApplicationUser |
Comment.getUpdateAuthorUser()
Deprecated.
Use
Comment.getUpdateAuthorApplicationUser() instead. Since v6.0.
Get the user that performed the update |
Modifier and Type | Method and Description |
---|---|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
boolean dispatchEvent)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
boolean dispatchEvent,
boolean modifyIssueUpdateDate) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
boolean dispatchEvent,
boolean modifyIssueUpdateDate)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent,
boolean modifyIssueUpdateDate) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent,
boolean modifyIssueUpdateDate)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
String body,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
String body,
boolean dispatchEvent)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
boolean dispatchEvent)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
Date created,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
Date created,
boolean dispatchEvent)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent)
Creates a comment and associates it with the given issue.
|
void |
DefaultCommentManager.delete(Comment comment,
boolean dispatchEvent,
ApplicationUser user) |
void |
CommentManager.delete(Comment comment,
boolean dispatchEvent,
ApplicationUser user)
Deletes the specified comment.
|
List<Comment> |
DefaultCommentManager.getCommentsForUser(Issue issue,
ApplicationUser user) |
List<Comment> |
CommentSearchManager.getCommentsForUser(Issue issue,
ApplicationUser user) |
List<Comment> |
CommentManager.getCommentsForUser(Issue issue,
ApplicationUser user)
Retrieves all
Comment s on the given Issue that the given ApplicationUser
has permission to see. |
List<Comment> |
DefaultCommentManager.getCommentsForUserSince(Issue issue,
ApplicationUser user,
Date since) |
List<Comment> |
CommentSearchManager.getCommentsForUserSince(Issue issue,
ApplicationUser user,
Date since) |
List<Comment> |
CommentManager.getCommentsForUserSince(Issue issue,
ApplicationUser user,
Date since)
Retrieves
Comment s that were created or updated after the provided date, on the given Issue that the
given ApplicationUser has permission to see. |
CommentSummary |
DefaultCommentManager.getCommentSummary(ApplicationUser user,
Issue issue,
Optional<Long> focusedCommentId) |
CommentSummary |
CommentSearchManager.getCommentSummary(ApplicationUser user,
Issue issue,
Optional<Long> focusedCommentId) |
CommentSummary |
CommentManager.getCommentSummary(ApplicationUser user,
Issue issue,
Optional<Long> focusedCommentId)
Method that will return a summary of comments required to render the initial view issue page.
|
CommentIterator |
DefaultRecentCommentManager.getRecentComments(SearchRequest searchRequest,
ApplicationUser user) |
CommentIterator |
RecentCommentManager.getRecentComments(SearchRequest searchRequest,
ApplicationUser user)
Deprecated.
Use
RecentCommentManager.getRecentComments(com.atlassian.jira.issue.search.SearchRequest, com.atlassian.jira.user.ApplicationUser) instead. Since v6.0.
Return an iterator over all the comments from any issues in the search request that the user can see |
boolean |
DefaultCommentPermissionManager.hasBrowsePermission(ApplicationUser user,
Comment comment)
Determines whether the user can see given comment, or is prevented by restrictions on the visibility of the
comment (either group- or Project Role-based)
|
boolean |
CommentPermissionManager.hasBrowsePermission(ApplicationUser user,
Comment comment)
Return true if the user can see the comment.
|
boolean |
DefaultCommentPermissionManager.hasDeleteAllPermission(ApplicationUser user,
Issue issue) |
boolean |
CommentPermissionManager.hasDeleteAllPermission(ApplicationUser user,
Issue issue)
Returns true if the given User can delete all comments for the given Issue.
|
boolean |
DefaultCommentPermissionManager.hasDeleteOwnPermission(ApplicationUser user,
Issue issue) |
boolean |
CommentPermissionManager.hasDeleteOwnPermission(ApplicationUser user,
Issue issue)
Returns true if the given User can delete her own comments in the given Issue.
|
boolean |
DefaultCommentPermissionManager.hasEditAllPermission(ApplicationUser user,
Issue issue) |
boolean |
CommentPermissionManager.hasEditAllPermission(ApplicationUser user,
Issue issue)
Returns true if user has permission to edit all comments in the given Issue.
|
boolean |
DefaultCommentPermissionManager.hasEditOwnPermission(ApplicationUser user,
Issue issue) |
boolean |
CommentPermissionManager.hasEditOwnPermission(ApplicationUser user,
Issue issue)
Returns true if user has permission to edit her own comments in the given Issue.
|
boolean |
DefaultCommentPermissionManager.hasEditPermission(ApplicationUser user,
Comment comment)
Determines whether the user can edit given comment.
|
boolean |
CommentPermissionManager.hasEditPermission(ApplicationUser user,
Comment comment)
Determines whether the given user has permission to edit the given comment.
|
boolean |
DefaultCommentManager.isUserCommentAuthor(ApplicationUser user,
Comment comment) |
boolean |
DefaultCommentPermissionManager.isUserCommentAuthor(ApplicationUser user,
Comment comment) |
boolean |
CommentPermissionManager.isUserCommentAuthor(ApplicationUser user,
Comment comment)
Returns true if the given user is the author of the given comment.
|
boolean |
CommentManager.isUserCommentAuthor(ApplicationUser user,
Comment comment)
Returns true if the given user is the author of the given comment.
|
void |
MockComment.setAuthor(ApplicationUser author) |
void |
CommentImpl.setAuthor(ApplicationUser author) |
void |
MutableComment.setAuthor(ApplicationUser author) |
void |
MockComment.setUpdateAuthor(ApplicationUser updateAuthor) |
void |
CommentImpl.setUpdateAuthor(ApplicationUser updateAuthor) |
void |
MutableComment.setUpdateAuthor(ApplicationUser updateAuthor) |
java.util.stream.Stream<Comment> |
StreamingCommentsRetriever.stream(ApplicationUser user,
Issue issue)
This method iterates over each comment of the given issue and executes a callback on it.
|
java.util.stream.Stream<Comment> |
DefaultCommentManager.streamComments(ApplicationUser user,
Issue issue) |
java.util.stream.Stream<Comment> |
CommentSearchManager.streamComments(ApplicationUser user,
Issue issue) |
java.util.stream.Stream<Comment> |
CommentManager.streamComments(ApplicationUser user,
Issue issue)
Streams every comment of the given issue that is visible to the user.
|
Constructor and Description |
---|
CommentImpl(ProjectRoleManager projectRoleManager,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
Issue issue) |
Constructor and Description |
---|
LuceneCommentIterator(ApplicationUser user,
CommentService commentService,
org.apache.lucene.search.TopDocs hits,
ManagedIndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
int |
ApplicationUserBestNameComparator.compare(ApplicationUser user1,
ApplicationUser user2) |
int |
UserNameComparator.compare(ApplicationUser user1,
ApplicationUser user2) |
int |
UserCachingComparator.compare(ApplicationUser user1,
ApplicationUser user2) |
int |
UserComparator.compare(ApplicationUser o1,
ApplicationUser o2) |
int |
UserBestNameComparator.compare(ApplicationUser user1,
ApplicationUser user2)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Collection<Long> |
CustomFieldUtils.getProjectIdsForUser(ApplicationUser user,
Collection<Long> projectIds,
PermissionManager permissionManager,
UserFilter userFilter)
If
projectIds is not empty, return it. |
static boolean |
CustomFieldUtils.isShownAndVisible(CustomField customField,
ApplicationUser user,
SearchContext searchContext,
FieldVisibilityManager fieldVisibilityManager)
Checks if the custom field is in the search context scope (using
OrderableField.isShown(com.atlassian.jira.issue.Issue) )
and visible in all field schemes (using com.atlassian.jira.web.FieldVisibilityManager#isFieldHiddenInAllSchemes(String, SearchContext, User) ) |
static boolean |
CustomFieldUtils.isUserHasPermissionToProjects(CustomField customField,
ApplicationUser user)
Does the user have permission to at least one project that falls under this custom field.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
UserConverterImpl.getUser(String stringValue) |
ApplicationUser |
UserConverter.getUser(String stringValue)
Deprecated.
Use
UserConverter.getUserFromDbString(String) instead. Since v6.0. |
ApplicationUser |
UserConverterImpl.getUserEvenWhenUnknown(String stringValue) |
ApplicationUser |
UserConverter.getUserEvenWhenUnknown(String stringValue)
Deprecated.
Use
UserConverter.getUserFromDbString(String) instead. Since v6.0. |
ApplicationUser |
UserConverterImpl.getUserFromDbString(String stringValue) |
ApplicationUser |
UserConverter.getUserFromDbString(String stringValue)
Get the User Object from its database string representation.
|
ApplicationUser |
UserConverterImpl.getUserFromHttpParameterWithValidation(String stringValue) |
ApplicationUser |
UserConverter.getUserFromHttpParameterWithValidation(String stringValue)
Get the User Object from its presentation string representation.
|
ApplicationUser |
UserConverterImpl.getUserObject(String stringValue) |
ApplicationUser |
UserConverter.getUserObject(String stringValue)
Deprecated.
Use
UserConverter.getUser(String) instead. Since v5.0. |
Modifier and Type | Method and Description |
---|---|
String |
UserConverterImpl.getDbString(ApplicationUser user) |
String |
UserConverter.getDbString(ApplicationUser user)
Get the String representation of the User to be passed to and from the database tier.
|
String |
UserConverterImpl.getHttpParameterValue(ApplicationUser user) |
String |
UserConverter.getHttpParameterValue(ApplicationUser user)
Get the String representation of the User to be passed to and from the presentation tier as an HTTP parameter.
|
String |
UserConverterImpl.getString(ApplicationUser user) |
String |
UserConverter.getString(ApplicationUser user)
Deprecated.
Use
UserConverter.getHttpParameterValue(ApplicationUser) or UserConverter.getDbString(ApplicationUser) instead. Since v6.0. |
Modifier and Type | Method and Description |
---|---|
protected ApplicationUser |
MultiUserCFType.convertDbValueToType(Object string) |
protected ApplicationUser |
UserCFType.getObjectFromDbValue(Object databaseValue) |
ApplicationUser |
MultiUserCFType.getSingularObjectFromString(String s) |
ApplicationUser |
UserCFType.getSingularObjectFromString(String string) |
ApplicationUser |
UserCFType.getValueFromCustomFieldParams(CustomFieldParams relevantParams) |
Modifier and Type | Method and Description |
---|---|
protected Comparator<ApplicationUser> |
MultiUserCFType.getTypeComparator() |
Collection<ApplicationUser> |
MultiUserCFType.getValueFromCustomFieldParams(CustomFieldParams parameters) |
Modifier and Type | Method and Description |
---|---|
int |
UserCFType.compare(ApplicationUser customFieldObjectValue1,
ApplicationUser customFieldObjectValue2,
FieldConfig fieldConfig) |
protected Object |
MultiUserCFType.convertTypeToDbValue(ApplicationUser value) |
String |
UserCFType.getChangelogString(CustomField field,
ApplicationUser value) |
String |
UserCFType.getChangelogValue(CustomField field,
ApplicationUser value) |
protected Object |
UserCFType.getDbValueFromObject(ApplicationUser customFieldObject) |
String |
MultiUserCFType.getStringFromSingularObject(ApplicationUser o) |
String |
UserCFType.getStringFromSingularObject(ApplicationUser value) |
void |
UserCFType.updateValue(CustomField customField,
Issue issue,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
String |
MultiUserCFType.getChangelogString(CustomField field,
Collection<ApplicationUser> value) |
String |
MultiUserCFType.getChangelogValue(CustomField field,
Collection<ApplicationUser> values) |
void |
MultiUserCFType.updateValue(CustomField customField,
Issue issue,
Collection<ApplicationUser> value) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
OptionsService.SetOptionParams.user() |
Modifier and Type | Method and Description |
---|---|
OptionsService.SetOptionParams |
OptionsService.SetOptionParams.user(ApplicationUser user)
The user performing the operation.
|
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
UserCustomFieldSearchRenderer.transformUserInput(Collection<String> values) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
UserPickerGroupCustomFieldRenderer.addUserGroupSuggestionParams(FieldValuesHolder fieldValuesHolder,
ApplicationUser user,
SearchContext searchContext,
List<String> selectedUsers) |
String |
MultiSelectCustomFieldSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
CustomFieldRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
UserCustomFieldSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
GroupCustomFieldSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
protected List<Map<String,String>> |
UserPickerGroupCustomFieldRenderer.getSelectedListOptions(ApplicationUser searcher)
Returns a list of select box options
|
protected Map<String,Object> |
DateCustomFieldSearchRenderer.getVelocityParams(ApplicationUser user,
SearchContext searchContext,
FieldLayoutItem fieldLayoutItem,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
protected Map<String,Object> |
UserPickerGroupCustomFieldRenderer.getVelocityParams(ApplicationUser searcher,
SearchContext searchContext,
FieldLayoutItem fieldLayoutItem,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
String |
MultiSelectCustomFieldSearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
CustomFieldRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
GroupCustomFieldSearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
boolean |
CustomFieldRenderer.isRelevantForQuery(ApplicationUser user,
Query query) |
boolean |
VersionPickerCustomFieldRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
UserPickerGroupCustomFieldRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
CustomFieldRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
DateCustomFieldSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
CascadingSelectCustomFieldSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
MultiGroupCustomFieldSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
MultiSelectCustomFieldSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
SelectCustomFieldSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
ProjectCustomFieldSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
NumberRangeCustomFieldSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
ExactTextCustomFieldSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
FreeTextCustomFieldSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
UserPickerCustomFieldSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
ExactNumberCustomFieldSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
protected Clause |
CascadingSelectCustomFieldSearchInputTransformer.getClauseFromParams(ApplicationUser user,
CustomFieldParams customFieldParams) |
protected Clause |
MultiGroupCustomFieldSearchInputTransformer.getClauseFromParams(ApplicationUser user,
CustomFieldParams params) |
protected Clause |
MultiSelectCustomFieldSearchInputTransformer.getClauseFromParams(ApplicationUser user,
CustomFieldParams params) |
protected Clause |
NumberRangeCustomFieldSearchInputTransformer.getClauseFromParams(ApplicationUser user,
CustomFieldParams customFieldParams) |
protected abstract Clause |
AbstractCustomFieldSearchInputTransformer.getClauseFromParams(ApplicationUser user,
CustomFieldParams customFieldParams)
Note: only provide a sensible implementation of this if you intend on using
AbstractCustomFieldSearchInputTransformer.getSearchClause(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.issue.transport.FieldValuesHolder)
as implemented here. |
protected Clause |
AbstractSingleValueCustomFieldSearchInputTransformer.getClauseFromParams(ApplicationUser user,
CustomFieldParams customFieldParams) |
protected String |
VersionPickerCustomFieldSearchInputTransformer.getClauseName(ApplicationUser user,
ClauseNames clauseNames) |
protected String |
AbstractCustomFieldSearchInputTransformer.getClauseName(ApplicationUser user,
ClauseNames clauseNames) |
protected CustomFieldParams |
CascadingSelectCustomFieldSearchInputTransformer.getParamsFromSearchRequest(ApplicationUser user,
Query query,
SearchContext searchContext) |
protected CustomFieldParams |
MultiGroupCustomFieldSearchInputTransformer.getParamsFromSearchRequest(ApplicationUser user,
Query query,
SearchContext searchContext) |
protected CustomFieldParams |
MultiSelectCustomFieldSearchInputTransformer.getParamsFromSearchRequest(ApplicationUser user,
Query query,
SearchContext searchContext) |
protected CustomFieldParams |
SelectCustomFieldSearchInputTransformer.getParamsFromSearchRequest(ApplicationUser user,
Query query,
SearchContext searchContext) |
protected CustomFieldParams |
ProjectCustomFieldSearchInputTransformer.getParamsFromSearchRequest(ApplicationUser user,
Query query,
SearchContext searchContext) |
protected CustomFieldParams |
NumberRangeCustomFieldSearchInputTransformer.getParamsFromSearchRequest(ApplicationUser user,
Query query,
SearchContext searchContext) |
protected CustomFieldParams |
UserPickerCustomFieldSearchInputTransformer.getParamsFromSearchRequest(ApplicationUser user,
Query query,
SearchContext searchContext) |
protected abstract CustomFieldParams |
AbstractCustomFieldSearchInputTransformer.getParamsFromSearchRequest(ApplicationUser user,
Query query,
SearchContext searchContext)
Gets CustomField search parameters from the given JQL Query.
|
protected CustomFieldParams |
AbstractSingleValueCustomFieldSearchInputTransformer.getParamsFromSearchRequest(ApplicationUser user,
Query query,
SearchContext searchContext) |
Clause |
AbstractCustomFieldSearchInputTransformer.getSearchClause(ApplicationUser user,
FieldValuesHolder fieldValuesHolder) |
String |
CustomFieldInputHelper.getUniqueClauseName(ApplicationUser user,
String primaryName,
String fieldName)
Given the primary clause name and the field name, returns the "unique" clause name that should be used when
constructing terminal clauses for this clause name.
|
String |
DefaultCustomFieldInputHelper.getUniqueClauseName(ApplicationUser user,
String primaryName,
String fieldName) |
void |
AbstractCustomFieldSearchInputTransformer.populateFromParams(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
ActionParams actionParams) |
void |
AbstractCustomFieldSearchInputTransformer.populateFromQuery(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
Query query,
SearchContext searchContext) |
void |
MultiGroupCustomFieldSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
MultiSelectCustomFieldSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
NumberRangeCustomFieldSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
FreeTextCustomFieldSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
UserPickerCustomFieldSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
AbstractCustomFieldSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ArchivedUserSystemField.getDefaultValue(Issue issue) |
ApplicationUser |
ReporterSystemField.getDefaultValue(Issue issue) |
ApplicationUser |
AssigneeSystemField.getDefaultValue(Issue issue) |
ApplicationUser |
ArchivedUserSystemField.getValueFromParams(Map params) |
ApplicationUser |
ReporterSystemField.getValueFromParams(Map params) |
ApplicationUser |
AssigneeSystemField.getValueFromParams(Map params) |
Modifier and Type | Method and Description |
---|---|
void |
ArchivedUserSystemField.createValue(Issue issue,
ApplicationUser value) |
void |
ReporterSystemField.createValue(Issue issue,
ApplicationUser value) |
void |
AssigneeSystemField.createValue(Issue issue,
ApplicationUser value) |
Set<CustomField> |
MockFieldManager.getAvailableCustomFields(ApplicationUser remoteUser,
Issue issue) |
Set<CustomField> |
DefaultFieldManager.getAvailableCustomFields(ApplicationUser remoteUser,
Issue issue) |
Set<CustomField> |
FieldManager.getAvailableCustomFields(ApplicationUser remoteUser,
Issue issue)
Retrieves custom fields in scope for the given issue
|
Set<NavigableField> |
MockFieldManager.getAvailableNavigableFields(ApplicationUser remoteUser) |
Set<NavigableField> |
DefaultFieldManager.getAvailableNavigableFields(ApplicationUser remoteUser)
Returns a set of
Field s that are NOT hidden in AT LEAST ONE project that the remote user can see (has
Permissions.BROWSE permission for). |
Set<NavigableField> |
FieldManager.getAvailableNavigableFields(ApplicationUser remoteUser) |
Set<NavigableField> |
MockFieldManager.getAvailableNavigableFieldsWithScope(ApplicationUser user) |
Set<NavigableField> |
DefaultFieldManager.getAvailableNavigableFieldsWithScope(ApplicationUser user) |
Set<NavigableField> |
FieldManager.getAvailableNavigableFieldsWithScope(ApplicationUser user)
Gets all the available fields that the user can see, this is providing no context scope.
|
Set<NavigableField> |
MockFieldManager.getAvailableNavigableFieldsWithScope(ApplicationUser user,
QueryContext queryContext) |
Set<NavigableField> |
DefaultFieldManager.getAvailableNavigableFieldsWithScope(ApplicationUser remoteUser,
QueryContext queryContext) |
Set<NavigableField> |
FieldManager.getAvailableNavigableFieldsWithScope(ApplicationUser user,
QueryContext queryContext)
Gets all the available fields within the defined scope of the QueryContext.
|
protected com.atlassian.crowd.embedded.api.User |
AbstractUserFieldImpl.getDirectoryUser(ApplicationUser user) |
String |
ArchivedUserSystemField.getViewHtml(FieldLayoutItem fieldLayoutItem,
webwork.action.Action action,
Issue issue,
ApplicationUser value,
Map displayParameters) |
String |
ReporterSystemField.getViewHtml(FieldLayoutItem fieldLayoutItem,
webwork.action.Action action,
Issue issue,
ApplicationUser value,
Map displayParameters) |
String |
AssigneeSystemField.getViewHtml(FieldLayoutItem fieldLayoutItem,
webwork.action.Action action,
Issue issue,
ApplicationUser value,
Map displayParameters) |
Set<FieldLayout> |
MockFieldManager.getVisibleFieldLayouts(ApplicationUser user) |
Set<FieldLayout> |
DefaultFieldManager.getVisibleFieldLayouts(ApplicationUser user) |
Set<FieldLayout> |
FieldManager.getVisibleFieldLayouts(ApplicationUser user)
Returns all the visible FieldLayouts for the given user.
|
boolean |
MockFieldManager.isFieldHidden(ApplicationUser remoteUser,
Field field) |
boolean |
DefaultFieldManager.isFieldHidden(ApplicationUser remoteUser,
Field field) |
boolean |
FieldManager.isFieldHidden(ApplicationUser remoteUser,
Field field) |
boolean |
MockFieldManager.isFieldHidden(ApplicationUser remoteUser,
String fieldId) |
boolean |
DefaultFieldManager.isFieldHidden(ApplicationUser remoteUser,
String fieldId) |
boolean |
FieldManager.isFieldHidden(ApplicationUser remoteUser,
String fieldId)
Determines whether the field with id of fieldId is NOT hidden in AT LEAST one
FieldLayout that the user can see
(assigned to projects for which the user has the ProjectPermissions.BROWSE_PROJECTS permission). |
AssigneeOptions |
Assignees.makeAssigneeOptions(Collection<Issue> issues,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor,
List<ApplicationUser> suggestedUsers,
ApplicationUser currentAssignee,
boolean assignAutomaticIfUnassigned)
Basically public so that we don't need to replicate the business logic
that governs the creation of the default special unassigned and automatic
assignees, nor the optgroup they get packaged in with.
|
Modifier and Type | Method and Description |
---|---|
AssigneeOptions |
Assignees.makeAssigneeOptions(Collection<Issue> issues,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor,
List<ApplicationUser> suggestedUsers,
ApplicationUser currentAssignee,
boolean assignAutomaticIfUnassigned)
Basically public so that we don't need to replicate the business logic
that governs the creation of the default special unassigned and automatic
assignees, nor the optgroup they get packaged in with.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.assignProject(ApplicationUser user,
FieldConfigScheme priorityFieldConfig,
Project project)
Associates a project with a priority scheme.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.assignProject(ApplicationUser user,
FieldConfigScheme priorityFieldConfig,
Project project) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.assignProject(ApplicationUser user,
Long schemeId,
io.atlassian.fugue.Either<Long,String> projectKeyOrId,
boolean failIfMigrationNeeded)
Associates a project with a priority scheme.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.assignProject(ApplicationUser user,
Long schemeId,
io.atlassian.fugue.Either<Long,String> projectKeyOrId,
boolean blockMigration) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.assignProjects(ApplicationUser user,
FieldConfigScheme priorityFieldConfig,
Collection<Project> projects)
Associates projects with a priority scheme.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.assignProjects(ApplicationUser user,
FieldConfigScheme priorityFieldConfig,
Collection<Project> projects) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.createScheme(ApplicationUser user,
PrioritySchemeService.PrioritySchemeData prioritySchemeData)
Creates the scheme wih given data.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.createScheme(ApplicationUser user,
PrioritySchemeService.PrioritySchemeData prioritySchemeData) |
ServiceResult |
PrioritySchemeService.deleteScheme(ApplicationUser user,
FieldConfigScheme priorityFieldConfig)
Deletes the scheme and associates it's project with the default priority scheme.
|
ServiceResult |
DefaultPrioritySchemeService.deleteScheme(ApplicationUser user,
FieldConfigScheme priorityFieldConfig) |
ServiceResult |
PrioritySchemeService.deleteScheme(ApplicationUser user,
Long id)
Deletes the scheme and associates it's project with the default priority scheme.
|
ServiceResult |
DefaultPrioritySchemeService.deleteScheme(ApplicationUser user,
Long id) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.editScheme(ApplicationUser user,
FieldConfigScheme priorityFieldConfig,
List<String> optionIds,
String defaultOption)
Updates the scheme wih given data.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.editScheme(ApplicationUser user,
FieldConfigScheme priorityFieldConfig,
List<String> optionIds,
String defaultOption) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.editScheme(ApplicationUser user,
PrioritySchemeService.PrioritySchemeData data,
boolean failIfMigrationNeeded)
Updates the scheme wih given data.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.editScheme(ApplicationUser user,
PrioritySchemeService.PrioritySchemeData data,
boolean failIfMigrationNeeded) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.getScheme(ApplicationUser user,
Long id)
Gets the scheme wih given id.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.getScheme(ApplicationUser user,
Long id) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.getSchemeForProject(ApplicationUser user,
io.atlassian.fugue.Either<Long,String> projectKeyOrId)
Gets the scheme for given project key.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.getSchemeForProject(ApplicationUser user,
io.atlassian.fugue.Either<Long,String> projectKeyOrId) |
ServiceOutcome<Collection<FieldConfigScheme>> |
PrioritySchemeService.getSchemes(ApplicationUser user)
Gets all priority schemes.
|
ServiceOutcome<Collection<FieldConfigScheme>> |
DefaultPrioritySchemeService.getSchemes(ApplicationUser user) |
ServiceResult |
PrioritySchemeService.schemeDataValidate(ApplicationUser user,
PrioritySchemeService.PrioritySchemeData prioritySchemeData)
Validates if passed
PrioritySchemeService.PrioritySchemeData can be used to create/edit priority scheme. |
ServiceResult |
DefaultPrioritySchemeService.schemeDataValidate(ApplicationUser user,
PrioritySchemeService.PrioritySchemeData prioritySchemeData) |
ServiceOutcome<FieldConfigScheme> |
PrioritySchemeService.unassignProject(ApplicationUser user,
Long schemeId,
io.atlassian.fugue.Either<Long,String> projectKeyOrId)
Deassociates a project from a priority scheme.
|
ServiceOutcome<FieldConfigScheme> |
DefaultPrioritySchemeService.unassignProject(ApplicationUser user,
Long schemeId,
io.atlassian.fugue.Either<Long,String> projectKeyOrId) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
EditableUserColumnLayoutImpl.getUser() |
ApplicationUser |
UserColumnLayoutImpl.getUser() |
ApplicationUser |
UserColumnLayout.getUser() |
Modifier and Type | Method and Description |
---|---|
List<ColumnLayoutItem> |
ColumnLayoutImpl.getAllVisibleColumnLayoutItems(ApplicationUser user) |
List<ColumnLayoutItem> |
ColumnLayout.getAllVisibleColumnLayoutItems(ApplicationUser user)
Get the
ColumnLayoutItems that can be displayed to the user. |
ColumnLayout |
DefaultColumnLayoutManager.getColumnLayout(ApplicationUser remoteUser) |
ColumnLayout |
ColumnLayoutManager.getColumnLayout(ApplicationUser user)
Get the columns layout for a user, if the user does not have one the default is returned
|
ColumnLayout |
DefaultColumnLayoutManager.getColumnLayout(ApplicationUser remoteUser,
SearchRequest searchRequest) |
ColumnLayout |
ColumnLayoutManager.getColumnLayout(ApplicationUser remoteUser,
SearchRequest searchRequest)
Get the columns layout for a searchRequest, if the searchRequest does not have one the user's columns are
returned.
|
ColumnLayout |
DefaultColumnLayoutManager.getDefaultColumnLayout(ApplicationUser remoteUser) |
ColumnLayout |
ColumnLayoutManager.getDefaultColumnLayout(ApplicationUser remoteUser)
Get the default Layout, and filter out the columns which a user cannot see
|
EditableSearchRequestColumnLayout |
DefaultColumnLayoutManager.getEditableSearchRequestColumnLayout(ApplicationUser user,
SearchRequest searchRequest) |
EditableSearchRequestColumnLayout |
ColumnLayoutManager.getEditableSearchRequestColumnLayout(ApplicationUser user,
SearchRequest searchRequest)
Get an editable column layout for the searchRequest, returns null if it does not have one
|
EditableUserColumnLayout |
DefaultColumnLayoutManager.getEditableUserColumnLayout(ApplicationUser user) |
EditableUserColumnLayout |
ColumnLayoutManager.getEditableUserColumnLayout(ApplicationUser user)
Get an editable column layout for the user, returns null if they do not have one
|
List<ColumnLayoutItem> |
ColumnLayoutImpl.getVisibleColumnLayoutItems(ApplicationUser user,
QueryContext queryContext) |
List<ColumnLayoutItem> |
ColumnLayout.getVisibleColumnLayoutItems(ApplicationUser user,
QueryContext queryContext)
Deprecated.
Current implementation of this method is not very good performance wise. Use
ColumnLayout.getColumnLayoutItems() instead. Since 6.3.3 |
boolean |
DefaultColumnLayoutManager.hasColumnLayout(ApplicationUser user) |
boolean |
ColumnLayoutManager.hasColumnLayout(ApplicationUser user)
Tells whether the given user has a column layout.
|
boolean |
ColumnLayoutItemImpl.isAliasForField(ApplicationUser user,
String jqlName) |
boolean |
ColumnLayoutItem.isAliasForField(ApplicationUser user,
String sortField) |
void |
DefaultColumnLayoutManager.restoreUserColumnLayout(ApplicationUser user) |
void |
ColumnLayoutManager.restoreUserColumnLayout(ApplicationUser user) |
Constructor and Description |
---|
EditableSearchRequestColumnLayoutImpl(List<ColumnLayoutItem> columnLayoutItems,
ApplicationUser user,
SearchRequest searchRequest) |
EditableSearchRequestColumnLayoutImpl(List<ColumnLayoutItem> columnLayoutItems,
ApplicationUser user,
SearchRequest searchRequest,
ColumnLayout.ColumnConfig columnConfig) |
EditableUserColumnLayoutImpl(List<ColumnLayoutItem> columnLayoutItems,
ApplicationUser user) |
EditableUserColumnLayoutImpl(List<ColumnLayoutItem> columnLayoutItems,
ApplicationUser user,
ColumnLayout.ColumnConfig columnConfig) |
UserColumnLayoutImpl(List<ColumnLayoutItem> columnLayoutItems,
ApplicationUser user) |
UserColumnLayoutImpl(List<ColumnLayoutItem> columnLayoutItems,
ApplicationUser user,
ColumnLayout.ColumnConfig columnConfig) |
Modifier and Type | Method and Description |
---|---|
List<FieldLayoutItem> |
MockFieldLayout.getVisibleLayoutItems(ApplicationUser remoteUser,
Project project,
List<String> issueTypes) |
List<FieldLayoutItem> |
FieldLayoutImpl.getVisibleLayoutItems(ApplicationUser remoteUser,
Project project,
List<String> issueTypes) |
List<FieldLayoutItem> |
FieldLayout.getVisibleLayoutItems(ApplicationUser remoteUser,
Project project,
List<String> issueTypes)
Deprecated.
Use
FieldLayout.getVisibleLayoutItems(com.atlassian.jira.project.Project, java.util.List) instead. Since v6.2. |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
UserOption.getUser() |
Constructor and Description |
---|
UserOption(ApplicationUser user) |
UserOption(ApplicationUser user,
String alternateName) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
JiraUserProfileLink.getUser() |
Modifier and Type | Method and Description |
---|---|
List<FieldHtmlBean> |
FieldHtmlFactoryImpl.getCreateFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
MutableIssue newIssueObject,
boolean retainValues,
List<String> fieldsToRetain) |
List<FieldHtmlBean> |
FieldHtmlFactory.getCreateFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
MutableIssue newIssueObject,
boolean retainValues,
List<String> fieldsToRetain)
Returns a list of fields on the create screen as specified by the newIssueObject skeleton (it contains the
project and issue type context) including the project and issue type fields.
|
List<FieldHtmlBean> |
FieldHtmlFactoryImpl.getEditFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
Issue issue,
boolean retainValues) |
List<FieldHtmlBean> |
FieldHtmlFactory.getEditFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
Issue issue,
boolean retainValues)
Returns all the edit fields required for the specified issue object.
|
List<FieldHtmlBean> |
FieldHtmlFactoryImpl.getInlineEditFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
Issue issue,
boolean retainValues) |
List<FieldHtmlBean> |
FieldHtmlFactory.getInlineEditFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
Issue issue,
boolean retainValues)
Returns all edit fields applicable for inline editing.
|
List<FieldHtmlBean> |
FieldHtmlFactoryImpl.getLinkedIssueCreateFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
MutableIssue newIssueObject,
Issue sourceIssue,
boolean retainValues,
List<String> fieldsToRetain) |
List<FieldHtmlBean> |
FieldHtmlFactory.getLinkedIssueCreateFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
MutableIssue newIssueObject,
Issue sourceIssue,
boolean retainValues,
List<String> fieldsToRetain)
Returns a list of fields on the create screen as specified by the newIssueObject skeleton (it contains the
project and issue type context) including the project, issue type and issue links fields.
|
List<FieldHtmlBean> |
FieldHtmlFactoryImpl.getSubTaskCreateFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
MutableIssue newIssueObject,
boolean retainValues,
List<String> fieldsToRetain) |
List<FieldHtmlBean> |
FieldHtmlFactory.getSubTaskCreateFields(ApplicationUser user,
OperationContext operationContext,
webwork.action.Action action,
MutableIssue newIssueObject,
boolean retainValues,
List<String> fieldsToRetain)
This essentially returns the same as the
#getCreateFields(com.atlassian.crowd.embedded.api.User,
com.atlassian.jira.issue.customfields.OperationContext, webwork.action.Action,
com.atlassian.jira.issue.MutableIssue, boolean, java.util.List) method but it strips out certain fields such as
the project selector. |
Modifier and Type | Method and Description |
---|---|
UserJsonBean |
DefaultUserBeanFactory.createBean(ApplicationUser createdUser)
|
UserJsonBean |
UserBeanFactory.createBean(ApplicationUser createdUser)
|
UserJsonBean |
DefaultUserBeanFactory.createBean(ApplicationUser createdUser,
ApplicationUser loggedInUser) |
UserJsonBean |
UserBeanFactory.createBean(ApplicationUser createdUser,
ApplicationUser loggedInUser)
Generate a bean suitable for serialisation by Jackon into JSON for given user in the context of loggedInUser.
|
UserJsonBean |
DefaultUserBeanFactory.createBean(ApplicationUser createdUser,
ApplicationUser loggedInUser,
JiraBaseUrls jiraBaseUrls,
EmailFormatter emailFormatter,
TimeZoneManager timeZoneManager) |
UserJsonBean |
UserBeanFactory.createBean(ApplicationUser createdUser,
ApplicationUser loggedInUser,
JiraBaseUrls jiraBaseUrls,
EmailFormatter emailFormatter,
TimeZoneManager timeZoneManager)
Generate a bean suitable for serialisation by Jackon into JSON for given user in the context of loggedInUser.
|
CommentJsonBean |
CommentBeanFactory.createBean(Comment comment,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter)
Generate a bean suitable for serialisation by Jackon into JSON.
|
CommentJsonBean |
DefaultCommentBeanFactory.createBean(Comment comment,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter) |
WorklogJsonBean |
WorklogBeanFactory.createBean(Worklog worklog,
ApplicationUser loggedInUser)
Generate a bean suitable for serialisation by Jackson into JSON.
|
WorklogJsonBean |
DefaultWorklogBeanFactory.createBean(Worklog worklog,
ApplicationUser loggedInUser) |
Collection<UserJsonBean> |
DefaultUserBeanFactory.createBeanCollection(Collection<ApplicationUser> createdUsers,
ApplicationUser loggedInUser) |
Collection<UserJsonBean> |
UserBeanFactory.createBeanCollection(Collection<ApplicationUser> createdUsers,
ApplicationUser loggedInUser)
Generate a bean suitable for serialisation by Jackon into JSON for given user in the context of loggedInUser.
|
Collection<UserJsonBean> |
DefaultUserBeanFactory.createBeanCollection(Collection<ApplicationUser> createdUsers,
ApplicationUser loggedInUser,
JiraBaseUrls jiraBaseUrls,
EmailFormatter emailFormatter,
TimeZoneManager timeZoneManager) |
Collection<UserJsonBean> |
UserBeanFactory.createBeanCollection(Collection<ApplicationUser> createdUsers,
ApplicationUser loggedInUser,
JiraBaseUrls jiraBaseUrls,
EmailFormatter emailFormatter,
TimeZoneManager timeZoneManager)
Generate a bean suitable for serialisation by Jackon into JSON for given user in the context of loggedInUser.
|
Iterable<WorklogJsonBean> |
WorklogBeanFactory.createBeans(Iterable<Worklog> worklogs,
ApplicationUser loggedInUser)
Generate beans suitable for serialisation by Jackson into JSON.
|
Iterable<WorklogJsonBean> |
DefaultWorklogBeanFactory.createBeans(Iterable<Worklog> worklogs,
ApplicationUser loggedInUser) |
CommentJsonBean |
CommentBeanFactory.createRenderedBean(Comment comment,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter)
Generate a bean suitable for serialisation by Jackon into JSON.
|
CommentJsonBean |
DefaultCommentBeanFactory.createRenderedBean(Comment comment,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter) |
protected UserJsonBean |
DefaultWorklogBeanFactory.getUserBean(String userKey,
ApplicationUser loggedInUser) |
Modifier and Type | Method and Description |
---|---|
Collection<UserJsonBean> |
DefaultUserBeanFactory.createBeanCollection(Collection<ApplicationUser> createdUsers,
ApplicationUser loggedInUser) |
Collection<UserJsonBean> |
UserBeanFactory.createBeanCollection(Collection<ApplicationUser> createdUsers,
ApplicationUser loggedInUser)
Generate a bean suitable for serialisation by Jackon into JSON for given user in the context of loggedInUser.
|
Collection<UserJsonBean> |
DefaultUserBeanFactory.createBeanCollection(Collection<ApplicationUser> createdUsers,
ApplicationUser loggedInUser,
JiraBaseUrls jiraBaseUrls,
EmailFormatter emailFormatter,
TimeZoneManager timeZoneManager) |
Collection<UserJsonBean> |
UserBeanFactory.createBeanCollection(Collection<ApplicationUser> createdUsers,
ApplicationUser loggedInUser,
JiraBaseUrls jiraBaseUrls,
EmailFormatter emailFormatter,
TimeZoneManager timeZoneManager)
Generate a bean suitable for serialisation by Jackon into JSON for given user in the context of loggedInUser.
|
Modifier and Type | Method and Description |
---|---|
protected CommentJsonBean |
StreamingCommentsJsonBeanSerializer.getRenderedCommentJsonBean(StreamingCommentsJsonBean serializableCommentsBean,
Comment comment,
ApplicationUser loggedInUser) |
protected CommentJsonBean |
StreamingCommentsJsonBeanSerializer.getShortCommentJsonBean(Comment comment,
ApplicationUser loggedInUser) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultProjectFieldScreenHelper.canUserEditScreen(ApplicationUser user,
FieldScreen screen) |
boolean |
ProjectFieldScreenHelper.canUserEditScreen(ApplicationUser user,
FieldScreen screen)
Determines whether given user can edit given screen without any context being given
|
boolean |
DefaultProjectFieldScreenHelper.canUserViewFieldScreenForProject(ApplicationUser user,
FieldScreen fieldScreen,
Project project) |
boolean |
ProjectFieldScreenHelper.canUserViewFieldScreenForProject(ApplicationUser user,
FieldScreen fieldScreen,
Project project)
Whether the provided user can view the field screen for the project.
|
FieldScreenRenderer |
FieldScreenRendererFactoryImpl.getFieldScreenRenderer(ApplicationUser remoteUser,
Issue issue,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
FieldScreenRenderer |
FieldScreenRendererFactory.getFieldScreenRenderer(ApplicationUser remoteUser,
Issue issue,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Deprecated.
|
FieldScreenRenderer |
FieldScreenRendererFactoryImpl.getFieldScreenRenderer(ApplicationUser remoteUser,
Issue issue,
IssueOperation issueOperation,
boolean onlyShownCustomFields) |
FieldScreenRenderer |
FieldScreenRendererFactory.getFieldScreenRenderer(ApplicationUser remoteUser,
Issue issue,
IssueOperation issueOperation,
boolean onlyShownCustomFields)
Deprecated.
Use
FieldScreenRendererFactory.getFieldScreenRenderer(com.atlassian.jira.issue.Issue, com.atlassian.jira.issue.operation.IssueOperation) instead. Use FieldPredicates.isCustomField() in the version that takes a predicate if you only want custom fields. Since v6.2. |
FieldScreenRenderer |
FieldScreenRendererFactoryImpl.getFieldScreenRenderer(ApplicationUser remoteUser,
Issue issue,
IssueOperation issueOperation,
Predicate<? super Field> predicate) |
FieldScreenRenderer |
FieldScreenRendererFactory.getFieldScreenRenderer(ApplicationUser remoteUser,
Issue issue,
IssueOperation issueOperation,
Predicate<? super Field> predicate)
|
FieldScreenRenderer |
FieldScreenRendererFactoryImpl.getFieldScreenRenderer(List<String> fieldIds,
ApplicationUser remoteUser,
Issue issue,
IssueOperation issueOperation) |
FieldScreenRenderer |
FieldScreenRendererFactory.getFieldScreenRenderer(List<String> fieldIds,
ApplicationUser remoteUser,
Issue issue,
IssueOperation issueOperation)
Returns a
FieldScreenRenderer that represents a 'field screen' with the fields the ids of which
are in fieldIds. |
ProjectFieldScreenHelper.FieldsScreenPermission |
DefaultProjectFieldScreenHelper.getUserEditScreenPermission(ApplicationUser user,
FieldScreen screen) |
ProjectFieldScreenHelper.FieldsScreenPermission |
ProjectFieldScreenHelper.getUserEditScreenPermission(ApplicationUser user,
FieldScreen screen)
Determines whether given user can edit given screen
|
Modifier and Type | Method and Description |
---|---|
void |
VersionHelperBean.validateVersionsToCreate(ApplicationUser user,
I18nHelper i18n,
Project project,
String fieldId,
Set<String> newVersionNames,
ErrorCollection errorCollection) |
Modifier and Type | Method and Description |
---|---|
static org.ofbiz.core.entity.GenericValue |
ChangeLogUtils.createChangeGroup(ApplicationUser changeAuthor,
org.ofbiz.core.entity.GenericValue before,
org.ofbiz.core.entity.GenericValue after,
Collection<ChangeItemBean> incomingChangeItems,
boolean generateChangeItems)
Writes the given field changes to the db and optionally a changelog.
|
static org.ofbiz.core.entity.GenericValue |
ChangeLogUtils.createChangeGroup(ApplicationUser changeAuthor,
Issue before,
Issue after,
Collection<ChangeItemBean> incomingChangeItems,
boolean generateChangeItems)
|
Modifier and Type | Method and Description |
---|---|
Label |
DefaultLabelManager.addLabel(ApplicationUser remoteUser,
Long issueId,
Long customFieldId,
String label,
boolean sendNotification) |
Label |
LabelManager.addLabel(ApplicationUser remoteUser,
Long issueId,
Long customFieldId,
String label,
boolean sendNotification)
Adds a label to the issue and customFieldId provided.
|
Label |
DefaultLabelManager.addLabel(ApplicationUser remoteUser,
Long issueId,
String label,
boolean sendNotification) |
Label |
LabelManager.addLabel(ApplicationUser remoteUser,
Long issueId,
String label,
boolean sendNotification)
Adds a label to the issue provided.
|
AlphabeticalLabelGroupingSupport |
AlphabeticalLabelGroupingServiceImpl.getAlphabeticallyGroupedLabels(ApplicationUser user,
Long projectId,
String fieldId) |
AlphabeticalLabelGroupingSupport |
AlphabeticalLabelGroupingService.getAlphabeticallyGroupedLabels(ApplicationUser user,
Long projectId,
String fieldId)
Retrieve a collection of a project's labels grouped into alphabetical blocks
|
String |
DefaultAlphabeticalLabelRenderer.getHtml(ApplicationUser remoteUser,
Long projectId,
String fieldId,
boolean isOtherFieldsExist) |
String |
AlphabeticalLabelRenderer.getHtml(ApplicationUser remoteUser,
Long projectId,
String fieldId,
boolean isOtherFieldsExist)
Provides the rendered HTML for all labels in a project & a particular field (System or custom field)
|
String |
DefaultLabelUtil.getLabelJql(ApplicationUser user,
Long customFieldId,
String label) |
String |
LabelUtil.getLabelJql(ApplicationUser user,
Long customFieldId,
String label)
Deprecated.
Since 7.1 beucase it generate old fashioned URLs. Use
LabelUtil.getLabelSearchPath(ApplicationUser, Long, String) instead. |
String |
DefaultLabelUtil.getLabelJql(ApplicationUser user,
String label) |
String |
LabelUtil.getLabelJql(ApplicationUser user,
String label)
Deprecated.
Since 7.1 beucase it generate old fashioned URLs. Use
LabelUtil.getLabelSearchPath(ApplicationUser, String) instead. |
String |
DefaultLabelUtil.getLabelJqlForProject(ApplicationUser user,
Long projectId,
Long customFieldId,
String label) |
String |
LabelUtil.getLabelJqlForProject(ApplicationUser user,
Long projectId,
Long customFieldId,
String label)
Deprecated.
Since 7.1 beucase it generate old fashioned URLs. Use
LabelUtil.getLabelSearchPathForProject(ApplicationUser, Long, Long, String) instead. |
String |
DefaultLabelUtil.getLabelJqlForProject(ApplicationUser user,
Long projectId,
String label) |
String |
LabelUtil.getLabelJqlForProject(ApplicationUser user,
Long projectId,
String label)
Deprecated.
Since 7.1 beucase it generate old fashioned URLs. Use
LabelUtil.getLabelSearchPathForProject(ApplicationUser, Long, String) instead. |
String |
DefaultLabelUtil.getLabelSearchPath(ApplicationUser user,
Long customFieldId,
String label) |
String |
LabelUtil.getLabelSearchPath(ApplicationUser user,
Long customFieldId,
String label)
Given a label and custom field Id, this utility returns the URL to search for this label in the custom field
provided
|
String |
DefaultLabelUtil.getLabelSearchPath(ApplicationUser user,
String label) |
String |
LabelUtil.getLabelSearchPath(ApplicationUser user,
String label)
Given a label this utility returns the URL to search for this label in the system labels field
|
String |
DefaultLabelUtil.getLabelSearchPathForProject(ApplicationUser user,
Long projectId,
Long customFieldId,
String label) |
String |
LabelUtil.getLabelSearchPathForProject(ApplicationUser user,
Long projectId,
Long customFieldId,
String label)
Given a label, project id and custom field id, this utility returns the URL to search for this label in the
label custom field, limited by the project provided
|
String |
DefaultLabelUtil.getLabelSearchPathForProject(ApplicationUser user,
Long projectId,
String label) |
String |
LabelUtil.getLabelSearchPathForProject(ApplicationUser user,
Long projectId,
String label)
Given a label and project id, this utility returns the URL to search for this label in the label system
field, limited by the project provided
|
Set<String> |
DefaultLabelManager.getSuggestedLabels(ApplicationUser user,
Long issueId,
Long customFieldId,
String token) |
Set<String> |
LabelManager.getSuggestedLabels(ApplicationUser user,
Long issueId,
Long customFieldId,
String token)
Returns a set of label suggestions sorted alphabetically for the label custom field provided.
|
Set<String> |
DefaultLabelManager.getSuggestedLabels(ApplicationUser user,
Long issueId,
String token) |
Set<String> |
LabelManager.getSuggestedLabels(ApplicationUser user,
Long issueId,
String token)
Returns a set of label suggestions sorted alphabetically for the labels system field.
|
Set<Label> |
DefaultLabelManager.setLabels(ApplicationUser remoteUser,
Long issueId,
Long customFieldId,
Set<String> labels,
boolean sendNotification,
boolean causesChangeNotification) |
Set<Label> |
LabelManager.setLabels(ApplicationUser remoteUser,
Long issueId,
Long customFieldId,
Set<String> labels,
boolean sendNotification,
boolean causeChangeNotification)
Sets the labels for a particular issue and field combo to the set specified as a parameter.
|
Set<Label> |
DefaultLabelManager.setLabels(ApplicationUser remoteUser,
Long issueId,
Set<String> labels,
boolean sendNotification,
boolean causesChangeNotification) |
Set<Label> |
LabelManager.setLabels(ApplicationUser remoteUser,
Long issueId,
Set<String> labels,
boolean sendNotification,
boolean causeChangeNotification)
Sets the labels for a particular issue to the set specified as a parameter.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
PrefixSearchLabelsProvider.findByPrefixToken(String prefix,
String searchField,
String displayField,
ApplicationUser searchUser) |
Set<String> |
PopularLabelsProvider.findMostPopular(String searchField,
ApplicationUser user) |
Set<String> |
LabelSuggester.getSuggestedLabels(String token,
Long issueId,
Long customFieldId,
Set<Label> issueLabels,
ApplicationUser user) |
Set<String> |
LabelSuggester.getSuggestedLabels(String token,
Long issueId,
Set<Label> issueLabels,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultIssueLinkManager.changeIssueLinkType(IssueLink issueLink,
IssueLinkType swapLinkType,
ApplicationUser remoteUser) |
void |
IssueLinkManager.changeIssueLinkType(IssueLink issueLink,
IssueLinkType swapLinkType,
ApplicationUser remoteUser)
Changes the type of an issue link.
|
void |
DefaultIssueLinkManager.createIssueLink(Long sourceId,
Long destinationId,
Long issueLinkTypeId,
Long sequence,
ApplicationUser remoteUser) |
void |
IssueLinkManager.createIssueLink(Long sourceIssueId,
Long destinationIssueId,
Long issueLinkTypeId,
Long sequence,
ApplicationUser remoteUser)
Constructs a new issuelink from the sourceIssueId to the destinationId and persists it.
|
RemoteIssueLink |
DefaultRemoteIssueLinkManager.createRemoteIssueLink(RemoteIssueLink remoteIssueLink,
ApplicationUser user) |
RemoteIssueLink |
RemoteIssueLinkManager.createRemoteIssueLink(RemoteIssueLink remoteIssueLink,
ApplicationUser user)
Creates the given remote issue link.
|
LinkCollection |
DefaultIssueLinkManager.getLinkCollection(org.ofbiz.core.entity.GenericValue issue,
ApplicationUser remoteUser) |
LinkCollection |
IssueLinkManager.getLinkCollection(org.ofbiz.core.entity.GenericValue issue,
ApplicationUser remoteUser)
Deprecated.
|
LinkCollection |
DefaultIssueLinkManager.getLinkCollection(Issue issue,
ApplicationUser remoteUser) |
LinkCollection |
IssueLinkManager.getLinkCollection(Issue issue,
ApplicationUser remoteUser)
Constructs a
LinkCollection for a given issue. |
LinkCollection |
DefaultIssueLinkManager.getLinkCollection(Issue issue,
ApplicationUser remoteUser,
boolean excludeSystemLinks) |
LinkCollection |
IssueLinkManager.getLinkCollection(Issue issue,
ApplicationUser remoteUser,
boolean excludeSystemLinks) |
void |
DefaultIssueLinkManager.removeIssueLink(IssueLink issueLink,
ApplicationUser remoteUser) |
void |
IssueLinkManager.removeIssueLink(IssueLink issueLink,
ApplicationUser remoteUser)
Removes a single issue link
We do not check for permission here.
|
int |
DefaultIssueLinkManager.removeIssueLinks(org.ofbiz.core.entity.GenericValue issue,
ApplicationUser remoteUser) |
int |
IssueLinkManager.removeIssueLinks(org.ofbiz.core.entity.GenericValue issue,
ApplicationUser remoteUser)
Deprecated.
Use
#removeIssueLinks(com.atlassian.jira.issue.Issue, com.atlassian.crowd.embedded.api.User) instead. Since v5.0. |
int |
DefaultIssueLinkManager.removeIssueLinks(Issue issue,
ApplicationUser remoteUser) |
int |
IssueLinkManager.removeIssueLinks(Issue issue,
ApplicationUser remoteUser)
Removes ALL incoming and outgoing issuelinks from the issue supplied.
|
void |
IssueLinkTypeDestroyerImpl.removeIssueLinkType(Long issueLinkTypeId,
IssueLinkType swapLinkType,
ApplicationUser remoteUser) |
void |
IssueLinkTypeDestroyer.removeIssueLinkType(Long issueLinkTypeId,
IssueLinkType swapLinkType,
ApplicationUser remoteUser)
Removes an issueLinkType from the datastore.
|
void |
DefaultRemoteIssueLinkManager.removeRemoteIssueLink(Long remoteIssueLinkId,
ApplicationUser user) |
void |
RemoteIssueLinkManager.removeRemoteIssueLink(Long remoteIssueLinkId,
ApplicationUser user)
Deletes the given remote issue link id.
|
void |
DefaultRemoteIssueLinkManager.removeRemoteIssueLinkByGlobalId(Issue issue,
String globalId,
ApplicationUser user) |
void |
RemoteIssueLinkManager.removeRemoteIssueLinkByGlobalId(Issue issue,
String globalId,
ApplicationUser user)
Deletes any remote issue link that links with the given JIRA issue and has the given global id.
|
void |
DefaultRemoteIssueLinkManager.updateRemoteIssueLink(RemoteIssueLink remoteIssueLink,
ApplicationUser user) |
void |
RemoteIssueLinkManager.updateRemoteIssueLink(RemoteIssueLink remoteIssueLink,
ApplicationUser user)
Updates the given remote issue link.
|
Constructor and Description |
---|
IssueLinkDisplayHelper(UserHistoryManager userHistoryManager,
ApplicationUser user) |
LinkCollectionImpl(Long issueId,
Set<IssueLinkType> linkTypes,
Map<String,List<Issue>> outwardLinkMap,
Map<String,List<Issue>> inwardLinkMap,
ApplicationUser remoteUser,
ApplicationProperties applicationProperties)
Creates a new instance of this class.
|
LinkCollectionImpl(Long issueId,
Set<IssueLinkType> linkTypes,
Map<String,List<Issue>> outwardLinkMap,
Map<String,List<Issue>> inwardLinkMap,
ApplicationUser remoteUser,
boolean overrideSecurity,
ApplicationProperties applicationProperties)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
RequestCachingIssueManager.getWatchers(Issue issue) |
List<ApplicationUser> |
DefaultIssueManager.getWatchers(Issue issue) |
List<ApplicationUser> |
RequestCachingIssueManager.getWatchersFor(Issue issue) |
List<ApplicationUser> |
DefaultIssueManager.getWatchersFor(Issue issue) |
Modifier and Type | Method and Description |
---|---|
Issue |
RequestCachingIssueManager.archiveIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
Issue |
DefaultIssueArchiveHelper.archiveIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
Issue |
DefaultIssueManager.archiveIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
Issue |
IssueArchiveHelper.archiveIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail)
Archive issue in context of given user.
|
List<ChangeItemBean> |
DefaultAttachmentManager.convertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<Long> selectedAttachments,
TemporaryAttachmentsMonitor temporaryAttachmentsMonitor) |
io.atlassian.fugue.Either<AttachmentError,Attachment> |
DefaultAttachmentManager.copyAttachment(Attachment attachment,
ApplicationUser author,
String newIssueKey) |
Map<Long,io.atlassian.fugue.Either<AttachmentError,Attachment>> |
DefaultAttachmentManager.copyAttachments(Context context,
Issue issue,
ApplicationUser author,
String newIssueKey) |
Map<Long,io.atlassian.fugue.Either<AttachmentError,Attachment>> |
DefaultAttachmentManager.copyAttachments(Issue issue,
ApplicationUser author,
String newIssueKey) |
ChangeItemBean |
DefaultAttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue issue) |
ChangeItemBean |
DefaultAttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
org.ofbiz.core.entity.GenericValue issue,
Boolean zip,
Boolean thumbnailable,
Map<String,Object> attachmentProperties,
Date createdTime) |
ChangeItemBean |
DefaultAttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
org.ofbiz.core.entity.GenericValue issue,
Map<String,Object> attachmentProperties,
Date createdTime) |
ChangeItemBean |
DefaultAttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser remoteUser,
Issue issue) |
ChangeItemBean |
DefaultAttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser remoteUser,
Issue issue,
Boolean zip,
Boolean thumbnailable,
Map<String,Object> attachmentProperties,
Date createdTime) |
ChangeItemBean |
DefaultAttachmentManager.createAttachment(File file,
String filename,
String contentType,
ApplicationUser remoteUser,
Issue issue,
Map<String,Object> attachmentProperties,
Date createdTime) |
Attachment |
DefaultAttachmentManager.createAttachment(org.ofbiz.core.entity.GenericValue issue,
ApplicationUser author,
String mimetype,
String filename,
Long filesize,
Map<String,Object> attachmentProperties,
Date createdTime) |
org.ofbiz.core.entity.GenericValue |
RequestCachingIssueManager.createIssue(ApplicationUser remoteUser,
Issue issue)
Deprecated.
|
org.ofbiz.core.entity.GenericValue |
DefaultIssueManager.createIssue(ApplicationUser remoteUser,
Issue issue) |
org.ofbiz.core.entity.GenericValue |
RequestCachingIssueManager.createIssue(ApplicationUser remoteUser,
Map<String,Object> fields)
Deprecated.
|
org.ofbiz.core.entity.GenericValue |
DefaultIssueManager.createIssue(ApplicationUser remoteUser,
Map<String,Object> fields)
This function creates an issue in Jira.
|
Issue |
RequestCachingIssueManager.createIssueObject(ApplicationUser remoteUser,
Issue issue) |
Issue |
DefaultIssueManager.createIssueObject(ApplicationUser remoteUser,
Issue issue) |
Issue |
RequestCachingIssueManager.createIssueObject(ApplicationUser remoteUser,
Map<String,Object> fields) |
Issue |
DefaultIssueManager.createIssueObject(ApplicationUser remoteUser,
Map<String,Object> fields) |
void |
DefaultIssueDeleteHelper.deleteIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
void |
IssueDeleteHelper.deleteIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail)
Delete issue in context of given user.
|
void |
RequestCachingIssueManager.deleteIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
void |
DefaultIssueManager.deleteIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
void |
RequestCachingIssueManager.deleteIssue(ApplicationUser user,
MutableIssue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail)
Deprecated.
|
void |
DefaultIssueManager.deleteIssue(ApplicationUser user,
MutableIssue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
protected void |
DefaultIssueManager.doUpdate(ApplicationUser user,
MutableIssue issue,
org.ofbiz.core.entity.GenericValue originalIssueGV,
DefaultIssueChangeHolder issueChangeHolder,
UpdateIssueRequest updateRequest) |
List<Issue> |
RequestCachingIssueManager.getVotedIssues(ApplicationUser user) |
List<Issue> |
DefaultIssueManager.getVotedIssues(ApplicationUser user) |
List<Issue> |
RequestCachingIssueManager.getVotedIssuesOverrideSecurity(ApplicationUser user) |
List<Issue> |
DefaultIssueManager.getVotedIssuesOverrideSecurity(ApplicationUser user) |
List<Issue> |
RequestCachingIssueManager.getWatchedIssues(ApplicationUser user) |
List<Issue> |
DefaultIssueManager.getWatchedIssues(ApplicationUser user) |
List<Issue> |
RequestCachingIssueManager.getWatchedIssuesOverrideSecurity(ApplicationUser user) |
List<Issue> |
DefaultIssueManager.getWatchedIssuesOverrideSecurity(ApplicationUser user) |
boolean |
RequestCachingIssueManager.isEditable(Issue issue,
ApplicationUser user) |
boolean |
DefaultIssueManager.isEditable(Issue issue,
ApplicationUser user) |
protected void |
DefaultIssueDeleteHelper.removeSubTasks(ApplicationUser user,
Issue parentIssue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
Issue |
RequestCachingIssueManager.restoreIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
Issue |
DefaultIssueArchiveHelper.restoreIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
Issue |
DefaultIssueManager.restoreIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
Issue |
IssueArchiveHelper.restoreIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail)
Restore issue in context of given user.
|
AttachmentsBulkOperationResult<ChangeItemBean> |
DefaultAttachmentManager.tryConvertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<Long> selectedAttachments,
TemporaryAttachmentsMonitor temporaryAttachmentsMonitor) |
Issue |
RequestCachingIssueManager.updateIssue(ApplicationUser user,
MutableIssue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
Issue |
DefaultIssueManager.updateIssue(ApplicationUser user,
MutableIssue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
Issue |
RequestCachingIssueManager.updateIssue(ApplicationUser user,
MutableIssue issue,
UpdateIssueRequest updateIssueRequest) |
Issue |
DefaultIssueManager.updateIssue(ApplicationUser user,
MutableIssue issue,
UpdateIssueRequest updateIssueRequest) |
Modifier and Type | Method and Description |
---|---|
boolean |
BulkTransitionIssueOperation.canPerform(BulkEditBean bulkEditBean,
ApplicationUser applicationUser) |
void |
BulkTransitionIssueOperation.perform(BulkEditBean bulkEditBean,
ApplicationUser applicationUser,
Context taskContext) |
Modifier and Type | Method and Description |
---|---|
void |
NextPreviousPager.update(SearchRequest searchRequest,
ApplicationUser user,
String currentKey)
Deprecated.
As of JIRA 6.0, issue pager is no longer generated on the server side. This method will do nothing.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Long> |
PrioritySchemeMigrator.migrate(PrioritySchemeMapping mapping,
ApplicationUser user) |
ServiceOutcome<Long> |
PrioritySchemeMigrator.migrate(PrioritySchemeMapping mapping,
ApplicationUser user,
TaskProgressSink progressSink) |
ServiceOutcome<Long> |
PrioritySchemeMigrator.migrateSingleProject(Project project,
FieldConfigScheme newPriorityScheme,
Map<Priority,Priority> mapping,
ApplicationUser user) |
ServiceOutcome<Long> |
PrioritySchemeMigrator.migrateSingleProject(Project project,
FieldConfigScheme newPriorityScheme,
Map<Priority,Priority> mapping,
ApplicationUser user,
TaskProgressSink progressSink) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
SearchRequest.getOwner() |
ApplicationUser |
DefaultSearchRequestManager.getSearchRequestOwner(Long id) |
ApplicationUser |
SearchRequestManager.getSearchRequestOwner(Long id) |
ApplicationUser |
SearchQuery.getUser() |
Modifier and Type | Method and Description |
---|---|
static SearchQuery |
SearchQuery.create(Query query,
ApplicationUser searcher)
Creates basic
SearchQuery with default SearchQuery.overrideSecurity = false and SearchQuery.luceneQuery = null . |
SearchRequest |
DefaultSearchRequestFactory.createFromParameters(SearchRequest oldSearchRequest,
ApplicationUser searchUser,
ActionParams actionParameters) |
SearchRequest |
SearchRequestFactory.createFromParameters(SearchRequest oldSearchRequest,
ApplicationUser searchUser,
ActionParams parameterMap)
Deprecated.
Since 6.3.3, use
SearchRequestFactory.createFromQuery(SearchRequest, ApplicationUser, com.atlassian.query.Query) instead. |
SearchRequest |
DefaultSearchRequestFactory.createFromQuery(SearchRequest oldSearchRequest,
ApplicationUser searchUser,
Query query) |
SearchRequest |
SearchRequestFactory.createFromQuery(SearchRequest oldSearchRequest,
ApplicationUser searchUser,
Query query)
Takes a user, a SearchQuery and an original search request that are used to create an object
representation of the search request.
|
EnclosedIterable<SearchRequest> |
DefaultSearchRequestManager.get(ApplicationUser user,
SharedEntityAccessor.RetrievalDescriptor descriptor) |
Collection<SearchRequest> |
DefaultSearchRequestManager.getAllOwnedSearchRequests(ApplicationUser user) |
Collection<SearchRequest> |
OfBizSearchRequestStore.getAllOwnedSearchRequests(ApplicationUser author) |
Collection<SearchRequest> |
CachingSearchRequestStore.getAllOwnedSearchRequests(ApplicationUser owner) |
Collection<SearchRequest> |
SearchRequestStore.getAllOwnedSearchRequests(ApplicationUser user)
Retrieves a collection of SearchRequest objects that a user created.
|
Collection<SearchRequest> |
SearchRequestManager.getAllOwnedSearchRequests(ApplicationUser user)
Retrieves a collection of SearchRequest objects that a user created.
|
SearchRequest |
DefaultSearchRequestManager.getOwnedSearchRequestByName(ApplicationUser author,
String name) |
SearchRequest |
SearchRequestManager.getOwnedSearchRequestByName(ApplicationUser author,
String name)
Find a search request given the author and the request name.
|
SearchRequest |
OfBizSearchRequestStore.getRequestByAuthorAndName(ApplicationUser author,
String name) |
SearchRequest |
CachingSearchRequestStore.getRequestByAuthorAndName(ApplicationUser author,
String name) |
SearchRequest |
SearchRequestStore.getRequestByAuthorAndName(ApplicationUser author,
String name)
Find a search request given the author and the request name.
|
SearchRequest |
DefaultSearchRequestManager.getSearchRequestById(ApplicationUser user,
Long id) |
SearchRequest |
SearchRequestManager.getSearchRequestById(ApplicationUser user,
Long id)
Return the search request as stored in the database if the user has permission to see it.
|
EnclosedIterable<SearchRequest> |
DefaultSearchRequestManager.getSearchRequests(ApplicationUser user,
SharedEntityAccessor.RetrievalDescriptor descriptor) |
EnclosedIterable<SearchRequest> |
SearchRequestManager.getSearchRequests(ApplicationUser searcher,
SharedEntityAccessor.RetrievalDescriptor descriptor)
Used to get
sharable entities from a search result filtered
to only those that are shared with the searcher. |
SearchRequest |
DefaultSearchRequestManager.getSharedEntity(ApplicationUser user,
Long entityId) |
boolean |
DefaultSearchRequestManager.hasPermissionToUse(ApplicationUser user,
SearchRequest entity) |
boolean |
DefaultSearchRequestManager.hasShareRights(ApplicationUser user,
SearchRequest searchRequest,
ShareRight shareRights) |
boolean |
SearchRequestManager.hasShareRights(ApplicationUser user,
SearchRequest searchRequest,
ShareRight shareRight)
Checks if provided user has share rights for given search request.
|
SharedEntitySearchResult<SearchRequest> |
DefaultSearchRequestManager.search(SharedEntitySearchParameters searchParameters,
ApplicationUser user,
int pagePosition,
int pageWidth) |
SharedEntitySearchResult<SearchRequest> |
SearchRequestManager.search(SharedEntitySearchParameters searchParameters,
ApplicationUser user,
int pagePosition,
int pageWidth)
Search for the SearchRequests that match the passed searchParameters.
|
void |
SearchRequest.setOwner(ApplicationUser owner)
Set the owner of the SearchRequest.
|
SearchRequest |
DefaultSearchRequestManager.update(ApplicationUser editor,
SearchRequest requestToPersist) |
SearchRequest |
SearchRequestManager.update(ApplicationUser editor,
SearchRequest request)
Updates an existing search request in the database.
|
Constructor and Description |
---|
SearchRequest(Query query,
ApplicationUser owner,
String name,
String description)
Build a SearchRequest with the provided attributes, this can be used if you want to create a SearchRequest that
can be persisted.
|
SearchRequest(Query query,
ApplicationUser owner,
String name,
String description,
Long id,
long favouriteCount)
Build a SearchRequest with the provided attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
LastJqlFieldsServiceImpl.addOneField(ApplicationUser user,
String field) |
void |
LastJqlFieldsService.addOneField(ApplicationUser user,
String field) |
void |
LastJqlFieldsServiceImpl.addSomeFields(ApplicationUser user,
Collection<String> fields) |
void |
LastJqlFieldsService.addSomeFields(ApplicationUser user,
Collection<String> fields) |
String |
LastJqlFieldsServiceImpl.getLastFields(ApplicationUser user) |
String |
LastJqlFieldsService.getLastFields(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
Collection<ClauseHandler> |
DefaultSearchHandlerManager.getClauseHandler(ApplicationUser user,
String jqlClauseName) |
Collection<ClauseHandler> |
SearchHandlerManager.getClauseHandler(ApplicationUser user,
String jqlClauseName)
Return a collection of
ClauseHandler s registered against the passed JQL clause
name. |
Collection<String> |
DefaultSearchHandlerManager.getFieldIds(ApplicationUser searcher,
String jqlClauseName) |
Collection<String> |
SearchHandlerManager.getFieldIds(ApplicationUser searcher,
String jqlClauseName)
Gets the field ids that are associated with the provided jqlClauseName.
|
Collection<IssueSearcher<?>> |
DefaultSearchHandlerManager.getSearchers(ApplicationUser searcher,
SearchContext context) |
Collection<IssueSearcher<?>> |
DefaultIssueSearcherManager.getSearchers(ApplicationUser searcher,
SearchContext context) |
Collection<IssueSearcher<?>> |
IssueSearcherManager.getSearchers(ApplicationUser searcher,
SearchContext context)
Get searchers that are applicable for a given context.
|
Collection<IssueSearcher<?>> |
SearchHandlerManager.getSearchers(ApplicationUser searcher,
SearchContext context)
Get searchers that are applicable for a given context.
|
Collection<IssueSearcher<?>> |
DefaultSearchHandlerManager.getSearchersByClauseName(ApplicationUser user,
String jqlClauseName) |
Collection<IssueSearcher<?>> |
SearchHandlerManager.getSearchersByClauseName(ApplicationUser user,
String jqlClauseName)
Return a collection of
IssueSearcher s registered against the
passed JQL clause name. |
Collection<IssueSearcher<?>> |
DefaultSearchHandlerManager.getSearchersByClauseName(ApplicationUser user,
String jqlClauseName,
SearchContext searchContext) |
Collection<IssueSearcher<?>> |
SearchHandlerManager.getSearchersByClauseName(ApplicationUser user,
String jqlClauseName,
SearchContext searchContext)
Deprecated.
Since 6.3.3. The
SearchContext parameter is no longer needed. Use #getSearchersByClauseName(com.atlassian.crowd.embedded.api.User, String) . |
Collection<ClauseHandler> |
DefaultSearchHandlerManager.getVisibleClauseHandlers(ApplicationUser searcher) |
Collection<ClauseHandler> |
SearchHandlerManager.getVisibleClauseHandlers(ApplicationUser searcher)
Get all the available clause handlers that the searcher can see.
|
Collection<ClauseNames> |
DefaultSearchHandlerManager.getVisibleJqlClauseNames(ApplicationUser searcher) |
Collection<ClauseNames> |
SearchHandlerManager.getVisibleJqlClauseNames(ApplicationUser searcher)
Get all the available clause names that the searcher can see.
|
Constructor and Description |
---|
NoBrowsePermissionPredicate(ApplicationUser searcher) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
PermissionsFilterGeneratorImpl.getQuery(ApplicationUser searcher) |
org.apache.lucene.search.Query |
PermissionsFilterGenerator.getQuery(ApplicationUser searcher)
Deprecated.
Use
PermissionsFilterGenerator.getQuery(ApplicationUser, Collection) instead, since 7.10 |
org.apache.lucene.search.Query |
PermissionsFilterCache.getQuery(ApplicationUser user,
Collection<Project> projects) |
org.apache.lucene.search.Query |
PermissionsFilterGeneratorImpl.getQuery(ApplicationUser searcher,
Collection<Project> projects) |
org.apache.lucene.search.Query |
CachedWrappedQueryCache.getQuery(ApplicationUser user,
Collection<Project> projects) |
org.apache.lucene.search.Query |
PermissionsFilterGenerator.getQuery(ApplicationUser searcher,
Collection<Project> projects)
Generates a lucene
Query that is the canonical set of permissions for viewable issues for the given user and collection of projects. |
org.apache.lucene.search.Query |
PermissionQueryFactory.getQuery(ApplicationUser searcher,
ProjectPermissionKey permissionKey)
Deprecated.
|
org.apache.lucene.search.Query |
DefaultPermissionQueryFactory.getQuery(ApplicationUser searcher,
ProjectPermissionKey permissionKey) |
org.apache.lucene.search.Query |
PermissionQueryFactory.getQuery(ApplicationUser searcher,
ProjectPermissionKey permissionKey,
Collection<Project> searchedProjects)
Generate a permission query for a specific permission on given collection of projects.
|
org.apache.lucene.search.Query |
DefaultPermissionQueryFactory.getQuery(ApplicationUser searcher,
ProjectPermissionKey permissionKey,
Collection<Project> searchedProjects) |
boolean |
PermissionsFilterCache.hasQueryFor(ApplicationUser user,
Collection<Project> projects) |
void |
PermissionsFilterCache.storeQuery(org.apache.lucene.search.Query query,
ApplicationUser user,
Collection<Project> projects) |
void |
CachedWrappedQueryCache.storeQuery(org.apache.lucene.search.Query query,
ApplicationUser user,
Collection<Project> projects) |
Modifier and Type | Method and Description |
---|---|
boolean |
SearcherGroup.isShown(ApplicationUser searcher,
SearchContext searchContext) |
Modifier and Type | Method and Description |
---|---|
void |
IssueTypeSearchRenderer.addEditParameters(FieldValuesHolder fieldValuesHolder,
SearchContext searchContext,
ApplicationUser user,
Map<String,Object> velocityParameters)
Construct edit HTML parameters and add them to a template parameters map.
|
void |
ProjectSearchRenderer.addParameters(ApplicationUser searcher,
FieldValuesHolder fieldValuesHolder,
boolean noCurrentSearchRequest,
Map<String,Object> velocityParams) |
protected Map<String,Object> |
AbstractUserSearchRenderer.addUserGroupSuggestionParams(FieldValuesHolder fieldValuesHolder,
ApplicationUser user,
SearchContext searchContext,
List<String> selectedUsers)
add user and group suggestions into parameters.
|
void |
IssueTypeSearchRenderer.addViewParameters(FieldValuesHolder fieldValuesHolder,
SearchContext searchContext,
ApplicationUser user,
Map<String,Object> velocityParameters)
Construct view HTML parameters and add them to a template parameters map.
|
String |
IssueTypeSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
IssueLinkTypesSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
WorkRatioSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
AbstractProjectConstantsRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
ProjectSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
AbstractDateSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
SearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action)
Used to produce an HTML input that is rendered on the JIRA issue navigator.
|
String |
AbstractUserSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
String |
GenericTextSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
String |
IssueConstantsSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
String |
ComponentSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
String |
TextQuerySearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
String |
LabelsSearchRenderer.getEditHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
protected I18nHelper |
AbstractSearchRenderer.getI18n(ApplicationUser searcher) |
Collection<Project> |
ProjectSearchRenderer.getRecentProjects(ApplicationUser searcher) |
protected abstract List<Map<String,String>> |
AbstractUserSearchRenderer.getSelectedListOptions(ApplicationUser searcher) |
protected List<Map<String,String>> |
ReporterSearchRenderer.getSelectedListOptions(ApplicationUser searcher) |
protected List<Map<String,String>> |
CreatorSearchRenderer.getSelectedListOptions(ApplicationUser searcher) |
protected List<Map<String,String>> |
AssigneeSearchRenderer.getSelectedListOptions(ApplicationUser searcher) |
protected String |
AbstractUserSearchRenderer.getTextForuser(ApplicationUser searcher,
FieldValuesHolder fieldValuesHolder) |
protected Map<String,Object> |
WorkRatioSearchRenderer.getVelocityParams(ApplicationUser searcher,
SearchContext searchContext,
FieldLayoutItem fieldLayoutItem,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
protected Map<String,Object> |
AbstractProjectConstantsRenderer.getVelocityParams(ApplicationUser user,
SearchContext searchContext,
FieldLayoutItem fieldLayoutItem,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
protected Map<String,Object> |
AbstractSearchRenderer.getVelocityParams(ApplicationUser searcher,
SearchContext searchContext,
FieldLayoutItem fieldLayoutItem,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
protected Map |
ResolutionSearchRenderer.getVelocityParams(ApplicationUser searcher,
SearchContext searchContext,
FieldLayoutItem fieldLayoutItem,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
protected Map<String,Object> |
AbstractUserSearchRenderer.getVelocityParams(ApplicationUser searcher,
SearchContext searchContext,
FieldLayoutItem fieldLayoutItem,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
protected Map<String,Object> |
StatusSearchRenderer.getVelocityParams(ApplicationUser searcher,
SearchContext searchContext,
FieldLayoutItem fieldLayoutItem,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
String |
IssueTypeSearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
IssueLinkTypesSearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
WorkRatioSearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
AbstractProjectConstantsRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
AbstractDateSearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action) |
String |
SearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map<?,?> displayParameters,
webwork.action.Action action)
Used to produce the HTML that displays a searchers summary information (e.g.
|
String |
AbstractUserSearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
String |
GenericTextSearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
String |
ProjectSearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
String |
IssueConstantsSearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
String |
TextQuerySearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
String |
LabelsSearchRenderer.getViewHtml(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
Collection<Project> |
ProjectSearchRenderer.getVisibleProjects(ApplicationUser searcher) |
protected boolean |
AbstractVersionRenderer.hasAnyValidOption(ApplicationUser searcher,
SearchContext searchContext) |
boolean |
IssueTypeSearchRenderer.isRelevantForQuery(ApplicationUser user,
Query query) |
boolean |
IssueLinkTypesSearchRenderer.isRelevantForQuery(ApplicationUser user,
Query query) |
boolean |
AbstractUserSearchRenderer.isRelevantForQuery(ApplicationUser user,
Query query) |
boolean |
WorkRatioSearchRenderer.isRelevantForQuery(ApplicationUser user,
Query query) |
boolean |
GenericTextSearchRenderer.isRelevantForQuery(ApplicationUser user,
Query query) |
boolean |
AbstractProjectConstantsRenderer.isRelevantForQuery(ApplicationUser user,
Query query) |
boolean |
ProjectSearchRenderer.isRelevantForQuery(ApplicationUser user,
Query query) |
boolean |
IssueConstantsSearchRenderer.isRelevantForQuery(ApplicationUser user,
Query query) |
boolean |
TextQuerySearchRenderer.isRelevantForQuery(ApplicationUser user,
Query query) |
boolean |
LabelsSearchRenderer.isRelevantForQuery(ApplicationUser user,
Query query) |
boolean |
AbstractDateSearchRenderer.isRelevantForQuery(ApplicationUser user,
Query query) |
boolean |
SearchRenderer.isRelevantForQuery(ApplicationUser user,
Query query)
Checks if the searchRequest object has a search representation that was created by the searcher and is
used to determine if the
#getViewHtml(User, com.atlassian.jira.issue.search.SearchContext, com.atlassian.jira.issue.transport.FieldValuesHolder, java.util.Map, webwork.action.Action)
method should be called when rendering the search summary. |
boolean |
AbstractVersionRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
IssueTypeSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
IssueLinkTypesSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
DateSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
WorkRatioSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
ReporterSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
GenericTextSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
AbstractProjectConstantsRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
ProjectSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
IssueConstantsSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
CreatorSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
TextQuerySearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
LabelsSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
AssigneeSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext)
Returns true or false based on
AssigneeSearchRenderer.fieldVisibilityManager value. |
abstract boolean |
AbstractDateSearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext) |
boolean |
SearchRenderer.isShown(ApplicationUser user,
SearchContext searchContext)
Checks if the searcher should be shown in this context on the Issue Navigator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LabelsSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
IdIndexedSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
UserSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser searcher,
Query query,
SearchContext searchContext) |
boolean |
WorkRatioSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
ProjectSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
CustomFieldLabelsSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
KickassUserSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext)
Determines whether the given query can be represented in basic mode.
|
boolean |
IssueLinkTypesSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
TextQuerySearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
DateSearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
RelativeDateSearcherInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext) |
boolean |
SearchInputTransformer.doRelevantClausesFitFilterForm(ApplicationUser user,
Query query,
SearchContext searchContext)
Tells the caller whether or not the relevant clauses from the passed query can be represented on the issue
navigator.
|
protected Clause |
CustomFieldLabelsSearchInputTransformer.getClauseFromParams(ApplicationUser user,
CustomFieldParams customFieldParams) |
protected String |
UserSearchInputTransformer.getClauseName(ApplicationUser user) |
Set<String> |
ProjectSearchInputTransformer.getIdValuesAsStrings(ApplicationUser searcher,
Query query) |
protected CustomFieldParams |
CustomFieldLabelsSearchInputTransformer.getParamsFromSearchRequest(ApplicationUser user,
Query query,
SearchContext searchContext) |
Clause |
LabelsSearchInputTransformer.getSearchClause(ApplicationUser user,
FieldValuesHolder fieldValuesHolder) |
Clause |
IdIndexedSearchInputTransformer.getSearchClause(ApplicationUser user,
FieldValuesHolder fieldValuesHolder)
For this implementation we expect that the fieldValuesHolder will contain a list of
strings or nothing at all, if not then this will throw an exception.
|
Clause |
UserSearchInputTransformer.getSearchClause(ApplicationUser searcher,
FieldValuesHolder fieldValuesHolder) |
Clause |
WorkRatioSearchInputTransformer.getSearchClause(ApplicationUser user,
FieldValuesHolder fieldValuesHolder) |
Clause |
ProjectSearchInputTransformer.getSearchClause(ApplicationUser user,
FieldValuesHolder fieldValuesHolder) |
Clause |
KickassUserSearchInputTransformer.getSearchClause(ApplicationUser user,
FieldValuesHolder fieldValuesHolder)
Convert the user's input into a JQL clause.
|
Clause |
IssueLinkTypesSearchInputTransformer.getSearchClause(ApplicationUser user,
FieldValuesHolder fieldValuesHolder) |
Clause |
TextQuerySearchInputTransformer.getSearchClause(ApplicationUser user,
FieldValuesHolder fieldValuesHolder) |
Clause |
DateSearchInputTransformer.getSearchClause(ApplicationUser user,
FieldValuesHolder fieldValuesHolder) |
Clause |
RelativeDateSearcherInputTransformer.getSearchClause(ApplicationUser user,
FieldValuesHolder fieldValuesHolder) |
Clause |
SearchInputTransformer.getSearchClause(ApplicationUser user,
FieldValuesHolder fieldValuesHolder)
Gets the portion of the Search Query that this searcher is responsible for.
|
protected String |
AbstractSearchInputTransformer.getValueForField(List<TerminalClause> terminalClauses,
ApplicationUser user,
Collection<String> jqlClauseNames) |
protected String |
AbstractSearchInputTransformer.getValueForField(List<TerminalClause> terminalClauses,
ApplicationUser user,
String... jqlClauseNames) |
void |
LabelsSearchInputTransformer.populateFromParams(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
ActionParams actionParams) |
void |
IdIndexedSearchInputTransformer.populateFromParams(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
ActionParams actionParams) |
void |
UserSearchInputTransformer.populateFromParams(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
ActionParams actionParams) |
void |
WorkRatioSearchInputTransformer.populateFromParams(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
ActionParams actionParams) |
void |
ProjectSearchInputTransformer.populateFromParams(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
ActionParams actionParams) |
void |
KickassUserSearchInputTransformer.populateFromParams(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
ActionParams actionParams)
Populates a
FieldValuesHolder with ActionParams . |
void |
IssueLinkTypesSearchInputTransformer.populateFromParams(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
ActionParams actionParams) |
void |
TextQuerySearchInputTransformer.populateFromParams(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
ActionParams actionParams) |
void |
DateSearchInputTransformer.populateFromParams(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
ActionParams actionParams) |
void |
RelativeDateSearcherInputTransformer.populateFromParams(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
ActionParams actionParams) |
void |
SearchInputTransformer.populateFromParams(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
ActionParams actionParams)
Populate
FieldValuesHolder object with whatever values the searcher is interested in from the
ActionParams . |
void |
LabelsSearchInputTransformer.populateFromQuery(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
Query query,
SearchContext searchContext) |
void |
IdIndexedSearchInputTransformer.populateFromQuery(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
Query query,
SearchContext searchContext) |
void |
UserSearchInputTransformer.populateFromQuery(ApplicationUser searcher,
FieldValuesHolder fieldValuesHolder,
Query query,
SearchContext searchContext) |
void |
WorkRatioSearchInputTransformer.populateFromQuery(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
Query query,
SearchContext searchContext) |
void |
ProjectSearchInputTransformer.populateFromQuery(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
Query query,
SearchContext searchContext) |
void |
KickassUserSearchInputTransformer.populateFromQuery(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
Query query,
SearchContext searchContext)
Populates a
FieldValuesHolder from a Query . |
void |
IssueLinkTypesSearchInputTransformer.populateFromQuery(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
Query query,
SearchContext searchContext) |
void |
TextQuerySearchInputTransformer.populateFromQuery(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
Query query,
SearchContext searchContext) |
void |
DateSearchInputTransformer.populateFromQuery(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
Query query,
SearchContext searchContext) |
void |
RelativeDateSearcherInputTransformer.populateFromQuery(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
Query query,
SearchContext searchContext) |
void |
SearchInputTransformer.populateFromQuery(ApplicationUser user,
FieldValuesHolder fieldValuesHolder,
Query query,
SearchContext searchContext)
This method transforms any query information contained in the query that is relevant to this
SearchInputTransformer into the values that the HTML rendering expects.
|
void |
LabelsSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
IdIndexedSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
UserSearchInputTransformer.validateParams(ApplicationUser searcher,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
WorkRatioSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
ProjectSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
KickassUserSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
IssueLinkTypesSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
AbstractSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
DateSearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
RelativeDateSearcherInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors) |
void |
SearchInputTransformer.validateParams(ApplicationUser user,
SearchContext searchContext,
FieldValuesHolder fieldValuesHolder,
I18nHelper i18nHelper,
ErrorCollection errors)
Adds error messages to the errors object if values in the fieldValuesHolder fails validation.
|
Modifier and Type | Method and Description |
---|---|
void |
UserSearcherHelperImpl.addGroupSuggestionParams(ApplicationUser user,
Map<String,Object> params) |
void |
UserSearcherHelper.addGroupSuggestionParams(ApplicationUser user,
Map<String,Object> params) |
void |
UserSearcherHelperImpl.addUserGroupSuggestionParams(ApplicationUser user,
List<String> selectedUsers,
Map<String,Object> params) |
void |
UserSearcherHelper.addUserGroupSuggestionParams(ApplicationUser user,
List<String> selectedUsers,
Map<String,Object> params) |
void |
UserSearcherHelperImpl.addUserGroupSuggestionParams(ApplicationUser user,
List<String> selectedUsers,
UserSearchParams searchParams,
Map<String,Object> params) |
void |
UserSearcherHelper.addUserGroupSuggestionParams(ApplicationUser user,
List<String> selectedUsers,
UserSearchParams searchParams,
Map<String,Object> params)
add user and group suggestions based on search parameters.
|
void |
UserSearcherHelperImpl.addUserSuggestionParams(ApplicationUser user,
List<String> selectedUsers,
Map<String,Object> params) |
void |
UserSearcherHelper.addUserSuggestionParams(ApplicationUser user,
List<String> selectedUsers,
Map<String,Object> params) |
Map<String,String> |
QuerySearcherInputHelper.convertClause(Clause clause,
ApplicationUser user)
Take the passed clause and try and get the equivalent navigator parameters.
|
Map<String,String> |
WorkRatioSearcherInputHelper.convertClause(Clause clause,
ApplicationUser user)
Take the passed clause and try and get the equivalent navigator parameters.
|
Map<String,String> |
DefaultWorkRatioSearcherInputHelper.convertClause(Clause clause,
ApplicationUser user) |
DateSearcherInputHelper.ConvertClauseResult |
AbstractDateSearchInputHelper.convertClause(Clause clause,
ApplicationUser user,
boolean allowTimeComponent) |
DateSearcherInputHelper.ConvertClauseResult |
DateSearcherInputHelper.convertClause(Clause clause,
ApplicationUser user,
boolean allowTimeComponent)
Take the passed clause and try and get the equivalent navigator parameters.
|
Set<String> |
IndexedInputHelper.getAllIndexValuesForMatchingClauses(ApplicationUser searcher,
ClauseNames jqlClauseNames,
Query query)
Retrieves the index values for the clauses in the
SearchRequest . |
Set<String> |
DefaultIndexedInputHelper.getAllIndexValuesForMatchingClauses(ApplicationUser searcher,
ClauseNames jqlClauseNames,
Query query) |
Set<String> |
IndexedInputHelper.getAllIndexValuesForMatchingClauses(ApplicationUser searcher,
ClauseNames jqlClauseNames,
Query query,
SearchContext searchContext)
Deprecated.
Since 6.3.4. The
SearchContext parameter is no longer needed. Use IndexedInputHelper.getAllIndexValuesForMatchingClauses(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.issue.search.ClauseNames, com.atlassian.query.Query) . |
Set<String> |
DefaultIndexedInputHelper.getAllIndexValuesForMatchingClauses(ApplicationUser searcher,
ClauseNames jqlClauseNames,
Query query,
SearchContext searchContext) |
Set<String> |
IndexedInputHelper.getAllNavigatorValuesForMatchingClauses(ApplicationUser searcher,
ClauseNames jqlClauseNames,
Query query)
Retreives the navigator id values for the values in the clauses.
|
Set<String> |
DefaultIndexedInputHelper.getAllNavigatorValuesForMatchingClauses(ApplicationUser searcher,
ClauseNames jqlClauseNames,
Query query) |
Set<String> |
IndexedInputHelper.getAllNavigatorValuesForMatchingClauses(ApplicationUser searcher,
ClauseNames jqlClauseNames,
Query query,
SearchContext searchContext)
Deprecated.
Since 6.3.3. The
SearchContext parameter is no longer needed. Use IndexedInputHelper.getAllNavigatorValuesForMatchingClauses(ApplicationUser, com.atlassian.jira.issue.search.ClauseNames, com.atlassian.query.Query) |
Set<String> |
DefaultIndexedInputHelper.getAllNavigatorValuesForMatchingClauses(ApplicationUser searcher,
ClauseNames jqlClauseNames,
Query query,
SearchContext searchContext) |
boolean |
UserSearcherHelperImpl.hasUserPickingPermission(ApplicationUser user) |
boolean |
UserSearcherHelper.hasUserPickingPermission(ApplicationUser user)
Determine whether a user has permission to pick users.
|
Constructor and Description |
---|
RelevantSearcherVisitor(SearchHandlerManager searchHandlerManager,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
Optional<org.apache.lucene.search.Query> |
PermissionQueryCache.getPermissionQuery(ApplicationUser searchUser)
Gets permission cache for passed
searchUser . |
Optional<org.apache.lucene.search.Query> |
DefaultPermissionQueryCache.getPermissionQuery(ApplicationUser searchUser) |
Optional<org.apache.lucene.search.Query> |
PermissionQueryCache.getPermissionQuery(ApplicationUser searchUser,
Collection<Project> projects)
Gets permission cache for passed
searchUser in given projects . |
Optional<org.apache.lucene.search.Query> |
DefaultPermissionQueryCache.getPermissionQuery(ApplicationUser searchUser,
Collection<Project> projects) |
List<String> |
SearchSortUtilImpl.getSearchSortDescriptions(SearchRequest searchRequest,
I18nHelper i18nHelper,
ApplicationUser searcher) |
List<String> |
SearchSortUtil.getSearchSortDescriptions(SearchRequest searchRequest,
I18nHelper i18nHelper,
ApplicationUser searcher)
Deprecated.
Returns a list of the descriptions of each sorter defined in the search request.
|
List<SearchSort> |
SearchSortUtilImpl.mergeSearchSorts(ApplicationUser user,
Collection<SearchSort> newSorts,
Collection<SearchSort> oldSorts,
int maxLength) |
List<SearchSort> |
SearchSortUtil.mergeSearchSorts(ApplicationUser user,
Collection<SearchSort> newSorts,
Collection<SearchSort> oldSorts,
int maxLength)
Deprecated.
Combine the new search sorts and the old search sorts returning a list of sorts that is only of size maxLength.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<String> |
IssueSecuritySchemeServiceImpl.assignSchemeToProject(ApplicationUser user,
long projectId,
Long newSchemeId,
Map<Long,Long> oldToNewSecurityLevelMappings) |
ServiceOutcome<String> |
IssueSecuritySchemeService.assignSchemeToProject(ApplicationUser user,
long projectId,
Long newSchemeId,
Map<Long,Long> oldToNewSecurityLevelMappings)
Assigns a new Issue Security Scheme to a project.
|
ServiceOutcome<IssueSecurityLevel> |
IssueSecurityLevelServiceImpl.create(ApplicationUser callingUser,
IssueSecurityLevelService.CreateValidationResult validationResult) |
ServiceOutcome<IssueSecurityLevel> |
IssueSecurityLevelService.create(ApplicationUser callingUser,
IssueSecurityLevelService.CreateValidationResult validationResult)
This method will create new IssueSecurityLevel carried int CreateValidationResult if it's valid
it will throw an Exception otherwise
|
Collection<IssueSecurityLevel> |
IssueSecurityLevelManagerImpl.getAllSecurityLevelsForUser(ApplicationUser user) |
Collection<IssueSecurityLevel> |
IssueSecurityLevelManager.getAllSecurityLevelsForUser(ApplicationUser user)
Get the different levels of security that the user can see across all projects.
|
Collection<org.ofbiz.core.entity.GenericValue> |
IssueSecurityLevelManagerImpl.getAllUsersSecurityLevels(ApplicationUser user) |
Collection<org.ofbiz.core.entity.GenericValue> |
IssueSecurityLevelManager.getAllUsersSecurityLevels(ApplicationUser user)
Deprecated.
Use
IssueSecurityLevelManager.getAllSecurityLevelsForUser(ApplicationUser) instead. Since v5.0. |
ServiceOutcome<IssueSecurityLevel> |
IssueSecuritySchemeServiceImpl.getIssueSecurityLevel(ApplicationUser user,
long securityLevelId) |
ServiceOutcome<IssueSecurityLevel> |
IssueSecuritySchemeService.getIssueSecurityLevel(ApplicationUser user,
long securityLevelId)
Returns an issue security level with a given id.
|
ServiceOutcome<? extends List<IssueSecurityLevel>> |
IssueSecuritySchemeServiceImpl.getIssueSecurityLevels(ApplicationUser user,
long schemeId) |
ServiceOutcome<? extends List<IssueSecurityLevel>> |
IssueSecuritySchemeService.getIssueSecurityLevels(ApplicationUser user,
long schemeId)
Returns the list of security levels for the given issue security level scheme.
|
ServiceOutcome<IssueSecurityLevelScheme> |
IssueSecuritySchemeServiceImpl.getIssueSecurityLevelScheme(ApplicationUser user,
long schemeId) |
ServiceOutcome<IssueSecurityLevelScheme> |
IssueSecuritySchemeService.getIssueSecurityLevelScheme(ApplicationUser user,
long schemeId)
Returns a single issue security scheme with a given id.
|
ServiceOutcome<IssueSecurityLevelScheme> |
IssueSecuritySchemeServiceImpl.getIssueSecurityLevelSchemeForProject(ApplicationUser user,
long projectId) |
ServiceOutcome<IssueSecurityLevelScheme> |
IssueSecuritySchemeService.getIssueSecurityLevelSchemeForProject(ApplicationUser user,
long projectId)
Returns a single issue security scheme for a given project.
|
ServiceOutcome<IssueSecurityLevelScheme> |
IssueSecuritySchemeServiceImpl.getIssueSecurityLevelSchemeForProject(ApplicationUser user,
String projectKey) |
ServiceOutcome<IssueSecurityLevelScheme> |
IssueSecuritySchemeService.getIssueSecurityLevelSchemeForProject(ApplicationUser user,
String projectKey)
Returns a single issue security scheme for a given project.
|
ServiceOutcome<? extends Collection<IssueSecurityLevelScheme>> |
IssueSecuritySchemeServiceImpl.getIssueSecurityLevelSchemes(ApplicationUser user) |
ServiceOutcome<? extends Collection<IssueSecurityLevelScheme>> |
IssueSecuritySchemeService.getIssueSecurityLevelSchemes(ApplicationUser user)
Returns all defined security level schemes.
|
ServiceOutcome<? extends Collection<IssueSecurityLevelPermission>> |
IssueSecuritySchemeServiceImpl.getPermissionsByIssueSecurityLevel(ApplicationUser user,
long securityLevelId) |
ServiceOutcome<? extends Collection<IssueSecurityLevelPermission>> |
IssueSecuritySchemeService.getPermissionsByIssueSecurityLevel(ApplicationUser user,
long securityLevelId)
Returns permissions for the given issue security level.
|
Collection<IssueSecurityLevel> |
IssueSecurityLevelManagerImpl.getSecurityLevelsForUserByName(ApplicationUser user,
String securityLevelName) |
Collection<IssueSecurityLevel> |
IssueSecurityLevelManager.getSecurityLevelsForUserByName(ApplicationUser user,
String securityLevelName)
Get the different levels of security that a user can see that have the specified name.
|
List<org.ofbiz.core.entity.GenericValue> |
IssueSecurityLevelManagerImpl.getUsersSecurityLevels(org.ofbiz.core.entity.GenericValue entity,
ApplicationUser user)
Get the different levels of security that can be set for this issue.
|
List<org.ofbiz.core.entity.GenericValue> |
IssueSecurityLevelManager.getUsersSecurityLevels(org.ofbiz.core.entity.GenericValue entity,
ApplicationUser user)
Deprecated.
|
List<IssueSecurityLevel> |
IssueSecurityLevelManagerImpl.getUsersSecurityLevels(Issue issue,
ApplicationUser user) |
List<IssueSecurityLevel> |
IssueSecurityLevelManager.getUsersSecurityLevels(Issue issue,
ApplicationUser user)
Get the different levels of security that can be set for this issue.
|
List<IssueSecurityLevel> |
IssueSecurityLevelManagerImpl.getUsersSecurityLevels(Project project,
ApplicationUser user) |
List<IssueSecurityLevel> |
IssueSecurityLevelManager.getUsersSecurityLevels(Project project,
ApplicationUser user)
Get the different levels of security that can be set for an issue created in this project.
|
Collection<org.ofbiz.core.entity.GenericValue> |
IssueSecurityLevelManagerImpl.getUsersSecurityLevelsByName(ApplicationUser user,
String securityLevelName) |
Collection<org.ofbiz.core.entity.GenericValue> |
IssueSecurityLevelManager.getUsersSecurityLevelsByName(ApplicationUser user,
String securityLevelName)
Deprecated.
Use
IssueSecurityLevelManager.getSecurityLevelsForUserByName(ApplicationUser, String) instead. Since v5.0. |
boolean |
IssueSecuritySchemeManagerImpl.hasSecurityLevelAccess(Issue issue,
ApplicationUser user) |
boolean |
IssueSecuritySchemeManager.hasSecurityLevelAccess(Issue issue,
ApplicationUser user)
Checks if the given user has permission to see the Issue Security Level of the given issue.
|
ServiceOutcome<IssueSecurityLevel> |
IssueSecurityLevelServiceImpl.update(ApplicationUser callingUser,
IssueSecurityLevelService.UpdateValidationResult validationResult) |
ServiceOutcome<IssueSecurityLevel> |
IssueSecurityLevelService.update(ApplicationUser callingUser,
IssueSecurityLevelService.UpdateValidationResult validationResult)
This method will update IssueSecurityLevel carried in UpdateValidationResult if it is valid.
|
IssueSecurityLevelService.CreateValidationResult |
IssueSecurityLevelServiceImpl.validateCreate(ApplicationUser user,
long schemeId,
String name,
String description) |
IssueSecurityLevelService.CreateValidationResult |
IssueSecurityLevelService.validateCreate(ApplicationUser user,
long schemeId,
String name,
String description)
Method that will validate arguments for and creation of IssueSecurityLevel operation
|
IssueSecurityLevelService.UpdateValidationResult |
IssueSecurityLevelServiceImpl.validateUpdate(ApplicationUser user,
IssueSecurityLevel currentLevel,
String newName,
String newDescription) |
IssueSecurityLevelService.UpdateValidationResult |
IssueSecurityLevelService.validateUpdate(ApplicationUser user,
IssueSecurityLevel currentLevel,
String newName,
String newDescription)
Method that will validate arguments for an update of IssueSecurityLevel operation
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
UserStatisticsMapper.getValueFromLuceneField(String documentValue) |
Modifier and Type | Method and Description |
---|---|
Comparator<ApplicationUser> |
UserStatisticsMapper.getComparator() |
SearchRequestAppender<ApplicationUser> |
UserStatisticsMapper.getSearchRequestAppender() |
Modifier and Type | Method and Description |
---|---|
SearchRequest |
UserStatisticsMapper.getSearchUrlSuffix(ApplicationUser user,
SearchRequest searchRequest)
Deprecated.
Use #getSearchRequestAppender().appendInclusiveSingleValueClause()
|
boolean |
UserStatisticsMapper.isValidValue(ApplicationUser value) |
Modifier and Type | Method and Description |
---|---|
FilterSubscription |
DefaultSubscriptionManager.createSubscription(ApplicationUser user,
Long filterId,
String groupName,
String cronExpression,
Boolean emailOnEmpty) |
FilterSubscription |
SubscriptionManager.createSubscription(ApplicationUser user,
Long filterId,
String groupName,
String cronExpression,
Boolean emailOnEmpty)
Creates a new subscription based on the passed in filter id and fired
in accordance with the passed in trigger
|
void |
DefaultSubscriptionManager.deleteSubscriptionsForUser(ApplicationUser user) |
void |
SubscriptionManager.deleteSubscriptionsForUser(ApplicationUser user)
Delete all subscriptions owned by a user.
|
FilterSubscription |
DefaultSubscriptionManager.getFilterSubscription(ApplicationUser user,
Long subId) |
FilterSubscription |
SubscriptionManager.getFilterSubscription(ApplicationUser user,
Long subId) |
List<FilterSubscription> |
DefaultSubscriptionManager.getFilterSubscriptions(ApplicationUser user,
Long filterId) |
List<FilterSubscription> |
SubscriptionManager.getFilterSubscriptions(ApplicationUser user,
Long filterId) |
List<FilterSubscription> |
DefaultSubscriptionManager.getSubscriptionsForUser(ApplicationUser user) |
List<FilterSubscription> |
SubscriptionManager.getSubscriptionsForUser(ApplicationUser user)
Get all subscriptions owned by the given user
|
boolean |
DefaultSubscriptionManager.hasSubscription(ApplicationUser user,
Long filterId) |
boolean |
SubscriptionManager.hasSubscription(ApplicationUser user,
Long filterId) |
void |
DefaultSubscriptionManager.runSubscription(ApplicationUser user,
Long subId) |
void |
SubscriptionManager.runSubscription(ApplicationUser user,
Long subId)
Run this subscription now.
|
void |
DefaultSubscriptionManager.updateSubscription(ApplicationUser user,
Long subId,
String groupName,
String cronExpression,
Boolean emailOnEmpty) |
void |
SubscriptionManager.updateSubscription(ApplicationUser user,
Long subscriptionId,
String groupName,
String cronExpression,
Boolean emailOnEmpty) |
Modifier and Type | Method and Description |
---|---|
List<IssueAction> |
WorklogTabPanel.getActions(Issue issue,
ApplicationUser remoteUser) |
List<IssueAction> |
ChangeHistoryTabPanel.getActions(Issue issue,
ApplicationUser remoteUser) |
boolean |
WorklogTabPanel.showPanel(Issue issue,
ApplicationUser remoteUser) |
boolean |
ChangeHistoryTabPanel.showPanel(Issue issue,
ApplicationUser remoteUser) |
Modifier and Type | Method and Description |
---|---|
Collection<com.atlassian.core.util.thumbnail.Thumbnail> |
DefaultThumbnailManager.getThumbnails(Issue issue,
ApplicationUser user) |
Collection<com.atlassian.core.util.thumbnail.Thumbnail> |
DisabledThumbNailManager.getThumbnails(Issue issue,
ApplicationUser user) |
Collection<com.atlassian.core.util.thumbnail.Thumbnail> |
ThumbnailManager.getThumbnails(Issue issue,
ApplicationUser user)
Retrieves
Thumbnails for an Issue |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
IssueUpdateBean.getApplicationUser() |
ApplicationUser |
IssueUpdateBean.getUser()
Deprecated.
Use
IssueUpdateBean.getApplicationUser() instead. Since v6.3. |
Modifier and Type | Method and Description |
---|---|
void |
InlineIssuePropertySetter.setIssueProperties(ApplicationUser user,
Long issueId,
Map<String,org.codehaus.jackson.JsonNode> properties,
boolean dispatchEvent)
Called to set issue properties on an issue from the "inside"
|
Constructor and Description |
---|
IssueOperationsBarUtil(JiraHelper helper,
ApplicationUser user,
SimpleLinkManager simpleLinkManager,
ApplicationProperties applicationProperties,
IssueManager issueManager,
PermissionManager permissionManager,
I18nHelper i18n) |
IssueUpdateBean(org.ofbiz.core.entity.GenericValue changedIssue,
org.ofbiz.core.entity.GenericValue originalIssue,
Long eventTypeId,
ApplicationUser user) |
IssueUpdateBean(org.ofbiz.core.entity.GenericValue changedIssue,
org.ofbiz.core.entity.GenericValue originalIssue,
Long eventTypeId,
ApplicationUser user,
boolean sendMail,
boolean subtasksUpdated) |
IssueUpdateBean(Issue changedIssue,
Issue originalIssue,
Long eventTypeId,
ApplicationUser user) |
IssueUpdateBean(Issue changedIssue,
Issue originalIssue,
Long eventTypeId,
ApplicationUser user,
boolean sendMail,
boolean subtasksUpdated) |
IssueWebPanelRenderUtil(ApplicationUser loggedInUser,
Issue issue,
webwork.action.Action action,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
ModuleWebComponent moduleWebComponent) |
RendererWebPanelRenderUtil(ApplicationUser loggedInUser,
String value,
String issueKey,
Issue issue,
String fieldId,
String fieldName,
boolean singleLine,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
ModuleWebComponent moduleWebComponent,
JiraRendererPlugin renderer,
Map<String,String[]> requestParams) |
Modifier and Type | Method and Description |
---|---|
static IssueUpdateBean |
IssueChangeHolderTransformer.toIssueUpdateBean(IssueChangeHolder issueChangeHolder,
Long eventType,
ApplicationUser user,
boolean sendMail) |
Modifier and Type | Method and Description |
---|---|
protected IssueTableLayoutBean |
SearchRequestExcelViewCurrentFields.getColumnLayout(SearchRequest searchRequest,
ApplicationUser user) |
protected abstract IssueTableLayoutBean |
AbstractSearchRequestExcelView.getColumnLayout(SearchRequest searchRequest,
ApplicationUser user) |
protected IssueTableLayoutBean |
SearchRequestExcelViewAllFields.getColumnLayout(SearchRequest searchRequest,
ApplicationUser user) |
List<FieldLayoutItem> |
IssueXMLView.getVisibleCustomFields(Issue issue,
ApplicationUser user,
IssueViewFieldParams issueViewFieldParams) |
Modifier and Type | Method and Description |
---|---|
static String |
SearchRequestViewUtils.getGeneratedInfo(ApplicationUser user) |
static String |
SearchRequestViewUtils.getLink(SearchRequest searchRequest,
String baseUrl,
ApplicationUser user) |
LinkCollection |
DefaultIssueViewUtil.getLinkCollection(Issue issue,
ApplicationUser user) |
LinkCollection |
IssueViewUtil.getLinkCollection(Issue issue,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
DefaultVoteManager.getVoters(Issue issue,
Locale usersLocale) |
List<ApplicationUser> |
VoteManager.getVoters(Issue issue,
Locale usersLocale)
Deprecated.
Use
VoteManager.getVotersFor(com.atlassian.jira.issue.Issue, java.util.Locale) instead. Since v6.0. |
Iterable<ApplicationUser> |
DefaultIssueVoterAccessor.getVoters(Locale displayLocale,
Issue issue) |
Iterable<ApplicationUser> |
IssueVoterAccessor.getVoters(Locale displayLocale,
Issue issue)
Convenience function that simply returns the User objects.
|
List<ApplicationUser> |
DefaultVoteManager.getVotersFor(Issue issue,
Locale usersLocale) |
List<ApplicationUser> |
VoteManager.getVotersFor(Issue issue,
Locale usersLocale)
Returns an ordered list of voters for a particular issue.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultVoteManager.addVote(ApplicationUser user,
org.ofbiz.core.entity.GenericValue issue) |
boolean |
VoteManager.addVote(ApplicationUser user,
org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Use
VoteManager.addVote(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.issue.Issue) instead. Since v6.0. |
boolean |
DefaultVoteManager.addVote(ApplicationUser user,
Issue issue) |
boolean |
VoteManager.addVote(ApplicationUser user,
Issue issue)
Adds a new vote for the user and issue specified.
|
Iterable<Long> |
DefaultVotedIssuesAccessor.getVotedIssueIds(ApplicationUser voter,
ApplicationUser searcher,
VotedIssuesAccessor.Security security) |
Iterable<Long> |
VotedIssuesAccessor.getVotedIssueIds(ApplicationUser voter,
ApplicationUser searcher,
VotedIssuesAccessor.Security security)
Get the issues a particular user has voted for.
|
boolean |
DefaultVoteManager.hasVoted(ApplicationUser user,
org.ofbiz.core.entity.GenericValue issue) |
boolean |
VoteManager.hasVoted(ApplicationUser user,
org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Use
VoteManager.hasVoted(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.issue.Issue) instead. Since v6.0. |
boolean |
DefaultVoteManager.hasVoted(ApplicationUser user,
Issue issue) |
boolean |
VoteManager.hasVoted(ApplicationUser user,
Issue issue)
Checks if the given User has voted on the given Issue.
|
boolean |
DefaultVoteManager.removeVote(ApplicationUser user,
org.ofbiz.core.entity.GenericValue issue) |
boolean |
VoteManager.removeVote(ApplicationUser user,
org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Use
VoteManager.removeVote(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.issue.Issue) instead. Since v6.0. |
boolean |
DefaultVoteManager.removeVote(ApplicationUser user,
Issue issue) |
boolean |
VoteManager.removeVote(ApplicationUser user,
Issue issue)
Removes a vote for the user and issue specified.
|
void |
DefaultVoteManager.removeVotesForUser(ApplicationUser user) |
void |
VoteManager.removeVotesForUser(ApplicationUser user)
Removes all votes made by user.
|
Modifier and Type | Method and Description |
---|---|
Iterable<ApplicationUser> |
DefaultIssueWatcherAccessor.getWatchers(Issue issue,
Locale displayLocale) |
List<ApplicationUser> |
DefaultWatcherManager.getWatchers(Issue issue,
Locale userLocale) |
List<ApplicationUser> |
WatcherManager.getWatchers(Issue issue,
Locale userLocale)
Retrieve list of users that are currently watching this issue (including the current user).
|
Iterable<ApplicationUser> |
IssueWatcherAccessor.getWatchers(Issue issue,
Locale displayLocale)
Convenience function that simply returns the User objects.
|
Collection<ApplicationUser> |
DefaultWatcherManager.getWatchersUnsorted(Issue issue) |
Collection<ApplicationUser> |
WatcherManager.getWatchersUnsorted(Issue issue)
Retrieve list of users that are currently watching this issue (including the current user).
|
Modifier and Type | Method and Description |
---|---|
Iterable<Long> |
DefaultWatchedIssuesAccessor.getWatchedIssueIds(ApplicationUser watcher,
ApplicationUser searcher,
WatchedIssuesAccessor.Security security) |
Iterable<Long> |
WatchedIssuesAccessor.getWatchedIssueIds(ApplicationUser watcher,
ApplicationUser searcher,
WatchedIssuesAccessor.Security security)
Get the issues a particular user is watching.
|
boolean |
DefaultWatcherManager.isWatching(ApplicationUser user,
org.ofbiz.core.entity.GenericValue issue) |
boolean |
DefaultWatcherManager.isWatching(ApplicationUser user,
Issue issue) |
boolean |
WatcherManager.isWatching(ApplicationUser user,
Issue issue)
Determine whether the current user is already watching the issue or not
|
void |
DefaultWatcherManager.removeAllWatchesForUser(ApplicationUser user) |
void |
WatcherManager.removeAllWatchesForUser(ApplicationUser user)
Remove all watches for a given user
|
Collection<Issue> |
DefaultWatcherManager.startWatching(ApplicationUser user,
Collection<Issue> issues,
Context taskContext) |
Collection<Issue> |
WatcherManager.startWatching(ApplicationUser user,
Collection<Issue> issues,
Context taskContext)
Enable watching of a list of issues for the user supplied.
|
Issue |
DefaultWatcherManager.startWatching(ApplicationUser user,
Issue issue) |
Issue |
WatcherManager.startWatching(ApplicationUser user,
Issue issue)
Enable watching of a particular issue for the user supplied.
|
Collection<Issue> |
DefaultWatcherManager.stopWatching(ApplicationUser user,
Collection<Issue> issues,
Context taskContext) |
Collection<Issue> |
WatcherManager.stopWatching(ApplicationUser user,
Collection<Issue> issues,
Context taskContext)
Disable watching of a list of issues for the user supplied.
|
Issue |
DefaultWatcherManager.stopWatching(ApplicationUser user,
Issue issue) |
Issue |
WatcherManager.stopWatching(ApplicationUser user,
Issue issue)
Disable watching of a particular issue for the user supplied.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
WorklogImpl2.getAuthorObject() |
ApplicationUser |
WorklogImpl.getAuthorObject() |
ApplicationUser |
Worklog.getAuthorObject() |
ApplicationUser |
WorklogImpl2.getUpdateAuthorObject() |
ApplicationUser |
WorklogImpl.getUpdateAuthorObject() |
ApplicationUser |
Worklog.getUpdateAuthorObject() |
Modifier and Type | Method and Description |
---|---|
Worklog |
DefaultWorklogManager.create(ApplicationUser user,
Worklog worklog,
Long newEstimate,
boolean dispatchEvent) |
Worklog |
WorklogManager.create(ApplicationUser user,
Worklog worklog,
Long newEstimate,
boolean dispatchEvent)
Creates a worklog based on the passed in
Worklog object and associates
it with the given issue. |
boolean |
DefaultWorklogManager.delete(ApplicationUser user,
Worklog worklog,
Long newEstimate,
boolean dispatchEvent) |
boolean |
WorklogManager.delete(ApplicationUser user,
Worklog worklog,
Long newEstimate,
boolean dispatchEvent)
Deletes the specified worklog and updates the issue's remaining estimate and time spent fields.
|
Worklog |
DefaultWorklogManager.update(ApplicationUser user,
Worklog worklog,
Long newEstimate,
boolean dispatchEvent) |
Worklog |
WorklogManager.update(ApplicationUser user,
Worklog worklog,
Long newEstimate,
boolean dispatchEvent)
Updates the provided
Worklog . |
void |
DefaultTimeTrackingIssueUpdater.updateIssueOnWorklogCreate(ApplicationUser user,
Worklog worklog,
Long newEstimate,
boolean dispatchEvent) |
void |
TimeTrackingIssueUpdater.updateIssueOnWorklogCreate(ApplicationUser user,
Worklog worklog,
Long newEstimate,
boolean dispatchEvent)
Will set the
Worklog.getIssue() 's remaining estimate to the newEstimate
and will increment the issues time spent by the Worklog.getTimeSpent() . |
void |
DefaultTimeTrackingIssueUpdater.updateIssueOnWorklogDelete(ApplicationUser user,
Worklog worklog,
Long newEstimate,
boolean dispatchEvent) |
void |
TimeTrackingIssueUpdater.updateIssueOnWorklogDelete(ApplicationUser user,
Worklog worklog,
Long newEstimate,
boolean dispatchEvent)
Will set the
Worklog.getIssue() 's remaining estimate to the newEstimate
and will decrement the issues time spent by the Worklog.getTimeSpent() . |
void |
DefaultTimeTrackingIssueUpdater.updateIssueOnWorklogUpdate(ApplicationUser user,
Worklog originalWorklog,
Worklog newWorklog,
Long originalTimeSpent,
Long newEstimate,
boolean dispatchEvent) |
void |
TimeTrackingIssueUpdater.updateIssueOnWorklogUpdate(ApplicationUser user,
Worklog originalWorklog,
Worklog newWorklog,
Long originalTimeSpent,
Long newEstimate,
boolean dispatchEvent)
Will set the
Worklog.getIssue() 's remaining estimate to the newEstimate
and will decrement the issues time spent by the originalTimeSpent and then increment it by the
Worklog.getTimeSpent() . |
Modifier and Type | Method and Description |
---|---|
QueryContextVisitor |
QueryContextVisitor.QueryContextVisitorFactory.createVisitor(ApplicationUser searcher)
Use this to calculate the context for an entire Query.
|
ClauseContext |
IssueTypeClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
AllTextClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
SimpleClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
SavedFilterClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
SelectCustomFieldClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
ProjectCategoryClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
IssueSecurityLevelClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
CascadingSelectCustomFieldClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
StatusClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
IssueParentClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
ProjectClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
IssueIdClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
ValidatingDecoratorContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
AbstractProjectAttributeClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
IntersectingClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
MultiClauseDecoratorContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
CustomFieldClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause) |
ClauseContext |
ClauseContextFactory.getClauseContext(ApplicationUser searcher,
TerminalClause terminalClause)
Generates a clause context for the associated handler.
|
ClauseContext |
FieldConfigSchemeClauseContextUtil.getContextForConfigScheme(ApplicationUser searcher,
FieldConfigScheme fieldConfigScheme)
Given a
FieldConfigScheme determines the
ClauseContext specified by it, taking into account
what is visible to the searcher User |
Constructor and Description |
---|
QueryContextVisitor(ApplicationUser searcher,
ContextSetUtil contextSetUtil,
SearchHandlerManager searchHandlerManager) |
Modifier and Type | Method and Description |
---|---|
PredicateOperandHandler |
PredicateOperandHandlerRegistry.getHandler(ApplicationUser searcher,
String field,
Operand operand) |
QueryLiteral |
DefaultJqlOperandResolver.getSingleValue(ApplicationUser user,
Operand operand,
TerminalClause clause) |
QueryLiteral |
JqlOperandResolver.getSingleValue(ApplicationUser user,
Operand operand,
TerminalClause clause)
Returns the single value contained within the passed operand.
|
List<QueryLiteral> |
DefaultJqlOperandResolver.getValues(ApplicationUser searcher,
Operand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
JqlOperandResolver.getValues(ApplicationUser searcher,
Operand operand,
TerminalClause terminalClause)
Return the values contained within the passed operand.
|
List<QueryLiteral> |
DefaultPredicateOperandResolver.getValues(ApplicationUser searcher,
String field,
Operand operand) |
List<QueryLiteral> |
PredicateOperandResolver.getValues(ApplicationUser searcher,
String field,
Operand operand) |
boolean |
DefaultPredicateOperandResolver.isEmptyOperand(ApplicationUser searcher,
String field,
Operand operand) |
boolean |
PredicateOperandResolver.isEmptyOperand(ApplicationUser searcher,
String field,
Operand operand)
Returns true if the operand represents an EMPTY operand.
|
boolean |
DefaultPredicateOperandResolver.isFunctionOperand(ApplicationUser searcher,
String field,
Operand operand) |
boolean |
PredicateOperandResolver.isFunctionOperand(ApplicationUser searcher,
String field,
Operand operand)
Returns true if the passed operand is a function call.
|
boolean |
DefaultPredicateOperandResolver.isListOperand(ApplicationUser searcher,
String field,
Operand operand) |
boolean |
PredicateOperandResolver.isListOperand(ApplicationUser searcher,
String field,
Operand operand)
Returns true if the passed operand returns a list of values.
|
FunctionOperand |
DefaultJqlOperandResolver.sanitiseFunctionOperand(ApplicationUser searcher,
FunctionOperand funcOperand) |
FunctionOperand |
JqlOperandResolver.sanitiseFunctionOperand(ApplicationUser searcher,
FunctionOperand operand)
Sanitise a function operand for the specified user, so that information is not leaked.
|
MessageSet |
EmptyOperandHandler.validate(ApplicationUser searcher,
EmptyOperand operand,
TerminalClause terminalClause) |
MessageSet |
FunctionOperandHandler.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
MultiValueOperandHandler.validate(ApplicationUser searcher,
MultiValueOperand operand,
TerminalClause terminalClause) |
MessageSet |
DefaultJqlOperandResolver.validate(ApplicationUser user,
Operand operand,
TerminalClause terminalClause) |
MessageSet |
JqlOperandResolver.validate(ApplicationUser user,
Operand operand,
TerminalClause terminalClause)
Validates the operand against its handler.
|
MessageSet |
DefaultJqlOperandResolver.validate(ApplicationUser searcher,
Operand operand,
WasClause clause) |
MessageSet |
JqlOperandResolver.validate(ApplicationUser searcher,
Operand operand,
WasClause clause) |
MessageSet |
SingleValueOperandHandler.validate(ApplicationUser searcher,
SingleValueOperand operand,
TerminalClause terminalClause) |
MessageSet |
OperandHandler.validate(ApplicationUser searcher,
T operand,
TerminalClause terminalClause)
Will perform operand specific validation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IssueParentPermissionChecker.hasPermissionToUseClause(ApplicationUser user) |
boolean |
DefaultClausePermissionHandler.hasPermissionToUseClause(ApplicationUser user) |
boolean |
NoOpClausePermissionChecker.hasPermissionToUseClause(ApplicationUser user) |
boolean |
CustomFieldClausePermissionChecker.hasPermissionToUseClause(ApplicationUser user) |
boolean |
VotePermissionChecker.hasPermissionToUseClause(ApplicationUser user) |
boolean |
StatusCategoryPermissionChecker.hasPermissionToUseClause(ApplicationUser user) |
boolean |
TimeTrackingPermissionChecker.hasPermissionToUseClause(ApplicationUser user) |
boolean |
FieldClausePermissionChecker.hasPermissionToUseClause(ApplicationUser user) |
boolean |
WatchPermissionChecker.hasPermissionToUseClause(ApplicationUser user) |
boolean |
IssuePropertyClausePermissionChecker.hasPermissionToUseClause(ApplicationUser user) |
boolean |
ClausePermissionChecker.hasPermissionToUseClause(ApplicationUser user)
Checks to see that the provided user is able to use the clause.
|
boolean |
IssueParentPermissionChecker.hasPermissionToUseClause(ApplicationUser searcher,
Set<FieldLayout> fieldLayouts) |
boolean |
DefaultClausePermissionHandler.hasPermissionToUseClause(ApplicationUser searcher,
Set<FieldLayout> fieldLayouts) |
boolean |
NoOpClausePermissionChecker.hasPermissionToUseClause(ApplicationUser searcher,
Set<FieldLayout> fieldLayouts) |
boolean |
CustomFieldClausePermissionChecker.hasPermissionToUseClause(ApplicationUser user,
Set<FieldLayout> fieldLayouts) |
boolean |
VotePermissionChecker.hasPermissionToUseClause(ApplicationUser searcher,
Set<FieldLayout> fieldLayouts) |
boolean |
StatusCategoryPermissionChecker.hasPermissionToUseClause(ApplicationUser user,
Set<FieldLayout> fieldLayouts) |
boolean |
TimeTrackingPermissionChecker.hasPermissionToUseClause(ApplicationUser searcher,
Set<FieldLayout> fieldLayouts) |
boolean |
FieldClausePermissionChecker.hasPermissionToUseClause(ApplicationUser searcher,
Set<FieldLayout> fieldLayouts) |
boolean |
WatchPermissionChecker.hasPermissionToUseClause(ApplicationUser searcher,
Set<FieldLayout> fieldLayouts) |
boolean |
IssuePropertyClausePermissionChecker.hasPermissionToUseClause(ApplicationUser user,
Set<FieldLayout> fieldLayouts) |
boolean |
ClausePermissionChecker.hasPermissionToUseClause(ApplicationUser user,
Set<FieldLayout> fieldLayouts)
Checks to see that the provided user is able to use the clause.
|
Clause |
DefaultClausePermissionHandler.sanitise(ApplicationUser user,
TerminalClause clause) |
Clause |
IssueClauseValueSanitiser.sanitise(ApplicationUser user,
TerminalClause clause)
Note: we cannot assume that the
IssueClauseValueSanitiser.IssueOperandSanitisingVisitor
returns the same type of operand that went in, because issues can expand to more than one literal. |
Clause |
ProjectClauseValueSanitiser.sanitise(ApplicationUser user,
TerminalClause clause)
Important note: we are making a big assumption here that the
ProjectClauseValueSanitiser.ProjectOperandSanitisingVisitor
will always return the same kind of operand back after sanitising. |
Clause |
NoOpClauseSanitiser.sanitise(ApplicationUser user,
TerminalClause clause) |
Clause |
ClauseSanitiser.sanitise(ApplicationUser user,
TerminalClause clause)
Given a user and a clause, will return a sanitised clause that when possible will not contain any information
that the specified user does not have permission to see.
|
Constructor and Description |
---|
ClauseSanitisingVisitor(SearchHandlerManager searchHandlerManager,
JqlOperandResolver jqlOperandResolver,
ApplicationUser user) |
DefaultOperandSanitisingVisitor(JqlOperandResolver jqlOperandResolver,
ApplicationUser searcher) |
IssueLiteralSanitiser(PermissionManager permissionManager,
JqlIssueSupport jqlIssueSupport,
ApplicationUser user) |
ProjectLiteralSanitiser(NameResolver<Project> projectResolver,
PermissionManager permissionManager,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
QueryCreationContext.getApplicationUser()
Get the User.
|
ApplicationUser |
QueryCreationContextImpl.getApplicationUser() |
ApplicationUser |
QueryCreationContext.getQueryUser()
Deprecated.
Use
QueryCreationContext.getUser() instead. Since v5.0. |
ApplicationUser |
QueryCreationContextImpl.getQueryUser() |
ApplicationUser |
QueryCreationContext.getUser()
Deprecated.
since 6.1 use
QueryCreationContext.getApplicationUser() instead |
ApplicationUser |
QueryCreationContextImpl.getUser() |
Modifier and Type | Method and Description |
---|---|
QueryFactoryResult |
ChangedClauseQueryFactory.create(ApplicationUser searcher,
ChangedClause clause) |
QueryFactoryResult |
WasClauseQueryFactory.create(ApplicationUser searcher,
WasClause clause) |
org.apache.lucene.search.BooleanQuery |
HistoryPredicateQueryFactory.makePredicateQuery(ApplicationUser searcher,
String field,
HistoryPredicate historyPredicate,
boolean isChangedSearch) |
Constructor and Description |
---|
QueryCreationContextImpl(ApplicationUser user)
Use this constructor unless you know you need to override security.
|
QueryCreationContextImpl(ApplicationUser user,
boolean securityOverriden) |
QueryCreationContextImpl(ApplicationUser user,
boolean securityOverriden,
Set<String> determinedProjects)
Use this constructor if you need to override security.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
UserResolverImpl.get(Long id) |
ApplicationUser |
UserResolver.get(Long id)
Get a user from an ID
|
ApplicationUser |
UserResolverImpl.getApplicationUser(Long id) |
ApplicationUser |
UserResolver.getApplicationUser(Long id)
Gets an application user from an ID
|
Modifier and Type | Method and Description |
---|---|
Collection<ApplicationUser> |
UserResolverImpl.getAll() |
Collection<ApplicationUser> |
UserResolver.getAll()
Get all users
|
Modifier and Type | Method and Description |
---|---|
List<IssueSecurityLevel> |
IssueSecurityLevelResolver.getAllSecurityLevels(ApplicationUser searcher)
Returns the issue level objects that the passed user can see.
|
String |
UserIndexInfoResolver.getIndexedValue(ApplicationUser user) |
List<IssueSecurityLevel> |
IssueSecurityLevelResolver.getIssueSecurityLevels(ApplicationUser searcher,
List<QueryLiteral> rawValues)
Resolves
GenericValue s representing Issue Security Levels based on the
QueryLiteral s provided. |
List<IssueSecurityLevel> |
IssueSecurityLevelResolver.getIssueSecurityLevels(ApplicationUser searcher,
QueryLiteral rawValue)
Resolves
GenericValue s representing Issue Security Levels based on the
QueryLiteral provided. |
List<SearchRequest> |
SavedFilterResolver.getSearchRequest(ApplicationUser searcher,
List<QueryLiteral> rawValues)
Resolves
QueryLiteral s into the SearchRequest
objects that the user has permission to see. |
Constructor and Description |
---|
UserIndexInfoResolver(NameResolver<ApplicationUser> userResolver) |
Modifier and Type | Method and Description |
---|---|
Issue |
JqlIssueSupportImpl.getIssue(long id,
ApplicationUser user) |
Issue |
JqlIssueSupport.getIssue(long id,
ApplicationUser user)
Get the issue given its id if the passed user can see it.
|
Issue |
JqlIssueSupportImpl.getIssue(String issueKey,
ApplicationUser user) |
Issue |
JqlIssueSupport.getIssue(String issueKey,
ApplicationUser user)
Get the issue with the passed key if the passed user can see it.
|
List<Issue> |
JqlIssueSupportImpl.getIssues(String issueKey,
ApplicationUser user) |
List<Issue> |
JqlIssueSupport.getIssues(String issueKey,
ApplicationUser user)
Deprecated.
Use
JqlIssueSupport.getIssue(String, com.atlassian.jira.user.ApplicationUser) instead. Since v6.1. |
List<Option> |
JqlSelectOptionsUtil.getOptions(CustomField customField,
ApplicationUser user,
QueryLiteral literal,
boolean checkOptionIds)
Returns the options that are represented by the
QueryLiteral that are visible to
the User on the CustomField . |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultOperatorUsageValidator.check(ApplicationUser user,
TerminalClause clause) |
boolean |
OperatorUsageValidator.check(ApplicationUser searcher,
TerminalClause clause)
Check the usage of the Operator and Operand that are held in the clause.
|
boolean |
SavedFilterCycleDetector.containsSavedFilterReference(ApplicationUser searcher,
boolean overrideSecurity,
SearchRequest savedFilter,
Long filterId)
Checks if the specified saved
SearchRequest contains a reference to another saved filter
by using the savedFilter clause. |
ValidatorVisitor |
ValidatorVisitor.ValidatorVisitorFactory.createVisitor(ApplicationUser searcher,
Long filterId) |
ValidatorVisitor |
ValidatorVisitor.ValidatorVisitorFactory.createVisitor(ApplicationUser searcher,
Long filterId,
Clause parentClause) |
ChangedClauseValidator |
DefaultValidatorRegistry.getClauseValidator(ApplicationUser searcher,
ChangedClause clause) |
ChangedClauseValidator |
ValidatorRegistry.getClauseValidator(ApplicationUser searcher,
ChangedClause clause)
Fetches the associated ClauseValidators for the provided ChangedClause.
|
Collection<ClauseValidator> |
DefaultValidatorRegistry.getClauseValidator(ApplicationUser searcher,
TerminalClause clause) |
Collection<ClauseValidator> |
ValidatorRegistry.getClauseValidator(ApplicationUser searcher,
TerminalClause clause)
Fetches the associated ClauseValidators for the provided TerminalClause.
|
Collection<ClauseValidator> |
DefaultValidatorRegistry.getClauseValidator(ApplicationUser searcher,
WasClause clause) |
Collection<ClauseValidator> |
ValidatorRegistry.getClauseValidator(ApplicationUser searcher,
WasClause clause)
Fetches the associated ClauseValidators for the provided WasClause.
|
protected I18nHelper |
EntityPropertyClauseValidator.getI18n(ApplicationUser user) |
protected I18nHelper |
IssueLinkTypesClauseValidator.getI18nBean(ApplicationUser searcher) |
protected List<Option> |
SelectCustomFieldValidator.getOptionsFromLiteral(ApplicationUser searcher,
QueryLiteral literal) |
protected List<Option> |
CascadingSelectCustomFieldValidator.getOptionsFromLiteral(ApplicationUser searcher,
QueryLiteral literal) |
MessageSet |
ChangedClauseValidator.validate(ApplicationUser searcher,
ChangedClause clause) |
MessageSet |
HistoryPredicateValidator.validate(ApplicationUser searcher,
ChangedClause clause,
HistoryPredicate predicate) |
MessageSet |
DefaultOrderByValidator.validate(ApplicationUser searcher,
OrderBy orderBy) |
MessageSet |
OrderByValidator.validate(ApplicationUser searcher,
OrderBy orderBy)
Will add messages if there is a portion of the order by that contains a non-orderable jql clause name or
if there are any duplicates or if the user is trying to order by a field that they can't see.
|
MessageSet |
DateValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
LabelsValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
ResolutionValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
IssueIdValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
ProjectValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
WatchesValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
WasClauseValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
VotesValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
ProjectCategoryValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
SavedFilterClauseValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
StatusCategoryValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
IssueParentValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
DefaultOperatorUsageValidator.validate(ApplicationUser searcher,
TerminalClause clause) |
MessageSet |
AllTextValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
SelectCustomFieldValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
IssueLinkTypesClauseValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
PriorityValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
IssueSecurityLevelClauseValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
EntityPropertyClauseValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
ComponentValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
WorkRatioValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
IssueTypeValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
GroupCustomFieldValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
StatusValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
CommentValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
LocalDateValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
ExactTextCustomFieldValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
AttachmentsClauseValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
OperatorUsageValidator.validate(ApplicationUser searcher,
TerminalClause clause)
Validate the usage of the Operator and Operand that are held in the clause.
|
MessageSet |
FreeTextFieldValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
SupportedOperatorsValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
AbstractUserValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
protected MessageSet |
WildcardCountValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
ClauseValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause)
Validates a clause and adds human readable i18n'ed messages if there is a problem.
|
MessageSet |
NumberCustomFieldValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause) |
MessageSet |
SavedFilterClauseValidator.validate(ApplicationUser searcher,
TerminalClause terminalClause,
Long filterId) |
MessageSet |
WasValuesExistValidator.validate(ApplicationUser searcher,
WasClause clause) |
MessageSet |
HistoryPredicateValidator.validate(ApplicationUser searcher,
WasClause clause,
HistoryPredicate predicate) |
MessageSet |
HistoryFieldValueValidator.validateValues(ApplicationUser searcher,
String fieldName,
List<QueryLiteral> rawValues)
Validate a set of values supplied within a JQL query.
|
Constructor and Description |
---|
ValidatorVisitor(ValidatorRegistry validatorRegistry,
JqlOperandResolver operandResolver,
OperatorUsageValidator operatorUsageValidator,
ApplicationUser searcher,
Long filterId,
Clause parentClause) |
Modifier and Type | Method and Description |
---|---|
List<String> |
IssueLinkTypesClauseValuesGenerator.getPossibleStringValues(ApplicationUser searcher,
String valuePrefix) |
ClauseValuesGenerator.Results |
StatusCategoryClauseValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
ClauseValuesGenerator.Results |
ProjectCategoryClauseValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
ClauseValuesGenerator.Results |
SavedFilterValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
ClauseValuesGenerator.Results |
ProjectClauseValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
ClauseValuesGenerator.Results |
LabelsClauseValuesGenerator.getPossibleValues(ApplicationUser user,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
ClauseValuesGenerator.Results |
AbstractIssueConstantValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
ClauseValuesGenerator.Results |
IssueLinkTypesClauseValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
ClauseValuesGenerator.Results |
ComponentClauseValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
ClauseValuesGenerator.Results |
CustomFieldOptionsClauseValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
ClauseValuesGenerator.Results |
SecurityLevelClauseValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
ClauseValuesGenerator.Results |
GroupValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
ClauseValuesGenerator.Results |
UserClauseValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
ClauseValuesGenerator.Results |
ClauseValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults)
Will return a string representation of only the possible values that match the value prefix for this clause.
|
ClauseValuesGenerator.Results |
VersionClauseValuesGenerator.getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults) |
Modifier and Type | Method and Description |
---|---|
LicenseCheck.Result |
CreateIssueLicenseCheckImpl.evaluateWithUser(ApplicationUser user) |
LicenseCheck.Result |
CreateIssueLicenseCheck.evaluateWithUser(ApplicationUser user)
Perform this license check using the given
ApplicationUser . |
String |
MockLicenseDetails.getLicenseExpiryStatusMessage(ApplicationUser user) |
String |
DefaultLicenseDetails.getLicenseExpiryStatusMessage(ApplicationUser user) |
String |
LicenseDetails.getLicenseExpiryStatusMessage(ApplicationUser user)
Deprecated.
since 7.0.0 No replacement, generate your own message
|
String |
MockLicenseDetails.getLicenseStatusMessage(ApplicationUser user,
String delimiter,
UserManager userManager) |
String |
DefaultLicenseDetails.getLicenseStatusMessage(ApplicationUser user,
String delimiter,
UserManager userManager) |
String |
LicenseDetails.getLicenseStatusMessage(ApplicationUser user,
String delimiter,
UserManager userManager)
|
Modifier and Type | Method and Description |
---|---|
void |
AutoLookAndFeelManager.generateFromLogo(ApplicationUser user) |
boolean |
AutoLookAndFeelManager.isJustUpdated(ApplicationUser user) |
void |
AutoLookAndFeelManager.setJustUpdated(ApplicationUser user,
boolean justUpdated) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
TemplateIssue.getArchivedByUser() |
ApplicationUser |
TemplateIssue.getAssignee() |
ApplicationUser |
TemplateIssue.getAssigneeUser() |
ApplicationUser |
TemplateIssue.getCreator() |
ApplicationUser |
TemplateIssue.getReporter() |
ApplicationUser |
TemplateIssue.getReporterUser()
Return the reporter - an object will be returned even if the user has been deleted from the system.
|
Modifier and Type | Method and Description |
---|---|
SubscriptionSingleRecepientMailQueueItem |
DefaultSubscriptionMailQueueItemFactory.createSelfEvaluatingEmailQueueItem(FilterSubscription sub,
ApplicationUser recipient) |
SubscriptionSingleRecepientMailQueueItem |
SubscriptionMailQueueItemFactory.createSelfEvaluatingEmailQueueItem(FilterSubscription sub,
ApplicationUser recipient) |
List<ColumnLayoutItem> |
SubscriptionSingleRecepientMailQueueItem.getColumns(ApplicationUser user) |
static String |
JiraMailUtils.getFromNameForUser(ApplicationUser sender)
Returns the sender's name in the format specified by
APKeys.EMAIL_FROMHEADER_FORMAT ('Joe Bloggs (JIRA)' usually). |
static TemplateUser |
TemplateUser.getUser(ApplicationUser user) |
void |
MailServiceImpl.sendRenderedMail(ApplicationUser replyTo,
NotificationRecipient recipient,
String subjectTemplatePath,
String bodyTemplatePath,
Map<String,Object> context) |
void |
MailService.sendRenderedMail(ApplicationUser replyTo,
NotificationRecipient recipient,
String subjectTemplatePath,
String bodyTemplatePath,
Map<String,Object> context)
Sends a Velocity-rendered email by adding the template and context to a
MailQueueItem and adding that item to the queue. |
Constructor and Description |
---|
MailServiceQueueItemBuilder(ApplicationUser replyTo,
NotificationRecipient recipient,
String subjectTemplatePath,
String bodyTemplatePath,
Map<String,Object> context) |
MentionMailQueueItem(ApplicationUser from,
NotificationRecipient recipient,
Map<String,Object> context,
IssueRenderContext issueRenderContext,
RendererManager rendererManager,
com.atlassian.mail.queue.MailQueue mailQueue) |
Modifier and Type | Method and Description |
---|---|
String |
MailAttachmentsManagerImpl.getAvatarUrl(ApplicationUser user) |
String |
MailAttachmentsManager.getAvatarUrl(ApplicationUser user)
Returns a link to access user avatar in email message.
|
Modifier and Type | Method and Description |
---|---|
Set<ApplicationUser> |
MentionService.Mentions.getIssueCommentMentions()
Users mentioned in issue comment.
|
Set<ApplicationUser> |
MentionService.Mentions.getIssueDescriptionMentions()
Users mentioned in issue description.
|
Modifier and Type | Method and Description |
---|---|
List<UserIssueRelevance> |
MentionableUserSearcher.findRelatedUsersToMention(String searchString,
Issue issue,
ApplicationUser requestingUser,
int maxResults)
Calculates a list of users that are relevant to the issue so that they can be mentioned
|
List<UserIssueRelevance> |
SortedMentionableUserSearcher.findRelatedUsersToMention(String query,
Issue issue,
ApplicationUser requestingUser,
int maxResults) |
boolean |
MentionServiceImpl.isUserAbleToMention(ApplicationUser remoteUser) |
boolean |
MentionService.isUserAbleToMention(ApplicationUser remoteUser)
Whether the specified user is able to mention other users in a Jira issue.
|
void |
MentionServiceImpl.sendCommentMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Comment comment,
Comment originalComment) |
void |
MentionService.sendCommentMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Comment comment,
Comment originalComment)
Deprecated.
Use
MentionService.sendCommentMentions(Set, ApplicationUser, Comment, Comment) instead. Since v8.9. |
MentionService.MentionResult |
MentionServiceImpl.sendCommentMentions(Set<NotificationRecipient> currentRecipients,
ApplicationUser remoteUser,
Comment comment,
Comment originalComment) |
MentionService.MentionResult |
MentionService.sendCommentMentions(Set<NotificationRecipient> currentRecipients,
ApplicationUser remoteUser,
Comment comment,
Comment originalComment)
Given a comment object this method will look for any mentions using the
MentionFinder and send e-mails to
all users mentioned. |
void |
MentionServiceImpl.sendIssueCreateMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Issue issue) |
void |
MentionService.sendIssueCreateMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Issue issue)
Deprecated.
Use
MentionService.sendIssueCreateMentions(Set, ApplicationUser, Issue) instead. Since v8.9. |
MentionService.MentionResult |
MentionServiceImpl.sendIssueCreateMentions(Set<NotificationRecipient> currentRecipients,
ApplicationUser remoteUser,
Issue issue) |
MentionService.MentionResult |
MentionService.sendIssueCreateMentions(Set<NotificationRecipient> currentRecipients,
ApplicationUser remoteUser,
Issue issue)
Given an issue object this method will look for any mentions in the description field using the
MentionFinder and send e-mails to
all users mentioned. |
void |
MentionServiceImpl.sendIssueEditMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Issue issue,
Comment comment) |
void |
MentionService.sendIssueEditMentions(ApplicationUser remoteUser,
Set<NotificationRecipient> currentRecipients,
Issue issue,
Comment comment)
Deprecated.
Use
MentionService.sendIssueEditMentions(Set, ApplicationUser, Issue, Comment) instead. Since v8.9. |
MentionService.MentionResult |
MentionServiceImpl.sendIssueEditMentions(Set<NotificationRecipient> currentRecipients,
ApplicationUser remoteUser,
Issue issue,
Comment comment) |
MentionService.MentionResult |
MentionService.sendIssueEditMentions(Set<NotificationRecipient> currentRecipients,
ApplicationUser remoteUser,
Issue issue,
Comment comment)
Given an issue that has just been edited and an optional edit comment this method sends mention e-mails
to all users mentioned in either the new issue description or option edit comment.
|
Constructor and Description |
---|
Mentions(Set<ApplicationUser> issueDescriptionMentions,
Set<ApplicationUser> issueCommentMentions) |
Mentions(Set<ApplicationUser> issueDescriptionMentions,
Set<ApplicationUser> issueCommentMentions) |
Modifier and Type | Method and Description |
---|---|
MessageUtil |
MockMessageUtilFactory.getNewInstance(ApplicationUser user) |
MessageUtil |
MessageUtilFactory.getNewInstance(ApplicationUser user) |
MessageUtil |
MessageUtil.Factory.getNewInstance(ApplicationUser user)
Create a
MessageUtil using the specified user's locale. |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
MockJiraAuthenticationContext.getLoggedInUser() |
ApplicationUser |
MockJiraAuthenticationContext.getUser() |
Modifier and Type | Method and Description |
---|---|
Set<ApplicationUser> |
MockProjectRoleManager.MockRoleActor.getUsers() |
List<ApplicationUser> |
MockIssueManager.getWatchers(Issue issue) |
List<ApplicationUser> |
MockIssueManager.getWatchersFor(Issue issue) |
Modifier and Type | Method and Description |
---|---|
Issue |
MockIssueManager.archiveIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
boolean |
MockProjectRoleManager.MockRoleActor.contains(ApplicationUser user) |
org.ofbiz.core.entity.GenericValue |
MockIssueManager.createIssue(ApplicationUser remoteUser,
Issue issue) |
org.ofbiz.core.entity.GenericValue |
MockIssueManager.createIssue(ApplicationUser remoteUser,
Map fields) |
Issue |
MockIssueManager.createIssueObject(ApplicationUser remoteUser,
Issue issue) |
Issue |
MockIssueManager.createIssueObject(ApplicationUser remoteUser,
Map<String,Object> fields) |
Project |
MockProjectManager.createProject(ApplicationUser user,
ProjectCreationData projectCreationData) |
ProjectRoleManager.ProjectIdToProjectRoleIdsMap |
MockProjectRoleManager.createProjectIdToProjectRolesMap(ApplicationUser user,
Collection<Long> projectIds) |
void |
MockIssueManager.deleteIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
void |
MockIssueManager.deleteIssue(ApplicationUser user,
MutableIssue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
void |
MockFeatureManager.disableUserDarkFeature(ApplicationUser user,
String feature) |
void |
MockFeatureManager.enableUserDarkFeature(ApplicationUser user,
String feature) |
List |
MockIssueManager.execute(SearchRequest searchRequest,
ApplicationUser searcher)
Takes a search request object and returns a list of issues that match the search request
|
Set<ProjectRoleActor> |
MockProjectRoleManager.MockRoleActorFactory.getAllRoleActorsForUser(ApplicationUser user) |
DarkFeatures |
MockFeatureManager.getDarkFeaturesForUser(ApplicationUser user) |
Collection<ProjectRole> |
MockProjectRoleManager.getProjectRoles(ApplicationUser user,
Project project) |
List<Project> |
MockProjectManager.getProjectsLeadBy(ApplicationUser leadUser) |
List<Issue> |
MockIssueManager.getVotedIssues(ApplicationUser user) |
List<Issue> |
MockIssueManager.getVotedIssuesOverrideSecurity(ApplicationUser user) |
List<Issue> |
MockIssueManager.getWatchedIssues(ApplicationUser user) |
List<Issue> |
MockIssueManager.getWatchedIssuesOverrideSecurity(ApplicationUser user) |
boolean |
MockPermissionManager.hasPermission(int permissionsId,
ApplicationUser user) |
boolean |
MockPermissionManager.hasPermission(int permissionsId,
Issue issue,
ApplicationUser user) |
boolean |
MockPermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user) |
boolean |
MockPermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
MockPermissionManager.hasPermission(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser user) |
boolean |
MockPermissionManager.hasPermission(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
MockPermissionManager.hasProjects(int permissionId,
ApplicationUser user) |
boolean |
MockIssueManager.isEditable(Issue issue,
ApplicationUser user) |
boolean |
MockFeatureManager.isEnabledForUser(ApplicationUser user,
String featureKey) |
boolean |
MockProjectRoleManager.isUserInProjectRole(ApplicationUser user,
ProjectRole projectRole,
Project project) |
Issue |
MockIssueManager.restoreIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
void |
MockJiraAuthenticationContext.setLoggedInUser(ApplicationUser user) |
Issue |
MockIssueManager.updateIssue(ApplicationUser user,
MutableIssue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail) |
Issue |
MockIssueManager.updateIssue(ApplicationUser user,
MutableIssue issue,
UpdateIssueRequest updateIssueRequest) |
Project |
MockProjectManager.updateProjectType(ApplicationUser user,
Project project,
ProjectTypeKey newProjectType) |
boolean |
MockUserIconTypePolicy.userCanCreateFor(ApplicationUser remoteUser,
IconOwningObjectId owningObjectId) |
boolean |
MockProjectIconTypePolicy.userCanCreateFor(ApplicationUser remoteUser,
IconOwningObjectId owningObjectId) |
boolean |
MockUserIconTypePolicy.userCanDelete(ApplicationUser remoteUser,
Avatar icon) |
boolean |
MockProjectIconTypePolicy.userCanDelete(ApplicationUser remoteUser,
Avatar icon) |
boolean |
MockUserIconTypePolicy.userCanView(ApplicationUser remoteUser,
Avatar icon) |
boolean |
MockProjectIconTypePolicy.userCanView(ApplicationUser remoteUser,
Avatar icon) |
Constructor and Description |
---|
MockRoleActor(Long id,
Long projectRoleId,
Long projectId,
Set<ApplicationUser> users,
String type,
String parameter) |
Modifier and Type | Method and Description |
---|---|
I18nHelper |
MockI18nHelper.MockI18nHelperFactory.getInstance(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
MockIssue.getArchivedByUser() |
ApplicationUser |
MockIssue.getAssignee() |
ApplicationUser |
MockIssue.getAssigneeUser() |
ApplicationUser |
MockIssue.getCreator() |
ApplicationUser |
MockIssue.getReporter() |
ApplicationUser |
MockIssue.getReporterUser() |
Modifier and Type | Method and Description |
---|---|
void |
MockIssue.setAssignee(ApplicationUser assignee) |
void |
MockIssue.setReporter(ApplicationUser reporter) |
Modifier and Type | Method and Description |
---|---|
boolean |
MockClausePermissionChecker.hasPermissionToUseClause(ApplicationUser user) |
boolean |
MockClausePermissionChecker.hasPermissionToUseClause(ApplicationUser searcher,
Set<FieldLayout> fieldLayouts) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
MockSimpleAuthenticationContext.getLoggedInUser() |
ApplicationUser |
MockAuthenticationContext.getLoggedInUser() |
ApplicationUser |
MockSimpleAuthenticationContext.getUser() |
ApplicationUser |
MockAuthenticationContext.getUser() |
Modifier and Type | Method and Description |
---|---|
static MockSimpleAuthenticationContext |
MockSimpleAuthenticationContext.createNoopContext(ApplicationUser user) |
void |
MockSimpleAuthenticationContext.setLoggedInUser(ApplicationUser user) |
void |
MockAuthenticationContext.setLoggedInUser(ApplicationUser user) |
Constructor and Description |
---|
MockAuthenticationContext(ApplicationUser user) |
MockAuthenticationContext(ApplicationUser user,
I18nHelper i18nHelper) |
MockSimpleAuthenticationContext(ApplicationUser user) |
MockSimpleAuthenticationContext(ApplicationUser user,
Locale locale) |
MockSimpleAuthenticationContext(ApplicationUser user,
Locale locale,
I18nHelper helper) |
Modifier and Type | Method and Description |
---|---|
void |
MockUserHistoryManager.addItemToHistory(UserHistoryItem.Type type,
ApplicationUser user,
String entityId) |
void |
MockUserHistoryManager.addItemToHistory(UserHistoryItem.Type type,
ApplicationUser user,
String entityId,
String data) |
void |
MockUserHistoryManager.addUserToHistory(UserHistoryItem.Type type,
ApplicationUser user,
ApplicationUser entity) |
List<UserHistoryItem> |
MockUserHistoryManager.getHistory(UserHistoryItem.Type type,
ApplicationUser user) |
boolean |
MockUserHistoryManager.hasHistory(UserHistoryItem.Type type,
ApplicationUser user) |
void |
MockUserHistoryManager.removeHistoryForUser(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractMoveSubTaskOperation.canPerform(MoveIssueBean moveIssueBean,
ApplicationUser remoteUser) |
boolean |
MoveSubTaskTypeOperation.canPerform(MoveIssueBean moveIssueBean,
ApplicationUser remoteUser) |
boolean |
MoveSubTaskOperation.canPerform(MoveIssueBean moveIssueBean,
ApplicationUser remoteUser)
Determines whether the operation can be performed with the given issue
|
Modifier and Type | Method and Description |
---|---|
String |
MyJiraHomePreferenceImpl.findHome(ApplicationUser user) |
Map |
MyJiraHomeSelectionProvider.getContextMap(ApplicationUser user,
JiraHelper jiraHelper) |
String |
MyJiraHomeStorageImpl.load(ApplicationUser user) |
String |
MyJiraHomeStorage.load(ApplicationUser user)
Returns the home stored for the given user.
|
void |
MyJiraHomeStorageImpl.store(ApplicationUser user,
String home) |
void |
MyJiraHomeStorage.store(ApplicationUser user,
String home)
Stores the given home for the given user.
|
void |
MyJiraHomeUpdateServiceImpl.updateHome(ApplicationUser user,
String completePluginModuleKey) |
void |
MyJiraHomeUpdateService.updateHome(ApplicationUser user,
String completePluginModuleKey)
Updates the user's My JIRA Home location to be provided by the given plugin module.
|
Modifier and Type | Field and Description |
---|---|
protected ApplicationUser |
AdhocNotificationService.ValidateNotificationResult.from |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
UserNotification.getApplicationUser() |
ApplicationUser |
NotificationRecipient.getUser()
Returns a user if this NotificationRecipient was constructed with a user.
|
ApplicationUser |
NotificationRecipient.getUserRecipient()
Deprecated.
Use
NotificationRecipient.getUser() instead. Since v6.0. |
Constructor and Description |
---|
NotificationRecipient(ApplicationUser user)
The format is set to html or text as specified in jira-application.properties file.
|
UserNotification(Long id,
NotificationType notificationType,
ApplicationUser applicationUser,
String parameter) |
ValidateNotificationResult(ErrorCollection errorCollection,
NotificationBuilder notification,
com.google.common.base.Supplier<Iterable<NotificationRecipient>> recipients,
ApplicationUser from,
Issue issue) |
Modifier and Type | Method and Description |
---|---|
protected ApplicationUser |
CurrentAssignee.getPreviousAssignee(IssueEvent event)
Designed to be overrriden for testing.
|
Modifier and Type | Method and Description |
---|---|
Set<ApplicationUser> |
ProjectRoleSecurityAndNotificationType.getUsers(PermissionContext permissionContext,
String roleId) |
protected Set<ApplicationUser> |
ProjectRoleSecurityAndNotificationType.getUsersFromRole(Project project,
String roleId)
Get all the users that satisfy this particular role.
|
Modifier and Type | Method and Description |
---|---|
NotificationRecipient |
UserToRecipient.apply(ApplicationUser user) |
NotificationRecipient |
ApplicationUserToRecipient.apply(ApplicationUser user) |
Set<org.apache.lucene.util.BytesRef> |
ProjectRoleSecurityAndNotificationType.getPermissionFieldContents(ApplicationUser searcher,
Project project,
IssueSecurityLevel securityLevel,
String parameter) |
boolean |
ProjectRoleSecurityAndNotificationType.hasPermission(Issue issue,
String parameter,
ApplicationUser user,
boolean issueCreation) |
boolean |
ProjectRoleSecurityAndNotificationType.hasPermission(Project project,
String argument,
ApplicationUser user,
boolean issueCreation) |
Modifier and Type | Method and Description |
---|---|
void |
OnboardingServiceImpl.completeFirstUseFlow(ApplicationUser user) |
void |
OnboardingService.completeFirstUseFlow(ApplicationUser user)
Mark the user as completing their first user flow
|
boolean |
UserCheckerImpl.firstTimeLoggingIn(ApplicationUser user) |
boolean |
UserChecker.firstTimeLoggingIn(ApplicationUser user)
Tests whether this is the first time a user has logged in.
|
boolean |
OnboardingStoreImpl.getBoolean(ApplicationUser user,
String key) |
boolean |
OnboardingStore.getBoolean(ApplicationUser user,
String key) |
String |
OnboardingServiceImpl.getCurrentFirstUseFlowSequence(ApplicationUser user) |
String |
OnboardingService.getCurrentFirstUseFlowSequence(ApplicationUser user)
Get the current sequence key for the flow that the user is completing.
|
FirstUseFlow |
OnboardingServiceImpl.getFirstUseFlow(ApplicationUser user) |
FirstUseFlow |
OnboardingService.getFirstUseFlow(ApplicationUser user)
Checks whether the user should do an onboarding flow for the product.
|
String |
OnboardingServiceImpl.getStartedFirstUseFlowKey(ApplicationUser user) |
String |
OnboardingService.getStartedFirstUseFlowKey(ApplicationUser user)
Get the key of the flow that the user is completing.
|
String |
OnboardingStoreImpl.getString(ApplicationUser user,
String key) |
String |
OnboardingStore.getString(ApplicationUser user,
String key) |
boolean |
OnboardingServiceImpl.hasCompletedFirstUseFlow(ApplicationUser user) |
boolean |
OnboardingService.hasCompletedFirstUseFlow(ApplicationUser user) |
boolean |
FirstUseFlow.isApplicable(ApplicationUser user)
A hook point to allow a flow to check whether it would be appropriate to put the user through it.
|
boolean |
UserCheckerImpl.isImpersonationActive(ApplicationUser user) |
boolean |
UserChecker.isImpersonationActive(ApplicationUser user)
Checks whether the current user is impersonating a second user
|
boolean |
UserCheckerImpl.isOnDemandSysAdmin(ApplicationUser user) |
boolean |
UserChecker.isOnDemandSysAdmin(ApplicationUser user)
Deprecated.
|
boolean |
OnboardingStoreImpl.isSet(ApplicationUser user,
String key) |
boolean |
OnboardingStore.isSet(ApplicationUser user,
String key) |
void |
OnboardingStoreImpl.setBoolean(ApplicationUser user,
String key,
boolean value) |
void |
OnboardingStore.setBoolean(ApplicationUser user,
String key,
boolean value) |
void |
OnboardingServiceImpl.setCurrentFirstUseFlowSequence(ApplicationUser user,
String sequenceKey) |
void |
OnboardingService.setCurrentFirstUseFlowSequence(ApplicationUser user,
String sequenceKey)
Assign the user as beginning a current sequence in the flow
|
void |
OnboardingStoreImpl.setString(ApplicationUser user,
String key,
String value) |
void |
OnboardingStore.setString(ApplicationUser user,
String key,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultJiraFirstUseFlow.isApplicable(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
Boolean |
CreateProjectSequenceData.getCanCompleteCreateProjectSequence(ApplicationUser user) |
String |
SequenceControllerDataProvider.getCurrentFlowKey(ApplicationUser user) |
String |
SequenceControllerDataProvider.getCurrentSequenceKey(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
void |
PostSetupAnnouncements.activitiesAnnounced(io.atlassian.fugue.Option<ApplicationUser> user,
List<String> activityIds) |
void |
PostSetupAnnouncementService.activitiesAnnounced(io.atlassian.fugue.Option<ApplicationUser> user,
List<String> activityIds)
Marks given announcements as announced, so they no longer will be reported as ready
|
boolean |
AnnouncementAccessPolicy.canRead(io.atlassian.fugue.Option<ApplicationUser> user) |
boolean |
AdminOnlyAccessPolicy.canRead(io.atlassian.fugue.Option<ApplicationUser> userOption) |
boolean |
AnnouncementAccessPolicy.canUpdate(io.atlassian.fugue.Option<ApplicationUser> user) |
boolean |
AdminOnlyAccessPolicy.canUpdate(io.atlassian.fugue.Option<ApplicationUser> userOption) |
List<PostSetupAnnouncementStatus> |
PostSetupAnnouncements.getReadyAnnouncements(io.atlassian.fugue.Option<ApplicationUser> user) |
List<PostSetupAnnouncementStatus> |
PostSetupAnnouncementService.getReadyAnnouncements(io.atlassian.fugue.Option<ApplicationUser> user)
Get list of post setup announcements that are ready to be shown to user.
|
boolean |
PostSetupAnnouncements.hasAnnouncements(io.atlassian.fugue.Option<ApplicationUser> user) |
boolean |
PostSetupAnnouncementService.hasAnnouncements(io.atlassian.fugue.Option<ApplicationUser> user)
Gives information if there are any announcements ready to show to user.
|
void |
PostSetupAnnouncements.recalculateStatuses(io.atlassian.fugue.Option<ApplicationUser> user) |
void |
PostSetupAnnouncementService.recalculateStatuses(io.atlassian.fugue.Option<ApplicationUser> user)
Forces recalculation of post setup announcement statuses
|
void |
PostSetupAnnouncements.reset(io.atlassian.fugue.Option<ApplicationUser> user) |
void |
PostSetupAnnouncementService.reset(io.atlassian.fugue.Option<ApplicationUser> user)
Reset all announcements to await state.
|
Modifier and Type | Method and Description |
---|---|
Collection<ApplicationUser> |
WorkflowBasedPermissionSchemeManager.getUsers(Long permissionId,
PermissionContext ctx) |
Collection<ApplicationUser> |
PermissionSchemeManager.getUsers(Long permissionId,
PermissionContext ctx)
Deprecated.
|
Set<ApplicationUser> |
WorkflowPermission.getUsers(PermissionContext ctx)
Get users specified by this permission (eg.
|
Set<ApplicationUser> |
DenyWorkflowPermission.getUsers(PermissionContext ctx) |
Set<ApplicationUser> |
DefaultWorkflowPermission.getUsers(PermissionContext ctx) |
Collection<ApplicationUser> |
DefaultPermissionSchemeManager.getUsers(ProjectPermissionKey permissionKey,
PermissionContext ctx) |
Collection<ApplicationUser> |
WorkflowBasedPermissionSchemeManager.getUsers(ProjectPermissionKey permissionKey,
PermissionContext ctx) |
Collection<ApplicationUser> |
PermissionSchemeManager.getUsers(ProjectPermissionKey permissionKey,
PermissionContext ctx) |
Modifier and Type | Method and Description |
---|---|
boolean |
WorkflowPermission.allows(ProjectPermissionKey permission,
Issue issue,
ApplicationUser user)
Whether this workflow permission allows a permission.
|
boolean |
DenyWorkflowPermission.allows(ProjectPermissionKey permission,
Issue issue,
ApplicationUser user) |
boolean |
DefaultWorkflowPermission.allows(ProjectPermissionKey permission,
Issue issue,
ApplicationUser user) |
ServiceResult |
DefaultPermissionSchemeService.assignPermissionSchemeToProject(ApplicationUser user,
Long schemeId,
Long projectId) |
ServiceResult |
PermissionSchemeService.assignPermissionSchemeToProject(ApplicationUser user,
Long schemeId,
Long projectId)
Sets the specified permission scheme in the given project.
|
ServiceOutcome<PermissionScheme> |
DefaultPermissionSchemeService.createPermissionScheme(ApplicationUser user,
PermissionSchemeInput permissionScheme) |
ServiceOutcome<PermissionScheme> |
PermissionSchemeService.createPermissionScheme(ApplicationUser user,
PermissionSchemeInput permissionScheme)
Creates a new permission scheme.
|
ServiceResult |
DefaultPermissionSchemeService.deletePermissionScheme(ApplicationUser user,
Long id) |
ServiceResult |
PermissionSchemeService.deletePermissionScheme(ApplicationUser user,
Long id)
Deletes a permission scheme.
|
ServiceOutcome<PermissionScheme> |
DefaultPermissionSchemeService.getPermissionScheme(ApplicationUser user,
Long id) |
ServiceOutcome<PermissionScheme> |
PermissionSchemeService.getPermissionScheme(ApplicationUser user,
Long id)
Returns a permission scheme with the specified id.
|
ServiceOutcome<com.google.common.collect.ImmutableList<PermissionScheme>> |
DefaultPermissionSchemeService.getPermissionSchemes(ApplicationUser user) |
ServiceOutcome<? extends List<PermissionScheme>> |
PermissionSchemeService.getPermissionSchemes(ApplicationUser user)
Returns all permission schemes sorted alphabetically by name.
|
ServiceOutcome<PermissionScheme> |
DefaultPermissionSchemeService.getSchemeAssignedToProject(ApplicationUser user,
Long projectId) |
ServiceOutcome<PermissionScheme> |
PermissionSchemeService.getSchemeAssignedToProject(ApplicationUser user,
Long projectId)
Returns a permission scheme assigned to the specified project.
|
ProjectWidePermission |
DefaultPermissionSchemeManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
ProjectWidePermission |
PermissionSchemeManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
DefaultPermissionSchemeManager.hasSchemePermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
boolean issueCreation) |
boolean |
PermissionSchemeManager.hasSchemePermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
boolean issueCreation)
Checks the given user's permission of the given permission type for the given issue.
|
boolean |
DefaultPermissionSchemeManager.hasSchemePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
PermissionSchemeManager.hasSchemePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation)
Checks the given user's permission of the given permission type for the given project.
|
ServiceOutcome<PermissionScheme> |
DefaultPermissionSchemeService.updatePermissionScheme(ApplicationUser user,
Long id,
PermissionSchemeInput permissionScheme) |
ServiceOutcome<PermissionScheme> |
PermissionSchemeService.updatePermissionScheme(ApplicationUser user,
Long id,
PermissionSchemeInput permissionScheme)
Updates a permission scheme identified by the given id.
|
ErrorCollection |
PermissionGrantValidator.validateGrant(ApplicationUser user,
PermissionGrantInput grants) |
ErrorCollection |
PermissionGrantValidator.validateGrants(ApplicationUser user,
Iterable<PermissionGrantInput> grants) |
Modifier and Type | Method and Description |
---|---|
io.atlassian.fugue.Either<ErrorCollection,ProjectPermissionSchemeBean> |
ManagedPermissionSchemeHelper.addManagedPermissionSchemeGrants(ApplicationUser user,
Long permissionSchemeId,
PermissionsInputBean inputBean)
This allows a list of security types to be add to a list of permissions inside a permission scheme
|
io.atlassian.fugue.Either<ErrorCollection,ProjectPermissionSchemeBean> |
ManagedPermissionSchemeHelperImpl.addManagedPermissionSchemeGrants(ApplicationUser user,
Long permissionSchemeId,
PermissionsInputBean inputBean) |
List<SecurityTypeBean> |
SecurityTypeValuesService.buildPrimarySecurityTypes(ApplicationUser user)
Given a user return primary security types returning their bean information
|
List<SecurityTypeBean> |
SecurityTypeValuesServiceImpl.buildPrimarySecurityTypes(ApplicationUser user) |
List<SecurityTypeBean> |
SecurityTypeValuesService.buildSecondarySecurityTypes(ApplicationUser user)
Given a user return secondary security types returning their bean information
|
List<SecurityTypeBean> |
SecurityTypeValuesServiceImpl.buildSecondarySecurityTypes(ApplicationUser user) |
io.atlassian.fugue.Either<ErrorCollection,ProjectPermissionSchemeBean> |
ManagedPermissionSchemeHelper.getManagedPermissionScheme(ApplicationUser user,
Long permissionSchemeId)
Gets information that allows the manage permission scheme to be displayed
|
io.atlassian.fugue.Either<ErrorCollection,ProjectPermissionSchemeBean> |
ManagedPermissionSchemeHelperImpl.getManagedPermissionScheme(ApplicationUser user,
Long permissionSchemeId) |
io.atlassian.fugue.Either<ErrorCollection,ProjectPermissionAddBean> |
ManagedPermissionSchemeHelper.getManagedPermissionSchemeAddView(ApplicationUser user,
Long permissionSchemeId,
String permissionKey)
Gets information that allows the add to permission scheme to be displayed
|
io.atlassian.fugue.Either<ErrorCollection,ProjectPermissionAddBean> |
ManagedPermissionSchemeHelperImpl.getManagedPermissionSchemeAddView(ApplicationUser user,
Long permissionSchemeId,
String permissionKey) |
io.atlassian.fugue.Either<ErrorCollection,ProjectPermissionAddBean> |
ManagedPermissionSchemeHelper.getManagedPermissionSchemeAddViewSecurityTypes(ApplicationUser user)
Returns the security types split into primary and secondary types for display.
|
io.atlassian.fugue.Either<ErrorCollection,ProjectPermissionAddBean> |
ManagedPermissionSchemeHelperImpl.getManagedPermissionSchemeAddViewSecurityTypes(ApplicationUser user) |
io.atlassian.fugue.Either<ErrorCollection,ProjectPermissionSchemeBean> |
ManagedPermissionSchemeHelper.removeManagedPermissionSchemeGrants(ApplicationUser user,
Long permissionSchemeId,
List<Long> grantsToDelete)
This allows a list of security types to be removed from a permission scheme
|
io.atlassian.fugue.Either<ErrorCollection,ProjectPermissionSchemeBean> |
ManagedPermissionSchemeHelperImpl.removeManagedPermissionSchemeGrants(ApplicationUser user,
Long permissionSchemeId,
List<Long> grantsToDelete) |
ErrorCollection |
ManagedPermissionSchemeEditingService.validateAddPermissions(ApplicationUser loggedInUser,
PermissionsInputBean inputBean)
Validates whether the security types can be added to the permissions.
|
ErrorCollection |
ManagedPermissionSchemeEditingServiceImpl.validateAddPermissions(ApplicationUser applicationUser,
PermissionsInputBean inputBean) |
Modifier and Type | Method and Description |
---|---|
boolean |
IsUpgradeInProgressCondition.shouldDisplay(ApplicationUser applicationUser,
JiraHelper jiraHelper) |
boolean |
CurrentPageIsUpgradesPage.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
AssigneeResolver.getDefaultAssignee(Issue issue,
Map fieldValuesHolder)
Determines the actual User the issue should be assigned to.
|
ApplicationUser |
AssigneeResolver.getDefaultAssigneeObject(Issue issue,
Map fieldValuesHolder)
Determines the default User the issue should be assigned to.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
DefaultAssigneeResolver.getDefaultAssignee(Issue issue,
Map fieldValuesHolder)
Resolves the 'Automatic' assignee based on Project and Component values of the issue
|
ApplicationUser |
DefaultAssigneeResolver.getDefaultAssigneeObject(Issue issue,
Map fieldValuesHolder) |
Modifier and Type | Method and Description |
---|---|
StatsGroup |
SingleLevelGroupByReport.getOptions(SearchRequest sr,
ApplicationUser user,
StatisticsMapper mapper) |
StatsGroup |
SingleLevelGroupByReport.searchMapIssueKeys(SearchRequest request,
ApplicationUser searcher,
StatisticsMapper mapper) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
CreateMenuContextProvider.getContextMap(ApplicationUser user,
JiraHelper jiraHelper) |
Modifier and Type | Method and Description |
---|---|
boolean |
NewsletterUserPreferencesManager.shouldShowSignupTip(io.atlassian.fugue.Option<ApplicationUser> user)
Returns true if it's been more than 7 days after the first time they logged in.
|
Modifier and Type | Method and Description |
---|---|
URI |
IconImageResolverImpl.getAvatarAbsoluteUri(ApplicationUser avatarUser,
Avatar avatar,
Avatar.Size requestedSize) |
URI |
IconImageResolverImpl.getAvatarRelativeUri(ApplicationUser remoteUser,
Avatar avatar,
Avatar.Size requestedSize) |
boolean |
ProjectIconTypePolicy.userCanCreateFor(ApplicationUser remoteUser,
IconOwningObjectId owningObjectId) |
boolean |
UserIconTypePolicy.userCanCreateFor(ApplicationUser remoteUser,
IconOwningObjectId owningObjectId) |
boolean |
IssueTypeIconTypePolicy.userCanCreateFor(ApplicationUser remoteUser,
IconOwningObjectId owningObjectId) |
boolean |
IconTypePolicy.userCanCreateFor(ApplicationUser remoteUser,
IconOwningObjectId owningObjectId)
Check if the user could create an avatar for this owning object.
|
boolean |
ProjectIconTypePolicy.userCanDelete(ApplicationUser remoteUser,
Avatar icon) |
boolean |
UserIconTypePolicy.userCanDelete(ApplicationUser remoteUser,
Avatar icon) |
boolean |
IssueTypeIconTypePolicy.userCanDelete(ApplicationUser remoteUser,
Avatar icon) |
boolean |
IconTypePolicy.userCanDelete(ApplicationUser remoteUser,
Avatar icon)
Check if the user can delete the icon.
|
boolean |
ProjectIconTypePolicy.userCanView(ApplicationUser remoteUser,
Avatar icon) |
boolean |
UserIconTypePolicy.userCanView(ApplicationUser remoteUser,
Avatar icon) |
boolean |
IssueTypeIconTypePolicy.userCanView(ApplicationUser remoteUser,
Avatar icon) |
boolean |
IconTypePolicy.userCanView(ApplicationUser remoteUser,
Avatar icon)
Check if the user can view the icon.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
GetActionsRequest.loggedInUser() |
ApplicationUser |
GetActionsRequest.remoteUser() |
ApplicationUser |
ShowPanelRequest.remoteUser() |
Modifier and Type | Method and Description |
---|---|
List<IssueAction> |
IssueTabPanel.getActions(Issue issue,
ApplicationUser remoteUser)
Return a list of issue actions in the order that you want them to be displayed.
|
List<IssueAction> |
AbstractIssueTabPanel2.getActions(Issue issue,
ApplicationUser remoteUser)
Bridge method that delegates to the new
IssueTabPanel2.getActions(GetActionsRequest) method. |
boolean |
IssueTabPanel.showPanel(Issue issue,
ApplicationUser remoteUser)
Whether or not to show this tab panel to the given User for the given Issue.
|
boolean |
AbstractIssueTabPanel2.showPanel(Issue issue,
ApplicationUser remoteUser)
Bridge method that delegates to the new
IssueTabPanel2.showPanel(ShowPanelRequest) method. |
Constructor and Description |
---|
GetActionsRequest(Issue issue,
ApplicationUser remoteUser,
boolean asynchronous,
boolean showAll,
String focusId) |
ShowPanelRequest(Issue issue,
ApplicationUser remoteUser) |
Modifier and Type | Method and Description |
---|---|
protected abstract Collection<Version> |
AbstractVersionsFunction.getAllVersions(ApplicationUser user) |
protected Collection<Version> |
AllUnreleasedVersionsFunction.getAllVersions(ApplicationUser user) |
protected Collection<Version> |
AllReleasedVersionsFunction.getAllVersions(ApplicationUser user) |
protected Collection<Version> |
EarliestUnreleasedVersionFunction.getAllVersions(ApplicationUser user) |
protected Collection<Version> |
LatestReleasedVersionFunction.getAllVersions(ApplicationUser user) |
protected abstract List<QueryLiteral> |
AbstractUserBasedFunction.getFunctionValuesList(QueryCreationContext queryCreationContext,
FunctionOperand operand,
ApplicationUser user)
Get the function return values based on the actual user.
|
protected List<QueryLiteral> |
ComponentsLeadByUserFunction.getFunctionValuesList(QueryCreationContext queryCreationContext,
FunctionOperand functionOperand,
ApplicationUser user) |
protected List<QueryLiteral> |
ProjectsLeadByUserFunction.getFunctionValuesList(QueryCreationContext queryCreationContext,
FunctionOperand functionOperand,
ApplicationUser user) |
protected List<QueryLiteral> |
ProjectsWhereUserHasRoleFunction.getFunctionValuesList(QueryCreationContext queryCreationContext,
FunctionOperand functionOperand,
ApplicationUser user,
String roleName) |
protected abstract List<QueryLiteral> |
AbstractUserCapabilityFunction.getFunctionValuesList(QueryCreationContext queryCreationContext,
FunctionOperand operand,
ApplicationUser user,
String capability)
Get the function return values based on the actual user and capability.
|
protected List<QueryLiteral> |
ProjectsWhereUserHasPermissionFunction.getFunctionValuesList(QueryCreationContext queryCreationContext,
FunctionOperand functionOperand,
ApplicationUser user,
String permissionName) |
FunctionOperand |
AbstractVersionsFunction.sanitiseOperand(ApplicationUser searcher,
FunctionOperand operand) |
FunctionOperand |
LinkedIssuesFunction.sanitiseOperand(ApplicationUser searcher,
FunctionOperand operand) |
FunctionOperand |
ClauseSanitisingJqlFunction.sanitiseOperand(ApplicationUser searcher,
FunctionOperand operand)
Sanitise a function operand for the specified user, so that information is not leaked.
|
MessageSet |
CascadeOptionFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
AbstractVersionsFunction.validate(ApplicationUser searcherUser,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
AbstractUserBasedFunction.validate(ApplicationUser searcher,
FunctionOperand functionOperand,
TerminalClause terminalClause) |
MessageSet |
UpdatedByFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
RemoteLinksByGlobalIdFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
IssueHistoryFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
AllSubIssueTypesFunction.validate(ApplicationUser user,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
AbstractIssueTypeFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
NowFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
CurrentLoginFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
AbstractUserCapabilityFunction.validate(ApplicationUser searcher,
FunctionOperand functionOperand,
TerminalClause terminalClause) |
MessageSet |
WatchedIssuesFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
LastLoginFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
MembersOfFunction.validate(ApplicationUser searcher,
FunctionOperand functionOperand,
TerminalClause terminalClause) |
MessageSet |
AbstractDateFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
CurrentUserFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
LinkedIssuesFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
VotedIssuesFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause) |
MessageSet |
JqlFunction.validate(ApplicationUser searcher,
FunctionOperand operand,
TerminalClause terminalClause)
Will validate the function operand's arguments and report back any errors.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
MyJiraHomeChangedEvent.getApplicationUser() |
Modifier and Type | Method and Description |
---|---|
String |
MyJiraHomePreferenceOsgiDelegator.findHome(ApplicationUser user) |
String |
MyJiraHomePreference.findHome(ApplicationUser user)
Finds a home location for the given user.
|
String |
MyJiraHomeLinker.getHomeLink(ApplicationUser user)
Returns the My JIRA Home as a link for the given user.
|
String |
MyJiraHomeLinkerImpl.getHomeLink(ApplicationUser user) |
Constructor and Description |
---|
MyJiraHomeChangedEvent(ApplicationUser user,
String fromHomePluginModuleKey,
String toHomePluginModuleKey) |
Modifier and Type | Method and Description |
---|---|
String |
DarkFeaturesUserProfilePanel.getHtml(ApplicationUser profileUser) |
String |
DefaultProfilePanel.getHtml(ApplicationUser profileUser) |
String |
ViewProfilePanel.getHtml(ApplicationUser profileUser)
Renders the html to be used in this profile panel.
|
boolean |
DarkFeaturesUserProfilePanel.showPanel(ApplicationUser profileUser,
ApplicationUser currentUser) |
boolean |
OptionalUserProfilePanel.showPanel(ApplicationUser profileUser,
ApplicationUser currentUser)
Whether or not to show the panel for a given user to a given user.
|
Modifier and Type | Method and Description |
---|---|
protected abstract String |
DefaultPluggableProjectOperation.getContentHtml(Project project,
ApplicationUser user) |
String |
DefaultPluggableProjectOperation.getHtml(Project project,
ApplicationUser user) |
String |
PluggableProjectOperation.getHtml(Project project,
ApplicationUser user)
Get the HTML to present on screen
|
protected abstract String |
DefaultPluggableProjectOperation.getLabelHtml(Project project,
ApplicationUser user) |
boolean |
PluggableProjectOperation.showOperation(Project project,
ApplicationUser user)
Whether or not to show this operation for the given project and user.
|
Modifier and Type | Method and Description |
---|---|
List<Issue> |
DefaultReportSubTaskFetcher.getSubTasks(ApplicationUser user,
List<Issue> parentIssues,
SubTaskInclusionOption subtaskInclusion,
boolean onlyIncludeUnresolved) |
List<Issue> |
ReportSubTaskFetcher.getSubTasks(ApplicationUser user,
List<Issue> parentIssues,
SubTaskInclusionOption subtaskInclusion,
boolean onlyIncludeUnresolved)
Given a list of parent issues, returns a list of subtasks visible to the user,
subject to the subtask inclusion policy at
SubTaskInclusionOption . |
List<Issue> |
DefaultReportSubTaskFetcher.getSubTasksForUser(ApplicationUser user,
List<Issue> parentIssues,
SubTaskInclusionOption subtaskInclusion,
boolean onlyIncludeUnresolved) |
List<Issue> |
ReportSubTaskFetcher.getSubTasksForUser(ApplicationUser user,
List<Issue> parentIssues,
SubTaskInclusionOption subtaskInclusion,
boolean onlyIncludeUnresolved)
Given a list of parent issues, returns a list of subtasks visible to the user,
subject to the subtask inclusion policy at
SubTaskInclusionOption . |
Modifier and Type | Method and Description |
---|---|
Authorizer.Result |
AuthorizerImpl.isSearchRequestAuthorized(ApplicationUser user,
SearchRequest searchRequest,
SearchRequestParams params) |
Authorizer.Result |
Authorizer.isSearchRequestAuthorized(ApplicationUser user,
SearchRequest searchRequest,
SearchRequestParams params)
Can the specified user perform this SearchRequest?
|
Modifier and Type | Method and Description |
---|---|
Collection<WebErrorMessage> |
PasswordPolicyManager.checkPolicy(ApplicationUser user,
String oldPassword,
String newPassword)
Checks the password policies against a proposed password change for an existing user.
|
Collection<WebErrorMessage> |
PasswordPolicyManagerImpl.checkPolicy(ApplicationUser user,
String oldPassword,
String newPassword) |
List<WebErrorMessage> |
PreDeleteUserErrors.getPreDeleteUserErrors(ApplicationUser user)
This will be called when a user is about to be deleted.
|
com.google.common.collect.ImmutableList<WebErrorMessage> |
PreDeleteUserErrorsManager.getWarnings(ApplicationUser user)
Handles the collecting all the
WebErrorMessage for the pre-delete-user-errors plugin point |
com.google.common.collect.ImmutableList<WebErrorMessage> |
PreDeleteUserErrorsManagerImpl.getWarnings(ApplicationUser user) |
Collection<WebErrorMessage> |
PasswordPolicy.validatePolicy(ApplicationUser user,
String oldPassword,
String newPassword)
This will be called when a user attempts to change a password.
|
Modifier and Type | Method and Description |
---|---|
String |
FullProfileUserFormat.getDisplayEmail(ApplicationUser user) |
List<String> |
FullProfileUserFormat.getGroupNames(ApplicationUser user) |
String |
FullProfileUserFormat.getUserLinks(ApplicationUser profileUser,
String template) |
Map |
FullProfileUserFormat.getUserProperties(ApplicationUser user)
These user properties are currently only visible to JIRA Administrators
|
boolean |
FullProfileUserFormat.isEmailVisible(ApplicationUser user) |
boolean |
FullProfileUserFormat.isUserLoggedinUser(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
boolean |
ShowDescriptionCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
Constructor and Description |
---|
SubTaskTableRenderer(Issue issue,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
Optional<ApplicationUser> |
JiraWebContext.getUser()
Tries to figure out the user from context.
|
Modifier and Type | Method and Description |
---|---|
List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor> |
JiraWebInterfaceManager.getDisplayableItems(String section,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
|
List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor> |
JiraWebInterfaceManager.getDisplayableSections(String location,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
|
List<SimpleLink> |
SimpleLinkFactory.getLinks(ApplicationUser user,
Map<String,Object> params)
Deprecated.
Generates a list of
SimpleLink objects. |
List<SimpleLink> |
DefaultSimpleLinkManager.getLinksForSection(String section,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
|
List<SimpleLink> |
ThreadLocalCachingSimpleLinkManager.getLinksForSection(String section,
ApplicationUser remoteUser,
JiraHelper jiraHelper) |
List<SimpleLink> |
SimpleLinkManager.getLinksForSection(String section,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
Gets a list of
SimpleLink for the given section. |
List<SimpleLink> |
DefaultSimpleLinkManager.getLinksForSection(String section,
ApplicationUser remoteUser,
JiraHelper jiraHelper,
boolean addIconCachingPrefix)
Deprecated.
|
List<SimpleLink> |
ThreadLocalCachingSimpleLinkManager.getLinksForSection(String section,
ApplicationUser remoteUser,
JiraHelper jiraHelper,
boolean addIconCachingPrefix) |
List<SimpleLink> |
SimpleLinkManager.getLinksForSection(String section,
ApplicationUser remoteUser,
JiraHelper jiraHelper,
boolean addIconCachingPrefix)
Deprecated.
Gets a list of
SimpleLink for the given section. |
List<SimpleLink> |
DefaultSimpleLinkManager.getLinksForSectionIgnoreConditions(String section,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
|
List<SimpleLink> |
ThreadLocalCachingSimpleLinkManager.getLinksForSectionIgnoreConditions(String section,
ApplicationUser remoteUser,
JiraHelper jiraHelper) |
List<SimpleLink> |
SimpleLinkManager.getLinksForSectionIgnoreConditions(String section,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
Gets a list of
SimpleLink for the given section, without
filtering links using the conditions specified for the links. |
List<SimpleLinkSection> |
DefaultSimpleLinkManager.getNotEmptySectionsForLocation(String location,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
|
List<SimpleLinkSection> |
ThreadLocalCachingSimpleLinkManager.getNotEmptySectionsForLocation(String location,
ApplicationUser remoteUser,
JiraHelper jiraHelper) |
List<SimpleLinkSection> |
SimpleLinkManager.getNotEmptySectionsForLocation(String location,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
Gets a list of
SimpleLinkSection for the given location, that have either web-items or
other web-sections within them. |
SimpleLinkSection |
DefaultSimpleLinkManager.getSectionForURL(String topLevelSection,
String URL,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
|
SimpleLinkSection |
ThreadLocalCachingSimpleLinkManager.getSectionForURL(String topLevelSection,
String URL,
ApplicationUser remoteUser,
JiraHelper jiraHelper) |
SimpleLinkSection |
SimpleLinkManager.getSectionForURL(String topLevelSection,
String URL,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
Recursively search through our sections within sections within sections within ...
|
List<SimpleLinkSection> |
DefaultSimpleLinkManager.getSectionsForLocation(String location,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
|
List<SimpleLinkSection> |
ThreadLocalCachingSimpleLinkManager.getSectionsForLocation(String location,
ApplicationUser remoteUser,
JiraHelper jiraHelper) |
List<SimpleLinkSection> |
SimpleLinkManager.getSectionsForLocation(String location,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
Gets a list of
SimpleLinkSection for the given location. |
protected Map<String,Object> |
JiraWebInterfaceManager.makeContext(ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
|
boolean |
DefaultSimpleLinkManager.shouldLocationBeLazy(String location,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
This determines whether a location should be loaded lazily if possible.
|
boolean |
ThreadLocalCachingSimpleLinkManager.shouldLocationBeLazy(String location,
ApplicationUser remoteUser,
JiraHelper jiraHelper) |
boolean |
SimpleLinkManager.shouldLocationBeLazy(String location,
ApplicationUser remoteUser,
JiraHelper jiraHelper)
Deprecated.
This determines whether a location should be loaded lazily if possible.
|
Constructor and Description |
---|
CacheKey(String location,
ApplicationUser remoteUser,
JiraHelper jiraHelper) |
CacheKey(String location,
ApplicationUser remoteUser,
JiraHelper jiraHelper,
Boolean addIconPrefix) |
Modifier and Type | Method and Description |
---|---|
protected ApplicationUser |
AbstractWebCondition.getApplicationUser(Map<String,Object> context) |
Modifier and Type | Method and Description |
---|---|
boolean |
IsIssueArchivedCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
IsIssueUnresolvedCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
CanAttachFileToIssueCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
IsIssueAssignedToCurrentUserCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
CanRestoreIssueCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
CanConvertToSubTaskCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
CanManageAttachmentsCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
IsWatchingIssueCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
HasSubTasksAvailableCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
HasVotedForIssueCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
IsIssueReportedByCurrentUserCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
CanConvertToIssueCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
NoAttachmentsCondition.shouldDisplay(ApplicationUser applicationUser,
Issue issue,
JiraHelper jiraHelper) |
boolean |
IsIssueEditableCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
CanArchiveIssueCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
boolean |
IsSubTaskCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper) |
abstract boolean |
AbstractIssueCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper)
Deprecated.
Should we display this item for this issue?
|
abstract boolean |
AbstractIssueWebCondition.shouldDisplay(ApplicationUser user,
Issue issue,
JiraHelper jiraHelper)
Should we display this item for this issue?
|
boolean |
HasVersionsUnreleasedCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
BrowseUsersPermissionCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
HasVersionsReleasedCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
SubTasksEnabledCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
IsDataCenterCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
IsAdminModeCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
HasSelectedProjectCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
IsFieldHiddenCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
IsKeyboardShortcutsEnabledCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
CanAdministerProjectCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
JiraGlobalPermissionCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
LinkingEnabledCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
WatchingEnabledCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
IssueArchivingAllowedCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
UserIsTheLoggedInUserCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
CanChangeProjectTypeCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
HasLinkTypesAvailableCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
TimeTrackingEnabledCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
SmtpMailServerConfiguredCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
NotVersionContextCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
ExternalUserManagementDisabledCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
UserIsProjectAdminCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
UserLoggedInCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
BrowseArchiveEnabledCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
IsAdminSidebarPresentCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
ArchivingDiscoveryCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
ArchivingAllowedCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
HasLastSearchRequestCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
UserHasIssueHistoryCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
IsClusteredCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
VotingEnabledCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
ArchivingEnabledCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
abstract boolean |
AbstractJiraPermissionCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper)
Deprecated.
|
boolean |
AbstractIssueCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper)
Deprecated.
|
boolean |
AbstractProjectPermissionCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
abstract boolean |
AbstractWebCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
AbstractIssueWebCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
UserIsAdminCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
abstract boolean |
AbstractJiraCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper)
Deprecated.
|
boolean |
EntityPropertyEqualToCondition.shouldDisplay(ApplicationUser applicationUser,
JiraHelper jiraHelper) |
boolean |
AbstractFixedPermissionCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
protected boolean |
UserHasVisibleProjectsCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper,
ProjectPermissionKey permissionKey) |
protected boolean |
HasProjectPermissionCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper,
ProjectPermissionKey permissionKey) |
protected boolean |
HasIssuePermissionCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper,
ProjectPermissionKey permissionKey) |
protected boolean |
UserIsAdminOrHasVisibleProjectsCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper,
ProjectPermissionKey permissionKey) |
protected abstract boolean |
AbstractProjectPermissionCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper,
ProjectPermissionKey permissionKey) |
Modifier and Type | Method and Description |
---|---|
static ConditionCacheKey |
ConditionCacheKeys.custom(String conditionName,
ApplicationUser user,
Object... args) |
static ConditionCacheKey |
ConditionCacheKeys.permission(GlobalPermissionKey permission,
ApplicationUser user,
Object... args) |
static ConditionCacheKey |
ConditionCacheKeys.permission(ProjectPermissionKey permission,
ApplicationUser user,
Object... args) |
Modifier and Type | Method and Description |
---|---|
Map |
SessionIdContextProvider.getContextMap(ApplicationUser user,
JiraHelper jiraHelper) |
Map |
HelpContextProvider.getContextMap(ApplicationUser user,
JiraHelper jiraHelper) |
Map |
HeightContextProvider.getContextMap(ApplicationUser user,
JiraHelper jiraHelper) |
abstract Map |
AbstractJiraContextProvider.getContextMap(ApplicationUser user,
JiraHelper jiraHelper) |
Modifier and Type | Method and Description |
---|---|
String |
JiraWebLink.getAccessKey(ApplicationUser remoteUser,
JiraHelper jiraHelper) |
String |
JiraWebLabel.getDisplayableLabel(ApplicationUser remoteUser,
JiraHelper jiraHelper) |
String |
JiraWebLink.getDisplayableUrl(ApplicationUser remoteUser,
JiraHelper jiraHelper) |
String |
JiraWebParam.getRenderedParam(String paramKey,
ApplicationUser user,
JiraHelper jiraHelper) |
String |
JiraWebLink.getRenderedUrl(ApplicationUser remoteUser,
JiraHelper jiraHelper) |
protected Map |
JiraWebLink.makeContext(ApplicationUser remoteUser,
JiraHelper jiraHelper) |
Modifier and Type | Method and Description |
---|---|
protected ApplicationUser |
AbstractRestResource.getLoggedInUser() |
Modifier and Type | Method and Description |
---|---|
static UserResponse |
UserResponse.fromUser(ApplicationUser user) |
Modifier and Type | Field and Description |
---|---|
protected ApplicationUser |
ShareService.ValidateShareResult.user |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ShareService.ValidateShareResult.getRemoteUser() |
ApplicationUser |
ShareService.ValidateShareResult.getUser() |
Modifier and Type | Method and Description |
---|---|
ShareService.ValidateShareIssueResult |
ShareService.validateShareIssue(ApplicationUser remoteUser,
ShareBean shareBean,
Issue issue)
Confirms that the shareBean param contains either usernames or e-mails and also validates that the user
performing this operation has the permission to view other users in this JIRA instance.
|
ShareService.ValidateShareIssueResult |
ShareServiceImpl.validateShareIssue(ApplicationUser remoteUser,
ShareBean shareBean,
Issue issue) |
ShareService.ValidateShareSearchRequestResult |
ShareService.validateShareSearchRequest(ApplicationUser remoteUser,
ShareBean shareBean,
SearchRequest searchRequest)
Confirms that the shareRequest param contains either usernames or e-mails and also validates that the user
performing this operation has the permission to view other users in this JIRA instance.
|
ShareService.ValidateShareSearchRequestResult |
ShareServiceImpl.validateShareSearchRequest(ApplicationUser remoteUser,
ShareBean shareBean,
SearchRequest searchRequest) |
Constructor and Description |
---|
ValidateShareIssueResult(ErrorCollection errorCollection,
ApplicationUser remoteUser,
ShareBean shareBean,
Issue issue) |
ValidateShareResult(ErrorCollection errorCollection,
ApplicationUser remoteUser,
ShareBean shareBean) |
ValidateShareSearchRequestResult(ErrorCollection errorCollection,
ApplicationUser remoteUser,
ShareBean shareBean,
SearchRequest SearchRequest) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
AbstractShareEvent.getFromUser() |
Constructor and Description |
---|
AbstractShareEvent(ApplicationUser fromUser,
Set<String> toUsernames,
Set<String> toEmails,
String comment) |
ShareIssueEvent(Issue issue,
ApplicationUser fromUser,
Set<String> toUsernames,
Set<String> toEmails,
String comment) |
ShareJqlEvent(ApplicationUser fromUser,
Set<String> toUsernames,
Set<String> toEmails,
String comment,
String jql) |
ShareSearchRequestEvent(ApplicationUser fromUser,
Set<String> toUsernames,
Set<String> toEmails,
String comment,
SearchRequest filter) |
Modifier and Type | Method and Description |
---|---|
Set<NotificationRecipient> |
NotificationRecipientUtil.filterOutAuthorAndReceiver(ApplicationUser authorUser,
List<NotificationRecipient> allRecipients,
NotificationRecipient notificationReceiver) |
Modifier and Type | Method and Description |
---|---|
UserBean |
UserBeanFactory.createBean(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
TransitionMapper.toMap(Map transientVars,
ApplicationUser user,
MutableIssue issue) |
Modifier and Type | Method and Description |
---|---|
boolean |
ExperienceOverrideImpl.hasOverride(ApplicationUser user,
String experienceId,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
PortalPage.getOwner() |
Modifier and Type | Method and Description |
---|---|
PortalPage |
DefaultPortalPageManager.createBasedOnClone(ApplicationUser pageOwner,
PortalPage portalPage,
PortalPage clonePortalPage) |
PortalPage |
PortalPageManager.createBasedOnClone(ApplicationUser pageOwner,
PortalPage portalPage,
PortalPage clonePortalPage)
Creates a PortalPage in the database by cloning its Portlet content from the specified clonePortalPage
|
EnclosedIterable<PortalPage> |
DefaultPortalPageManager.get(ApplicationUser user,
SharedEntityAccessor.RetrievalDescriptor ids) |
Collection<PortalPage> |
OfBizPortalPageStore.getAllOwnedPortalPages(ApplicationUser owner) |
Collection<PortalPage> |
PortalPageStore.getAllOwnedPortalPages(ApplicationUser owner)
Gets all the PortalPage's owned by the specified User
|
Collection<PortalPage> |
DefaultPortalPageManager.getAllOwnedPortalPages(ApplicationUser owner) |
Collection<PortalPage> |
CachingPortalPageStore.getAllOwnedPortalPages(ApplicationUser owner) |
Collection<PortalPage> |
PortalPageManager.getAllOwnedPortalPages(ApplicationUser owner)
Returns a Collection of PortalPage objects that are owned by the specified User
|
PortalPage |
DefaultPortalPageManager.getPortalPage(ApplicationUser user,
Long id) |
PortalPage |
PortalPageManager.getPortalPage(ApplicationUser user,
Long portalPageId)
Returns the PortalPage with the specified portalPageId, IF the user is allowed to see it.
|
PortalPage |
DefaultPortalPageManager.getPortalPageByName(ApplicationUser owner,
String pageName) |
PortalPage |
PortalPageManager.getPortalPageByName(ApplicationUser owner,
String pageName)
Returns a PortalPage by searching for it by owner and pageName.
|
PortalPage |
OfBizPortalPageStore.getPortalPageByOwnerAndName(ApplicationUser owner,
String name) |
PortalPage |
PortalPageStore.getPortalPageByOwnerAndName(ApplicationUser owner,
String portalPageName)
Gets the specified PortalPage that is owned by the User and has the specified portalPageName
|
PortalPage |
CachingPortalPageStore.getPortalPageByOwnerAndName(ApplicationUser owner,
String portalPageName) |
PortalPage |
DefaultPortalPageManager.getSharedEntity(ApplicationUser user,
Long entityId) |
boolean |
DefaultPortalPageManager.hasPermissionToUse(ApplicationUser user,
PortalPage portalPage) |
boolean |
DefaultPortalPageManager.hasShareRights(ApplicationUser user,
PortalPage portalPage,
ShareRight shareRight) |
boolean |
PortalPageManager.hasShareRights(ApplicationUser user,
PortalPage portalPage,
ShareRight shareRight)
Checks if provided user has share rights for given portal page.
|
PortalPage.Builder |
PortalPage.Builder.owner(ApplicationUser owner) |
SharedEntitySearchResult<PortalPage> |
DefaultPortalPageManager.search(SharedEntitySearchParameters searchParameters,
ApplicationUser user,
int pagePosition,
int pageWidth) |
SharedEntitySearchResult<PortalPage> |
PortalPageManager.search(SharedEntitySearchParameters searchParameters,
ApplicationUser user,
int pagePosition,
int pageWidth)
Deprecated.
since v7.1, kept to avoid breaking binary compatibility, also defined in
SharedEntityAccessor.search(com.atlassian.jira.sharing.search.SharedEntitySearchParameters, com.atlassian.jira.user.ApplicationUser, int, int) |
Modifier and Type | Field and Description |
---|---|
ApplicationUser |
DashboardCreated.loggedInUser |
ApplicationUser |
DashboardDeleted.loggedInUser |
ApplicationUser |
DashboardUpdated.loggedInUser |
Constructor and Description |
---|
DashboardCreated(PortalPage page,
ApplicationUser user) |
DashboardDeleted(SharedEntity deleted,
ApplicationUser user) |
DashboardUpdated(PortalPage oldPage,
PortalPage newPage,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
Project |
DefaultProjectManager.createProject(ApplicationUser user,
ProjectCreationData projectCreationData) |
Project |
CachingProjectManager.createProject(ApplicationUser user,
ProjectCreationData projectCreationData) |
Project |
ProjectManager.createProject(ApplicationUser user,
ProjectCreationData projectCreationData)
Creates the project in the database, and adds default project roles for this project.
|
List<Project> |
DefaultProjectManager.getProjectsLeadBy(ApplicationUser leadUser) |
List<Project> |
CachingProjectManager.getProjectsLeadBy(ApplicationUser leadUser) |
List<Project> |
ProjectManager.getProjectsLeadBy(ApplicationUser leadUser)
Returns all the projects that leadUser is the project lead for ordered by the name of the Project.
|
void |
MockProject.setArchivedBy(ApplicationUser archivedBy) |
void |
MockProject.setLead(ApplicationUser lead) |
Project |
DefaultProjectManager.updateProjectType(ApplicationUser user,
Project project,
ProjectTypeKey newProjectType) |
Project |
CachingProjectManager.updateProjectType(ApplicationUser user,
Project project,
ProjectTypeKey newProjectType) |
Project |
ProjectManager.updateProjectType(ApplicationUser user,
Project project,
ProjectTypeKey newProjectType)
Updates the type of a project.
|
Modifier and Type | Method and Description |
---|---|
Optional<ApplicationUser> |
ArchivedProjectManager.getArchivedBy(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
ArchivedProjectManager.markProjectAsArchived(Project project,
ApplicationUser archivedBy) |
ArchivedProjectService.ValidationResult |
DefaultArchivedProjectService.validateArchiveProject(ApplicationUser user,
String projectKey) |
ArchivedProjectService.ValidationResult |
ArchivedProjectService.validateArchiveProject(ApplicationUser user,
String projectKey)
Check if given project can be archived by given user.
|
ArchivedProjectService.ValidationResult |
DefaultArchivedProjectService.validateRestoreProject(ApplicationUser user,
String projectKey) |
ArchivedProjectService.ValidationResult |
ArchivedProjectService.validateRestoreProject(ApplicationUser user,
String projectKey)
Check if given project can be restored by given user.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
BrowseProjectContext.getUser() |
ApplicationUser |
BrowseContext.getUser()
The user browsing the project.
|
Constructor and Description |
---|
BrowseProjectContext(ApplicationUser user,
Project project) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ValidateData.lead()
Returns the project lead, if specified.
|
Constructor and Description |
---|
ValidateData(String projectName,
String projectKey,
ApplicationUser lead) |
Modifier and Type | Method and Description |
---|---|
Iterable<JiraApplication> |
JiraApplicationAdapter.getAccessibleJiraApplications(ApplicationUser user)
Returns an iterable over all the JIRA applications accessible for the given user.
|
io.atlassian.fugue.Option<ProjectType> |
ProjectTypeManagerImpl.getAccessibleProjectType(ApplicationUser user,
ProjectTypeKey key) |
io.atlassian.fugue.Option<ProjectType> |
ProjectTypeManager.getAccessibleProjectType(ApplicationUser user,
ProjectTypeKey key)
Returns the project type with the given key, if it is accessible for the given user.
|
List<ProjectType> |
BrowseProjectTypeManager.getAllProjectTypes(ApplicationUser user) |
List<ProjectType> |
BrowseProjectTypeManagerImpl.getAllProjectTypes(ApplicationUser user) |
boolean |
ProjectTypeUpdatedRegistrarImpl.notifyAllHandlers(ApplicationUser user,
Project project,
ProjectTypeKey oldProjectType,
ProjectTypeKey newProjectType) |
boolean |
ProjectTypeUpdatedNotifier.notifyAllHandlers(ApplicationUser user,
Project project,
ProjectTypeKey oldProjectType,
ProjectTypeKey newProjectType)
Notifies all
ProjectTypeUpdatedHandler objects that a project type update has happened. |
ProjectTypeUpdatedOutcome |
ProjectTypeUpdatedHandler.onProjectTypeUpdated(ApplicationUser user,
Project project,
ProjectTypeKey oldProjectTypeKey,
ProjectTypeKey newProjectTypeKey)
Method called every time the type of a project is updated.
|
void |
ProjectTypeUpdatedHandler.onProjectTypeUpdateRolledBack(ApplicationUser user,
Project project,
ProjectTypeKey oldProjectTypeKey,
ProjectTypeKey newProjectTypeKey,
ProjectTypeUpdatedOutcome outcome)
This method will only be called if the update to the project type is rolled back.
|
boolean |
ProjectTypesEnabledCondition.shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
InaccessibleProjectTypeDialogContent |
InaccessibleProjectTypeDialogContentProvider.getContent(ApplicationUser user,
Project project)
Returns the content for the dialog attached to the project types warning associated with the given project type key.
|
void |
InaccessibleProjectTypeDialogDataProviderImpl.provideData(com.atlassian.webresource.api.assembler.WebResourceAssembler assembler,
ApplicationUser user,
Project project) |
void |
InaccessibleProjectTypeDialogDataProvider.provideData(com.atlassian.webresource.api.assembler.WebResourceAssembler assembler,
ApplicationUser user,
Project project)
Provides the data needed to render the dialog attached to the warning symbols displayed for the project type of the given project.
|
boolean |
InaccessibleProjectTypeDialogDataProviderImpl.shouldDisplayInaccessibleWarning(ApplicationUser user,
Project project) |
boolean |
InaccessibleProjectTypeDialogDataProvider.shouldDisplayInaccessibleWarning(ApplicationUser user,
Project project)
Indicates whether the inaccessible project type warning should be displayed or not, on a page that is displaying a single project.
|
Modifier and Type | Method and Description |
---|---|
String |
ReleaseNoteManager.getReleaseNote(webwork.action.Action action,
String releaseNoteStyleName,
Version version,
ApplicationUser user,
Project project)
Returns a release note for this version, using the specified releaseNoteStyleName.
|
Modifier and Type | Method and Description |
---|---|
void |
MockVersionManager.deleteAndRemoveFromIssues(ApplicationUser user,
Version versionToRemove) |
void |
DefaultVersionManager.deleteAndRemoveFromIssues(ApplicationUser user,
Version versionToRemove) |
void |
VersionManager.deleteAndRemoveFromIssues(ApplicationUser user,
Version versionToRemove)
This method deletes a version and additionally (unlinke
VersionManager.deleteVersion(com.atlassian.jira.project.version.Version) ) removes it from all issues that reference it. |
void |
MockVersionManager.deleteVersion(ApplicationUser applicationUser,
Version versionToDelete,
io.atlassian.fugue.Option<Version> affectsSwapVersion,
io.atlassian.fugue.Option<Version> fixSwapVersion) |
void |
DefaultVersionManager.deleteVersion(ApplicationUser applicationUser,
Version versionToDelete,
io.atlassian.fugue.Option<Version> affectsSwapVersion,
io.atlassian.fugue.Option<Version> fixSwapVersion) |
void |
VersionManager.deleteVersion(ApplicationUser applicationUser,
Version versionToDelete,
io.atlassian.fugue.Option<Version> affectsSwapVersion,
io.atlassian.fugue.Option<Version> fixSwapVersion)
Deprecated.
Use
VersionManager.deleteVersionAndSwap(ApplicationUser, DeleteVersionWithCustomFieldParameters) that
supports swapping version in custom fields.
Since v7.0.10 |
void |
MockVersionManager.deleteVersionAndSwap(ApplicationUser applicationUser,
DeleteVersionWithCustomFieldParameters parameters) |
void |
DefaultVersionManager.deleteVersionAndSwap(ApplicationUser applicationUser,
DeleteVersionWithCustomFieldParameters parameters)
Testing notes - side effects (reindexing, events) are tested in unitTest, actual version removal
is tested in
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.TestVersionResource . |
void |
VersionManager.deleteVersionAndSwap(ApplicationUser applicationUser,
DeleteVersionWithCustomFieldParameters parameters)
Remove specified version.
|
void |
MockVersionManager.merge(ApplicationUser user,
Version versionToDelete,
Version versionToMergeTo) |
void |
DefaultVersionManager.merge(ApplicationUser user,
Version versionToDelete,
Version versionToMergeTo) |
void |
VersionManager.merge(ApplicationUser user,
Version versionToDelete,
Version versionToMergeTo)
This method will perform a version merge.
|
void |
MockVersionManager.swapVersionForRelatedIssues(ApplicationUser user,
Version version,
io.atlassian.fugue.Option<Version> affectsSwapVersion,
io.atlassian.fugue.Option<Version> fixSwapVersion) |
void |
DefaultVersionManager.swapVersionForRelatedIssues(ApplicationUser user,
Version version,
io.atlassian.fugue.Option<Version> affectsSwapVersion,
io.atlassian.fugue.Option<Version> fixSwapVersion) |
void |
VersionManager.swapVersionForRelatedIssues(ApplicationUser user,
Version version,
io.atlassian.fugue.Option<Version> affectsSwapVersion,
io.atlassian.fugue.Option<Version> fixSwapVersion)
This method will update all issues that currently have
version set as either affects or fix version to
the new affectsSwapVersion or fixSwapVersion |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
SimpleProject.getLead() |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ProjectFieldsContextProvider.getUser() |
Modifier and Type | Method and Description |
---|---|
ProjectPermissionSchemeBean |
PermissionsDataProvider.getProjectPermissionSchemeBean(ApplicationUser user,
Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
EditWorkflowDiscoverHelper.shouldShowEditWorkflowDiscover(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
IssueTypeConfigFieldsHelper.FieldsResult |
DefaultIssueTypeConfigFieldsHelper.getFieldsData(ProjectContext context,
ApplicationUser user) |
IssueTypeConfigFieldsHelper.FieldsResult |
IssueTypeConfigFieldsHelper.getFieldsData(ProjectContext context,
ApplicationUser user)
|
Modifier and Type | Method and Description |
---|---|
static WorkflowSchemeRestHelper.SimpleUser |
WorkflowSchemeRestHelper.SimpleUser.asSimpleUser(ApplicationUser user,
URI avatarUrl) |
WorkflowSchemeRestHelper.WorkflowSchemeResponse |
WorkflowSchemeRestHelper.WorkflowSchemeResponse.setLastModifiedUser(ApplicationUser user,
URI avatarUrl) |
WorkflowSchemeRestHelper.ResponseDataBuilder |
WorkflowSchemeRestHelper.ResponseDataBuilder.setUser(ApplicationUser user) |
Constructor and Description |
---|
SimpleUser(ApplicationUser applicationUser,
URI avatarUrl) |
Modifier and Type | Method and Description |
---|---|
static UserResponse |
UserResponse.fromApplicationUser(ApplicationUser user,
String avatarUrl,
io.atlassian.fugue.Option<String> lastSession,
boolean isEmailVisible,
List<String> applicationRoleNames) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
DefaultTabRenderContext.getUser() |
ApplicationUser |
ProjectConfigTabRenderContext.getUser() |
Modifier and Type | Method and Description |
---|---|
boolean |
PulpRedirectDao.addRedirect(ApplicationUser user,
int jiraBuildNumber)
Records the given user as having been redirected to the PULP for the given version of JIRA.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PulpRedirectDaoImpl.addRedirect(ApplicationUser user,
int jiraBuildNumber) |
Modifier and Type | Method and Description |
---|---|
JiraServiceContext |
JiraServiceContextFactory.createContext(ApplicationUser user)
Instantiates JiraServiceContext with given user and new empty error collection.
|
JiraServiceContext |
JiraServiceContextFactory.createContext(ApplicationUser user,
ErrorCollection errorCollection)
Instantiates JiraServiceContext with user and error collection.
|
JiraServiceContext |
JiraServiceContextFactory.createContext(ApplicationUser user,
ErrorCollection errorCollection,
I18nHelper i18nHelper)
Instantiates JiraServiceContext with user and error collection and I18nHelper.
|
Modifier and Type | Method and Description |
---|---|
io.atlassian.fugue.Option<ApplicationUser> |
UpdateUserApplicationHelper.ApplicationUpdateResult.getApplicationUser() |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<SearchRequest> |
FilterPermissionHelper.addSharePermissionToSavedFilter(ApplicationUser user,
SearchRequest filter,
SharePermission sharePermission) |
ProjectService.GetProjectResult |
ProjectFinder.getGetProjectByIdOrKey(ApplicationUser user,
String projectIdOrKey) |
ProjectService.GetProjectResult |
ProjectFinder.getGetProjectForActionByIdOrKey(ApplicationUser user,
String projectIdOrKey,
ProjectAction action) |
ServiceOutcome<SearchRequest> |
FilterPermissionHelper.removeSharePermissionFromSavedFilter(ApplicationUser user,
SearchRequest filter,
Long permissionId) |
Constructor and Description |
---|
ApplicationUpdateResult(ApplicationUser applicationUser) |
ApplicationUpdateResult(ApplicationUser applicationUser,
ErrorCollection errorCollection) |
ApplicationUpdateResult(ApplicationUser applicationUser,
ErrorCollection errorCollection,
WarningCollection warningCollection) |
Constructor and Description |
---|
DraftRestWorkflowScheme(WorkflowSchemeService workflowSchemeService,
ApplicationUser user,
WorkflowSchemeBeanFactory beanFactory,
AssignableWorkflowScheme parent,
DraftWorkflowScheme child) |
Modifier and Type | Method and Description |
---|---|
Avatar |
TemporaryAvatarHelper.convertTemporaryToReal(ApplicationUser remoteUser,
String ownerId,
IconType iconType,
Selection selection) |
AvatarBean |
TemporaryAvatarHelper.createAvatarFromTemporary(ApplicationUser remoteUser,
IconType iconType,
String ownerId,
AvatarCroppingBean croppingInstructions) |
static Map<String,URI> |
AvatarUrls.getAvatarURLs(ApplicationUser avatarUser,
Avatar avatar)
Deprecated.
the notion of "all the avatar sizes" is broken. We plan to eventually scale to any reasonable pixel size.
|
Map<String,URI> |
AvatarUrls.getAvatarURLs(ApplicationUser remoteUser,
Avatar avatar,
AvatarImageResolver avatarImageResolver)
Deprecated.
|
javax.ws.rs.core.Response |
TemporaryAvatarHelper.storeTemporaryAvatar(ApplicationUser remoteUser,
IconType iconType,
String ownerId,
Avatar.Size targetSize,
com.atlassian.plugins.rest.common.multipart.FilePart filePart,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
TemporaryAvatarHelper.storeTemporaryAvatar(ApplicationUser remoteUser,
IconType iconType,
String ownerId,
Avatar.Size targetSize,
String filename,
Long size,
javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
protected ApplicationUser |
AbstractRemoteEntityLinkResource.getUser()
Returns the currently logged in user.
|
Modifier and Type | Field and Description |
---|---|
protected ApplicationUser |
AbstractMetaFieldBeanBuilder.user |
Modifier and Type | Method and Description |
---|---|
protected ApplicationUser |
DeleteIssueResource.callingUser() |
protected ApplicationUser |
AssignIssueResource.callingUser() |
protected ApplicationUser |
CreateIssueResource.callingUser() |
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
UserJsonBeanListWrapper.getOrderedList(int startIndex,
int endIndex) |
PagedListWrapper<UserJsonBean,ApplicationUser> |
GroupBean.getUsers() |
Modifier and Type | Method and Description |
---|---|
boolean |
UpdateIssueResource.canDisableUserNotifications(ApplicationUser user,
Issue issue)
Determines if the current user can disable user notifications for the edit issue operation.
|
static AvatarBean |
AvatarBeanFactory.createAvatarBean(Avatar avatar,
ApplicationUser remoteUser,
boolean userCanDelete)
Creates an AvatarBean from Avatar domain object
|
List<AvatarBean> |
AvatarBeanFactory.createAvatarBeans(List<Avatar> avatars,
ApplicationUser avatarUser)
Create a list of AvatarBeans given the passed List of Avatar domain objects.
|
UserJsonBean |
UserJsonBeanListWrapper.fromBackedObject(ApplicationUser user) |
static UserBeanBuilder |
UserBeanBuilder.fullBuilder(JiraBaseUrls jiraBaseUrls,
EmailFormatter emailFormatter,
AvatarService avatarService,
I18nHelper.BeanFactory beanFactory,
UserManager userManager,
ApplicationUser loggedInUser)
Builder with all dependencies for invoking
UserBeanBuilder.buildFull(ApplicationRoleBeanConverter) |
UserBeanBuilder |
UserBeanBuilder.loggedInUser(ApplicationUser loggedInUser)
Sets the currently logged in user.
|
static UserBeanBuilder |
UserBeanBuilder.midBuilder(JiraBaseUrls jiraBaseUrls,
EmailFormatter emailFormatter,
I18nHelper.BeanFactory beanFactory,
UserManager userManager,
ApplicationUser loggedInUser)
Builder with all dependencies for invoking
UserBeanBuilder.buildMid() |
UserBeanBuilder |
UserBeanBuilder.user(ApplicationUser user)
Sets the User.
|
Modifier and Type | Method and Description |
---|---|
GroupBeanBuilder |
GroupBeanBuilder.users(PagedListWrapper<UserJsonBean,ApplicationUser> users) |
Constructor and Description |
---|
AbstractMetaFieldBeanBuilder(FieldLayoutManager fieldLayoutManager,
Project project,
Issue issue,
IssueType issueType,
ApplicationUser user,
VersionBeanFactory versionBeanFactory,
VelocityRequestContextFactory velocityRequestContextFactory,
JiraBaseUrls baseUrls,
DefaultFieldMetaBeanHelper defaultFieldHelper) |
CreateMetaFieldBeanBuilder(FieldLayoutManager fieldLayoutManager,
Project project,
IssueType issueType,
IssueFactory issueFactory,
ApplicationUser user,
VersionBeanFactory versionBeanFactory,
VelocityRequestContextFactory velocityRequestContextFactory,
JiraBaseUrls baseUrls,
PermissionManager permissionManager,
FieldScreenRendererFactory fieldScreenRendererFactory,
JiraAuthenticationContext authContext,
FieldManager fieldManager,
DefaultFieldMetaBeanHelper defaultFieldHelper) |
EditMetaFieldBeanBuilder(FieldLayoutManager fieldLayoutManager,
Project project,
Issue issue,
IssueType issueType,
ApplicationUser user,
VersionBeanFactory versionBeanFactory,
VelocityRequestContextFactory velocityRequestContextFactory,
JiraBaseUrls baseUrls,
FieldScreenRendererFactory fieldScreenRendererFactory,
FieldManager fieldManager,
IssueManager issueManager) |
TransitionMetaFieldBeanBuilder(FieldScreenRendererFactory fieldScreenRendererFactory,
FieldLayoutManager fieldLayoutManager,
com.opensymphony.workflow.loader.ActionDescriptor action,
Issue issue,
ApplicationUser user,
VersionBeanFactory versionBeanFactory,
VelocityRequestContextFactory velocityRequestContextFactory,
JiraBaseUrls baseUrls) |
UserJsonBeanListWrapper(int userCount,
com.google.common.base.Supplier<List<ApplicationUser>> usersSupplier,
int maxResults,
ApplicationUser loggedInUser,
UserBeanFactory userBeanFactory) |
Constructor and Description |
---|
GroupBean(String name,
URI self,
PagedListWrapper<UserJsonBean,ApplicationUser> users)
Creates a new GroupBean for the group with the given name, self URI and users list.
|
UserJsonBeanListWrapper(int userCount,
com.google.common.base.Supplier<List<ApplicationUser>> usersSupplier,
int maxResults,
ApplicationUser loggedInUser,
UserBeanFactory userBeanFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
AttachmentAuthorizer.authorize(Attachment attachment,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
ProjectRoleBean |
ProjectRoleBeanFactoryImpl.projectRole(Project project,
ProjectRole projectRole,
ProjectRoleActors projectRoleActors,
ApplicationUser loggedInUser) |
ProjectRoleBean |
ProjectRoleBeanFactory.projectRole(Project project,
ProjectRole projectRole,
ProjectRoleActors projectRoleActors,
ApplicationUser loggedInUser) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
UserPickerResourceHelper.getUserByName(String userName)
Returns a user if supplied userName is exact match to their username.
|
ApplicationUser |
UserPickerResourceHelperImpl.getUserByName(String userName) |
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
UserPickerResourceHelper.findActiveUsers(String searchString)
Finds active users, throws exception if search string is null
|
List<ApplicationUser> |
UserPickerResourceHelperImpl.findActiveUsers(String searchString) |
List<ApplicationUser> |
UserPickerResourceHelper.findUsers(String searchString,
Boolean includeActive,
Boolean includeInactive)
Finds users, throws exception if search string is null
|
List<ApplicationUser> |
UserPickerResourceHelperImpl.findUsers(String searchString,
Boolean includeActive,
Boolean includeInactive) |
List<ApplicationUser> |
UserPickerResourceHelper.findUsers(String searchString,
Boolean includeActive,
Boolean includeInactive,
boolean allowEmptySearchString)
Finds users, throws exception if search string is null
|
List<ApplicationUser> |
UserPickerResourceHelperImpl.findUsers(String searchString,
Boolean includeActive,
Boolean includeInactive,
boolean allowEmptySearchString) |
List<ApplicationUser> |
UserPickerResourceHelper.findUsers(String searchString,
Boolean includeActive,
Boolean includeInactive,
boolean allowEmptySearchString,
com.google.common.base.Predicate<com.atlassian.crowd.embedded.api.User> filter)
Finds users, throws exception if search string is null
|
List<ApplicationUser> |
UserPickerResourceHelperImpl.findUsers(String searchString,
Boolean includeActive,
Boolean includeInactive,
boolean allowEmptySearchString,
com.google.common.base.Predicate<com.atlassian.crowd.embedded.api.User> userFilter) |
List<ApplicationUser> |
UserPickerResourceHelper.findUsers(String searchString,
Boolean includeActive,
Boolean includeInactive,
boolean allowEmptySearchString,
com.google.common.base.Predicate<com.atlassian.crowd.embedded.api.User> filter,
Integer maxResults)
Finds users, throws exception if search string is null
|
List<ApplicationUser> |
UserPickerResourceHelperImpl.findUsers(String searchString,
Boolean includeActive,
Boolean includeInactive,
boolean allowEmptySearchString,
com.google.common.base.Predicate<com.atlassian.crowd.embedded.api.User> userFilter,
Integer maxResults) |
List<ApplicationUser> |
UserPickerResourceHelper.findUsers(String searchString,
UserSearchParams userSearchParams)
Finds users, throws exception if search string is null
|
List<ApplicationUser> |
UserPickerResourceHelperImpl.findUsers(String searchString,
UserSearchParams userSearchParams) |
List<ApplicationUser> |
UserPickerResourceHelper.limitUserSearch(Integer startAt,
Integer maxResults,
Iterable<ApplicationUser> users,
Iterable<String> excludeUsers) |
List<ApplicationUser> |
UserPickerResourceHelperImpl.limitUserSearch(Integer startAt,
Integer maxResults,
Iterable<ApplicationUser> users,
Iterable<String> excludeUsers) |
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
UserPickerResourceHelper.limitUserSearch(Integer startAt,
Integer maxResults,
Iterable<ApplicationUser> users,
Iterable<String> excludeUsers) |
List<ApplicationUser> |
UserPickerResourceHelperImpl.limitUserSearch(Integer startAt,
Integer maxResults,
Iterable<ApplicationUser> users,
Iterable<String> excludeUsers) |
Constructor and Description |
---|
UserIssueRelevanceBeanBuilder(EmailFormatter emailFormatter,
I18nHelper i18n,
JiraBaseUrls jiraBaseUrls,
ApplicationUser loggedInUser,
TimeZone timeZone,
AvatarService avatarService) |
Modifier and Type | Method and Description |
---|---|
WatchersBean |
WatchersFinder.getWatchers(Issue issue,
ApplicationUser callingUser)
Retrieves a WatchersBean for the given Issue on behalf of a remote user.
|
Modifier and Type | Method and Description |
---|---|
PrioritySchemeBean |
PrioritySchemeBeansFactory.buildResponseBean(ApplicationUser user,
javax.ws.rs.core.UriInfo uriInfo,
FieldConfigScheme fieldConfigScheme) |
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
UserBeanListWrapper.getOrderedList(int startIndex,
int endIndex) |
Modifier and Type | Method and Description |
---|---|
FilterPermissionBean |
FilterPermissionBeanFactory.buildPermissionBean(ApplicationUser user,
SharePermission sharePermission) |
UserBean |
UserBeanListWrapper.fromBackedObject(ApplicationUser user) |
FilterBeanBuilder |
FilterBeanBuilder.owner(ApplicationUser owner) |
Constructor and Description |
---|
FilterSubscriptionBeanListWrapper(FilterSubscriptionService filterSubscriptionService,
UserManager userManager,
ApplicationUser user,
SearchRequest filter,
JiraBaseUrls jiraBaseUrls) |
Modifier and Type | Method and Description |
---|---|
Collection<ApplicationUser> |
AbstractSchemeManager.getUsers(Long permissionId,
org.ofbiz.core.entity.GenericValue projectOrIssue) |
Collection<ApplicationUser> |
SchemeManager.getUsers(Long permissionId,
org.ofbiz.core.entity.GenericValue issueOrProject)
Deprecated.
Use
SchemeManager.getUsers(Long, com.atlassian.jira.permission.PermissionContext) instead. Since 2006. |
Collection<ApplicationUser> |
AbstractSchemeManager.getUsers(Long permissionId,
Issue issue) |
Collection<ApplicationUser> |
SchemeManager.getUsers(Long permissionId,
Issue issue) |
Collection<ApplicationUser> |
AbstractSchemeManager.getUsers(Long permissionId,
PermissionContext ctx) |
Collection<ApplicationUser> |
SchemeManager.getUsers(Long permissionId,
PermissionContext ctx) |
Collection<ApplicationUser> |
AbstractSchemeManager.getUsers(Long permissionId,
Project project) |
Collection<ApplicationUser> |
SchemeManager.getUsers(Long permissionId,
Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
SchemeType.hasPermission(Issue issue,
String parameter,
ApplicationUser user,
boolean issueCreation)
Determines if this permission type is satisfied.
|
boolean |
SchemeType.hasPermission(Project project,
String parameter,
ApplicationUser user,
boolean issueCreation)
Determines if this permission type is satisfied.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
JiraAuthenticationContextImpl.getLoggedInUser() |
ApplicationUser |
JiraAuthenticationContext.getLoggedInUser()
Returns the currently logged in User.
|
ApplicationUser |
JiraAuthenticationContextImpl.getUser() |
ApplicationUser |
JiraAuthenticationContext.getUser()
Deprecated.
Use
JiraAuthenticationContext.getLoggedInUser() . Since v7.0 |
protected ApplicationUser |
JiraRoleMapper.toApplicationUser(Principal user) |
Modifier and Type | Method and Description |
---|---|
protected Collection<Project> |
DefaultPermissionManager.getArchivedProjectObjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
PublicAccessPermissionManager.getArchivedProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
SubvertedPermissionManager.getArchivedProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
DefaultPermissionManager.getArchivedProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
ApplicationRequiredPermissionManager.getArchivedProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
PermissionManager.getArchivedProjects(ProjectPermissionKey permissionKey,
ApplicationUser user)
Retrieve a list of archived project objects this user has the permission for
|
Collection<Project> |
ThreadLocalCachingPermissionManager.getProjectObjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
protected Collection<Project> |
DefaultPermissionManager.getProjectObjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
PublicAccessPermissionManager.getProjects(int permissionId,
ApplicationUser user)
Deprecated.
|
Collection<Project> |
SubvertedPermissionManager.getProjects(int permissionId,
ApplicationUser user) |
Collection<Project> |
DefaultPermissionManager.getProjects(int permissionId,
ApplicationUser user) |
Collection<Project> |
ApplicationRequiredPermissionManager.getProjects(int permissionId,
ApplicationUser user)
Deprecated.
|
Collection<Project> |
PermissionManager.getProjects(int permissionId,
ApplicationUser user)
Deprecated.
Use
PermissionManager.getProjects(ProjectPermissionKey, ApplicationUser) instead. Since v6.3. |
Collection<Project> |
PublicAccessPermissionManager.getProjects(int permissionId,
ApplicationUser user,
ProjectCategory projectCategory)
Deprecated.
|
Collection<Project> |
SubvertedPermissionManager.getProjects(int permissionId,
ApplicationUser user,
ProjectCategory projectCategory) |
Collection<Project> |
DefaultPermissionManager.getProjects(int permissionId,
ApplicationUser user,
ProjectCategory projectCategory) |
Collection<Project> |
ApplicationRequiredPermissionManager.getProjects(int permissionId,
ApplicationUser user,
ProjectCategory projectCategory)
Deprecated.
|
Collection<Project> |
PermissionManager.getProjects(int permissionId,
ApplicationUser user,
ProjectCategory projectCategory)
Deprecated.
Use
PermissionManager.getProjects(ProjectPermissionKey, ApplicationUser, ProjectCategory) instead. Since v6.3. |
Collection<Project> |
PublicAccessPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
SubvertedPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
DefaultPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
ApplicationRequiredPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
Collection<Project> |
PermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user)
Retrieve a list of project objects this user has the permission for
|
Collection<Project> |
PublicAccessPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user,
ProjectCategory projectCategory) |
Collection<Project> |
SubvertedPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user,
ProjectCategory projectCategory) |
Collection<Project> |
DefaultPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user,
ProjectCategory projectCategory) |
Collection<Project> |
ApplicationRequiredPermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user,
ProjectCategory projectCategory) |
Collection<Project> |
PermissionManager.getProjects(ProjectPermissionKey permissionKey,
ApplicationUser user,
ProjectCategory projectCategory)
Returns the list of projects associated with the specified category, that this user has the permissions for.
|
boolean |
DefaultGlobalPermissionManager.hasPermission(GlobalPermissionKey globalPermissionKey,
ApplicationUser user) |
boolean |
GlobalPermissionManager.hasPermission(GlobalPermissionKey globalPermissionKey,
ApplicationUser user)
Check if the given user has the given Global Permission.
|
boolean |
DefaultGlobalPermissionManager.hasPermission(GlobalPermissionType globalPermissionType,
ApplicationUser user) |
boolean |
GlobalPermissionManager.hasPermission(GlobalPermissionType globalPermissionType,
ApplicationUser user)
Deprecated.
|
boolean |
PublicAccessPermissionManager.hasPermission(int permissionsId,
ApplicationUser user)
Deprecated.
|
boolean |
SubvertedPermissionManager.hasPermission(int permissionsId,
ApplicationUser user) |
boolean |
DefaultPermissionManager.hasPermission(int permissionsId,
ApplicationUser user) |
boolean |
ApplicationRequiredPermissionManager.hasPermission(int permissionsId,
ApplicationUser user)
Deprecated.
|
boolean |
DefaultGlobalPermissionManager.hasPermission(int permissionId,
ApplicationUser user) |
boolean |
GlobalPermissionManager.hasPermission(int permissionType,
ApplicationUser user)
|
boolean |
PermissionManager.hasPermission(int permissionsId,
ApplicationUser user)
Deprecated.
|
boolean |
WorkflowBasedPermissionManager.hasPermission(int permissionsId,
Issue issue,
ApplicationUser user) |
boolean |
PublicAccessPermissionManager.hasPermission(int permissionsId,
Issue issue,
ApplicationUser user)
Deprecated.
|
boolean |
SubvertedPermissionManager.hasPermission(int permissionsId,
Issue issue,
ApplicationUser user) |
boolean |
DefaultPermissionManager.hasPermission(int permissionsId,
Issue issue,
ApplicationUser user) |
boolean |
ApplicationRequiredPermissionManager.hasPermission(int permissionsId,
Issue issue,
ApplicationUser user)
Deprecated.
|
boolean |
PermissionManager.hasPermission(int permissionsId,
Issue issue,
ApplicationUser user)
Deprecated.
Use
PermissionManager.hasPermission(ProjectPermissionKey, Issue, ApplicationUser) instead. Since v6.3. |
boolean |
WorkflowBasedPermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user) |
boolean |
PublicAccessPermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user)
Deprecated.
|
boolean |
SubvertedPermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user) |
boolean |
DefaultPermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user) |
boolean |
ApplicationRequiredPermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user)
Deprecated.
|
boolean |
PermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user)
Deprecated.
Use
PermissionManager.hasPermission(ProjectPermissionKey, Project, ApplicationUser) instead. Since v6.3. |
boolean |
WorkflowBasedPermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
PublicAccessPermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user,
boolean issueCreation)
Deprecated.
|
boolean |
SubvertedPermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user,
boolean issueCreation)
Always return true.
|
boolean |
DefaultPermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
ApplicationRequiredPermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user,
boolean issueCreation)
Deprecated.
|
boolean |
PermissionManager.hasPermission(int permissionsId,
Project project,
ApplicationUser user,
boolean issueCreation)
Deprecated.
Use
PermissionManager.hasPermission(ProjectPermissionKey, Project, ApplicationUser, boolean) instead. Since v6.3. |
boolean |
WorkflowBasedPermissionManager.hasPermission(ProjectPermissionKey permissionsKey,
Issue issue,
ApplicationUser user) |
boolean |
PublicAccessPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user) |
boolean |
SubvertedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user) |
boolean |
DefaultPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user) |
boolean |
ApplicationRequiredPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user) |
boolean |
PermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user)
Checks to see if this user has permission to see the specified issue.
|
boolean |
WorkflowBasedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
boolean |
PublicAccessPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
boolean |
SubvertedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
boolean |
DefaultPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
boolean |
ApplicationRequiredPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor) |
boolean |
PermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Checks to see if this user has the given permission to the specified issue after the given workflow transition takes effect.
|
boolean |
WorkflowBasedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
Status status) |
boolean |
PublicAccessPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
Status status) |
boolean |
SubvertedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
Status status) |
boolean |
DefaultPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
Status status) |
boolean |
ApplicationRequiredPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
Status status) |
boolean |
PermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Issue issue,
ApplicationUser user,
Status status)
Checks to see if this user has the given permission to the specified issue if the issue was in the given status.
|
boolean |
WorkflowBasedPermissionManager.hasPermission(ProjectPermissionKey permissionsKey,
Project project,
ApplicationUser user) |
boolean |
PublicAccessPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
boolean |
SubvertedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
boolean |
DefaultPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
boolean |
ApplicationRequiredPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
boolean |
PermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user)
Checks whether the specified user has a specified permission within the context of a specified project.
|
boolean |
WorkflowBasedPermissionManager.hasPermission(ProjectPermissionKey permissionsKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
PublicAccessPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
SubvertedPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
DefaultPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
ApplicationRequiredPermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation) |
boolean |
PermissionManager.hasPermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user,
boolean issueCreation)
Checks whether the specified user has a specified permission within the context of a specified project.
|
boolean |
PublicAccessPermissionManager.hasProjects(int permissionId,
ApplicationUser user)
Deprecated.
|
boolean |
SubvertedPermissionManager.hasProjects(int permissionId,
ApplicationUser user) |
boolean |
DefaultPermissionManager.hasProjects(int permissionId,
ApplicationUser user) |
boolean |
ApplicationRequiredPermissionManager.hasProjects(int permissionId,
ApplicationUser user)
Deprecated.
|
boolean |
PermissionManager.hasProjects(int permissionId,
ApplicationUser user)
Deprecated.
Use
PermissionManager.hasProjects(ProjectPermissionKey, ApplicationUser) instead. Since v6.3. |
boolean |
PublicAccessPermissionManager.hasProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
boolean |
SubvertedPermissionManager.hasProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
boolean |
DefaultPermissionManager.hasProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
boolean |
ApplicationRequiredPermissionManager.hasProjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
boolean |
PermissionManager.hasProjects(ProjectPermissionKey permissionKey,
ApplicationUser user)
Can this user see at least one project with this permission
|
ProjectWidePermission |
PublicAccessPermissionManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
ProjectWidePermission |
SubvertedPermissionManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
ProjectWidePermission |
DefaultPermissionManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
ProjectWidePermission |
ApplicationRequiredPermissionManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user) |
ProjectWidePermission |
PermissionManager.hasProjectWidePermission(ProjectPermissionKey permissionKey,
Project project,
ApplicationUser user)
Checks whether a user has a particular permission in the given project.
|
boolean |
PublicAccessPermissionManager.hasPublicAccess(ApplicationUser applicationUser) |
default boolean |
PermissionManager.hasPublicAccess(ApplicationUser applicationUser)
Verifies if anonymous user has public access to JIRA
|
boolean |
AdminIssueLockoutFlagManager.isAdminWithoutIssuePermission(ApplicationUser user)
Return
true if the passed user is an admin that does not have access to projects and issues. |
void |
PublicAccessPermissionManager.removeUserPermissions(ApplicationUser user) |
void |
SubvertedPermissionManager.removeUserPermissions(ApplicationUser user)
Not implemented.
|
void |
DefaultPermissionManager.removeUserPermissions(ApplicationUser user) |
void |
ApplicationRequiredPermissionManager.removeUserPermissions(ApplicationUser user) |
void |
PermissionManager.removeUserPermissions(ApplicationUser user)
Remove all permissions that have been assigned to this user
|
void |
JiraAuthenticationContextImpl.setLoggedInUser(ApplicationUser user) |
void |
JiraAuthenticationContext.setLoggedInUser(ApplicationUser user)
This is used in places like Jelly where we need to switch the identity of a user during execution.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AuthorisationManager.authoriseForLogin(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest)
Called to ask whether a user (non null always) is authorised to perform the given request as a login event
|
boolean |
AuthorisationManagerImpl.authoriseForLogin(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest) |
Authorisation.Decision |
Authorisation.authoriseForLogin(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest)
Called to ask whether a user is authorised to perform the given request when trying to login and estblish a new
session with JIRA.
|
boolean |
AuthorisationManager.authoriseForRole(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest,
String role)
Called to ask whether a user (non null always) is authorised to perform the given request as a login event
|
boolean |
AuthorisationManagerImpl.authoriseForRole(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest,
String role) |
Authorisation.Decision |
Authorisation.authoriseForRole(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest,
String role)
This is called by the security layers to ask whether a user is authorised to perform the given request with the
provided role string.
|
boolean |
AuthorisationManager.hasUserAccessToJIRA(ApplicationUser user)
Verifies whether a user has access to JIRA.
|
boolean |
AuthorisationManagerImpl.hasUserAccessToJIRA(ApplicationUser applicationUser) |
Modifier and Type | Method and Description |
---|---|
boolean |
CachingTrustedApplicationManager.delete(ApplicationUser user,
long id) |
boolean |
DefaultTrustedApplicationManager.delete(ApplicationUser user,
long id) |
boolean |
TrustedApplicationManager.delete(ApplicationUser user,
long id)
Deletes the
TrustedApplicationInfo with the specified ID. |
boolean |
CachingTrustedApplicationManager.delete(ApplicationUser user,
String applicationId) |
boolean |
DefaultTrustedApplicationManager.delete(ApplicationUser user,
String applicationId) |
boolean |
TrustedApplicationManager.delete(ApplicationUser user,
String applicationId)
Deletes the
TrustedApplicationInfo with the specified application ID. |
TrustedApplicationInfo |
CachingTrustedApplicationManager.store(ApplicationUser user,
TrustedApplicationInfo info) |
TrustedApplicationInfo |
DefaultTrustedApplicationManager.store(ApplicationUser user,
TrustedApplicationInfo info) |
TrustedApplicationInfo |
TrustedApplicationManager.store(ApplicationUser user,
TrustedApplicationInfo info)
Persist a
TrustedApplicationInfo |
Modifier and Type | Method and Description |
---|---|
Set<ApplicationUser> |
MockGroupManager.getConnectUsers()
Deprecated.
|
Set<ApplicationUser> |
RequestCachingGroupManager.getConnectUsers()
Deprecated.
|
Set<ApplicationUser> |
DefaultGroupManager.getConnectUsers()
Deprecated.
|
Set<ApplicationUser> |
GroupManager.getConnectUsers()
Deprecated.
since 7.2.0.
|
Collection<ApplicationUser> |
MockGroupManager.getDirectUsersInGroup(com.atlassian.crowd.embedded.api.Group group) |
Collection<ApplicationUser> |
RequestCachingGroupManager.getDirectUsersInGroup(com.atlassian.crowd.embedded.api.Group group) |
Collection<ApplicationUser> |
DefaultGroupManager.getDirectUsersInGroup(com.atlassian.crowd.embedded.api.Group group) |
Collection<ApplicationUser> |
GroupManager.getDirectUsersInGroup(com.atlassian.crowd.embedded.api.Group group)
Returns all the users that are direct members of the group.
|
Collection<ApplicationUser> |
MockGroupManager.getUsersInGroup(com.atlassian.crowd.embedded.api.Group group) |
Collection<ApplicationUser> |
RequestCachingGroupManager.getUsersInGroup(com.atlassian.crowd.embedded.api.Group group) |
Collection<ApplicationUser> |
DefaultGroupManager.getUsersInGroup(com.atlassian.crowd.embedded.api.Group group) |
Collection<ApplicationUser> |
GroupManager.getUsersInGroup(com.atlassian.crowd.embedded.api.Group group)
Returns all the users in a group.
|
Collection<ApplicationUser> |
MockGroupManager.getUsersInGroup(String groupName) |
Collection<ApplicationUser> |
RequestCachingGroupManager.getUsersInGroup(String groupName) |
Collection<ApplicationUser> |
DefaultGroupManager.getUsersInGroup(String groupName) |
Collection<ApplicationUser> |
GroupManager.getUsersInGroup(String groupName)
Returns all the users in a group.
|
Collection<ApplicationUser> |
MockGroupManager.getUsersInGroup(String groupName,
Boolean includeInactive) |
Collection<ApplicationUser> |
RequestCachingGroupManager.getUsersInGroup(String groupName,
Boolean includeInactive) |
Collection<ApplicationUser> |
DefaultGroupManager.getUsersInGroup(String groupName,
Boolean includeInactive) |
Collection<ApplicationUser> |
GroupManager.getUsersInGroup(String groupName,
Boolean includeInactive)
Returns all the users in a group.
|
Page<ApplicationUser> |
MockGroupManager.getUsersInGroup(String groupName,
Boolean active,
PageRequest pageRequest) |
Page<ApplicationUser> |
RequestCachingGroupManager.getUsersInGroup(String groupName,
Boolean includeInactive,
PageRequest pageRequest) |
Page<ApplicationUser> |
DefaultGroupManager.getUsersInGroup(String groupName,
Boolean includeInactive,
PageRequest pageRequest) |
Page<ApplicationUser> |
GroupManager.getUsersInGroup(String groupName,
Boolean includeInactive,
PageRequest pageRequest)
Returns a page with users in a group.
|
Modifier and Type | Method and Description |
---|---|
void |
MockGroupManager.addUserToGroup(ApplicationUser user,
com.atlassian.crowd.embedded.api.Group group) |
void |
RequestCachingGroupManager.addUserToGroup(ApplicationUser user,
com.atlassian.crowd.embedded.api.Group group) |
void |
DefaultGroupManager.addUserToGroup(ApplicationUser user,
com.atlassian.crowd.embedded.api.Group group) |
void |
GroupManager.addUserToGroup(ApplicationUser user,
com.atlassian.crowd.embedded.api.Group group)
Adds a user as a member of a group.
|
Collection<String> |
MockGroupManager.getGroupNamesForUser(ApplicationUser user) |
Collection<String> |
RequestCachingGroupManager.getGroupNamesForUser(ApplicationUser user) |
Collection<String> |
DefaultGroupManager.getGroupNamesForUser(ApplicationUser user) |
Collection<String> |
GroupManager.getGroupNamesForUser(ApplicationUser user)
Returns the names of all the groups that the given user belongs to.
|
Collection<com.atlassian.crowd.embedded.api.Group> |
MockGroupManager.getGroupsForUser(ApplicationUser user) |
Collection<com.atlassian.crowd.embedded.api.Group> |
RequestCachingGroupManager.getGroupsForUser(ApplicationUser user) |
Collection<com.atlassian.crowd.embedded.api.Group> |
DefaultGroupManager.getGroupsForUser(ApplicationUser user) |
Collection<com.atlassian.crowd.embedded.api.Group> |
GroupManager.getGroupsForUser(ApplicationUser user)
Returns all the groups that the given user belongs to.
|
boolean |
MockGroupManager.isUserInGroup(ApplicationUser user,
com.atlassian.crowd.embedded.api.Group group) |
boolean |
RequestCachingGroupManager.isUserInGroup(ApplicationUser user,
com.atlassian.crowd.embedded.api.Group group) |
boolean |
DefaultGroupManager.isUserInGroup(ApplicationUser user,
com.atlassian.crowd.embedded.api.Group group) |
boolean |
GroupManager.isUserInGroup(ApplicationUser user,
com.atlassian.crowd.embedded.api.Group group)
Returns
true if the user is a member of the group. |
boolean |
MockGroupManager.isUserInGroup(ApplicationUser user,
String groupName) |
boolean |
RequestCachingGroupManager.isUserInGroup(ApplicationUser user,
String groupName) |
boolean |
DefaultGroupManager.isUserInGroup(ApplicationUser user,
String groupname) |
boolean |
GroupManager.isUserInGroup(ApplicationUser user,
String groupName)
Returns
true if the user is a member of the named group. |
MockGroupManager |
MockGroupManager.setUserMembership(ApplicationUser user,
com.atlassian.crowd.embedded.api.Group... groups) |
Modifier and Type | Method and Description |
---|---|
LoginResult |
BootstrapLoginManagerImpl.authenticate(ApplicationUser user,
String password) |
LoginResult |
LoginManagerImpl.authenticate(ApplicationUser user,
String password) |
LoginResult |
LoginManager.authenticate(ApplicationUser user,
String password)
This can be called to see if an user knows the given password.
|
LoginResult |
BootstrapLoginManagerImpl.authenticateWithoutElevatedCheck(ApplicationUser user,
String password) |
LoginResult |
LoginManagerImpl.authenticateWithoutElevatedCheck(ApplicationUser user,
String password) |
LoginResult |
LoginManager.authenticateWithoutElevatedCheck(ApplicationUser user,
String password)
This can be called to see if an user knows the given password.
|
boolean |
BootstrapLoginManagerImpl.authoriseForLogin(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest) |
boolean |
LoginManagerImpl.authoriseForLogin(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest) |
boolean |
LoginManager.authoriseForLogin(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest)
This is called to see if an authenticated user is allowed to login JIRA in the context of a web request.
|
boolean |
BootstrapLoginManagerImpl.authoriseForRole(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest,
String role) |
boolean |
LoginManagerImpl.authoriseForRole(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest,
String role) |
boolean |
LoginManager.authoriseForRole(ApplicationUser user,
javax.servlet.http.HttpServletRequest httpServletRequest,
String role)
This is called to see if an authenticated user is allowed to execute the web request given the required role
|
LoginInfo |
RecoveryLoginStore.getLoginInfo(ApplicationUser user) |
LoginInfo |
LoginStoreImpl.getLoginInfo(ApplicationUser user) |
LoginInfo |
LoginStore.getLoginInfo(ApplicationUser user)
Called to get the login information about a user
|
LoginInfo |
RecoveryLoginStore.recordLoginAttempt(ApplicationUser user,
boolean authenticated) |
LoginInfo |
LoginStoreImpl.recordLoginAttempt(ApplicationUser user,
boolean authenticated) |
LoginInfo |
LoginStore.recordLoginAttempt(ApplicationUser user,
boolean authenticated)
This will record that fact the user authenticated or not
|
void |
RecoveryLoginStore.resetFailedLoginCount(ApplicationUser user) |
void |
BootstrapLoginManagerImpl.resetFailedLoginCount(ApplicationUser user) |
void |
LoginStoreImpl.resetFailedLoginCount(ApplicationUser user) |
void |
LoginManagerImpl.resetFailedLoginCount(ApplicationUser user) |
void |
LoginManager.resetFailedLoginCount(ApplicationUser user)
This can be called to reset the failed login count of a user
|
void |
LoginStore.resetFailedLoginCount(ApplicationUser user)
This can be called to reset the failed login count of a user
|
LoginInfo |
RecoveryLoginStore.updateLastLoginTime(ApplicationUser user) |
LoginInfo |
BootstrapLoginManagerImpl.updateLastLoginTime(ApplicationUser user) |
LoginInfo |
LoginStoreImpl.updateLastLoginTime(ApplicationUser user) |
LoginInfo |
LoginManagerImpl.updateLastLoginTime(ApplicationUser user) |
LoginInfo |
LoginManager.updateLastLoginTime(ApplicationUser user)
This is called to update the last login time without clearing the elevated security check.
|
LoginInfo |
LoginStore.updateLastLoginTime(ApplicationUser user)
This will update the last login time for the user without resetting the elevated
security check
|
Modifier and Type | Method and Description |
---|---|
ProjectPermissionOverride.Reason |
ProjectPermissionOverride.getReason(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser)
The implementation of this method should return a description explaining how does the permission overriding
affects if the user has permissions to the selected project.
|
ProjectPermissionOverride.Decision |
ProjectPermissionOverride.hasPermission(ProjectPermissionKey projectPermissionKey,
Project project,
ApplicationUser applicationUser)
The implementation of this method is supposed to either deny permissions or abstain from decision if the user
has permissions to the selected project.
|
Modifier and Type | Method and Description |
---|---|
Set<ApplicationUser> |
DefaultRoleActorsImpl.getApplicationUsers() |
Set<ApplicationUser> |
DefaultRoleActors.getApplicationUsers() |
SortedSet<ApplicationUser> |
MockGroupRoleActor.getUsers() |
Set<ApplicationUser> |
MockRoleActor.getUsers() |
Set<ApplicationUser> |
MockUserRoleActor.getUsers() |
Set<ApplicationUser> |
DefaultRoleActorsImpl.getUsers() |
Set<ApplicationUser> |
RoleActor.getUsers()
Will provide a Set of users encapsulated by this RoleActor.
|
Set<ApplicationUser> |
DefaultRoleActors.getUsers() |
Modifier and Type | Method and Description |
---|---|
boolean |
MockGroupRoleActor.contains(ApplicationUser user) |
boolean |
MockRoleActor.contains(ApplicationUser user) |
boolean |
MockUserRoleActor.contains(ApplicationUser user) |
boolean |
DefaultRoleActorsImpl.contains(ApplicationUser user) |
boolean |
RoleActor.contains(ApplicationUser user)
Does this RoleActor contain the specified user.
|
boolean |
DefaultRoleActors.contains(ApplicationUser user)
Does the collection of RoleActor instances contain the specified user.
|
ProjectRoleManager.ProjectIdToProjectRoleIdsMap |
DefaultProjectRoleManager.createProjectIdToProjectRolesMap(ApplicationUser user,
Collection<Long> projectIds) |
ProjectRoleManager.ProjectIdToProjectRoleIdsMap |
ProjectRoleManager.createProjectIdToProjectRolesMap(ApplicationUser user,
Collection<Long> projectIds) |
Set<ProjectRoleActor> |
PluginDelegatingRoleActorFactory.getAllRoleActorsForUser(ApplicationUser user) |
Set<ProjectRoleActor> |
RoleActorFactory.getAllRoleActorsForUser(ApplicationUser user)
Find and return all role actors for the given user.
|
Collection<ProjectRole> |
DefaultProjectRoleManager.getProjectRoles(ApplicationUser user,
Project project) |
Collection<ProjectRole> |
ProjectRoleManager.getProjectRoles(ApplicationUser user,
Project project)
This will return all the
ProjectRole s that the user is currently a member of for the given project. |
boolean |
DefaultProjectRoleManager.isUserInProjectRole(ApplicationUser user,
ProjectRole projectRole,
Project project) |
boolean |
ProjectRoleManager.isUserInProjectRole(ApplicationUser user,
ProjectRole projectRole,
Project project)
Returns true only if the given user is in the given project role for the
given project.
|
Constructor and Description |
---|
MockUserRoleActor(Long projectRoleId,
Long projectId,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
Set<ApplicationUser> |
GroupRoleActorFactory.GroupRoleActor.getUsers() |
Modifier and Type | Method and Description |
---|---|
boolean |
GroupRoleActorFactory.GroupRoleActor.contains(ApplicationUser user) |
Set<ProjectRoleActor> |
UserRoleActorFactory.getAllRoleActorsForUser(ApplicationUser user) |
Set<ProjectRoleActor> |
GroupRoleActorFactory.getAllRoleActorsForUser(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
Set<ApplicationUser> |
GroupDropdown.getUsers(PermissionContext ctx,
String groupName) |
Set<ApplicationUser> |
ProjectLead.getUsers(PermissionContext ctx,
String ignored) |
Set<ApplicationUser> |
CurrentReporter.getUsers(PermissionContext ctx,
String ignored) |
Set<ApplicationUser> |
SingleUser.getUsers(PermissionContext ctx,
String argument)
Returns a single element set that contains a User object found
by the given user name.
|
Set<ApplicationUser> |
CurrentAssigneeHasAssignablePermission.getUsers(PermissionContext ctx,
String ignored) |
Set<ApplicationUser> |
GroupCF.getUsers(PermissionContext ctx,
String customFieldId)
Get user specified by the Custom Field
|
Set<ApplicationUser> |
ApplicationRoleSecurityType.getUsers(PermissionContext ctx,
String applicationId) |
Set<ApplicationUser> |
UserCF.getUsers(PermissionContext ctx,
String customFieldId)
Get user specified by the Custom Field
|
Set<ApplicationUser> |
CurrentReporterHasCreatePermission.getUsers(PermissionContext ctx,
String ignored) |
Set<ApplicationUser> |
SecurityType.getUsers(PermissionContext permissionContext,
String argument)
Returns a list of
ApplicationUser s represented by a security type instance. |
Set<ApplicationUser> |
CurrentAssignee.getUsers(PermissionContext ctx,
String ignored) |
Modifier and Type | Method and Description |
---|---|
Set<org.apache.lucene.util.BytesRef> |
AbstractProjectsSecurityType.getPermissionFieldContents(ApplicationUser searcher,
Project project,
IssueSecurityLevel securityLevel,
String parameter) |
Set<org.apache.lucene.util.BytesRef> |
ProjectLead.getPermissionFieldContents(ApplicationUser searcher,
Project project,
IssueSecurityLevel securityLevel,
String parameter) |
Set<org.apache.lucene.util.BytesRef> |
AbstractIssueFieldSecurityType.getPermissionFieldContents(ApplicationUser searcher,
Project project,
IssueSecurityLevel securityLevel,
String parameter) |
Set<org.apache.lucene.util.BytesRef> |
SecurityType.getPermissionFieldContents(ApplicationUser searcher,
Project project,
IssueSecurityLevel securityLevel,
String parameter)
Returns a set of (
issue level permission field )
contents based on the security level, the project and optionally the parameter (for role-based queries). |
Set<org.apache.lucene.util.BytesRef> |
AbstractProjectsSecurityType.getPermissionFieldContents(ApplicationUser searcher,
Project project,
String parameter) |
Set<org.apache.lucene.util.BytesRef> |
AbstractIssueFieldSecurityType.getPermissionFieldContents(ApplicationUser searcher,
Project project,
String parameter) |
Set<org.apache.lucene.util.BytesRef> |
SecurityType.getPermissionFieldContents(ApplicationUser searcher,
Project project,
String parameter)
Returns a set of (
project permission field )
contents based on the project and optionally the parameter (for role-based queries). |
protected Set<org.apache.lucene.util.BytesRef> |
GroupCF.getPermissionFieldContentsForProject(Project project,
ApplicationUser searcher,
String fieldName) |
protected Set<org.apache.lucene.util.BytesRef> |
AbstractIssueFieldSecurityType.getPermissionFieldContentsForProject(Project project,
ApplicationUser searcher,
String fieldName)
Gets called to produce the Lucene query for a project
|
protected Set<org.apache.lucene.util.BytesRef> |
GroupCF.getPermissionFieldContentsForSecurityLevel(IssueSecurityLevel issueSecurity,
ApplicationUser searcher,
String fieldName) |
protected Set<org.apache.lucene.util.BytesRef> |
AbstractIssueFieldSecurityType.getPermissionFieldContentsForSecurityLevel(IssueSecurityLevel issueSecurity,
ApplicationUser searcher,
String fieldName)
Produces a Lucene query for a given issue security type such that documents
match the query only when the given user is defined for the issue by this
custom field in the given security.
|
protected boolean |
GroupCF.hasIssuePermission(ApplicationUser user,
boolean issueCreation,
Issue issue,
String parameter) |
protected boolean |
UserCF.hasIssuePermission(ApplicationUser user,
boolean issueCreation,
Issue issue,
String parameter) |
protected abstract boolean |
AbstractIssueFieldSecurityType.hasIssuePermission(ApplicationUser user,
boolean issueCreation,
Issue issue,
String parameter) |
protected boolean |
SimpleIssueFieldSecurityType.hasIssuePermission(ApplicationUser user,
boolean issueCreation,
Issue issue,
String parameter) |
boolean |
GroupDropdown.hasPermission(Issue issue,
String parameter,
ApplicationUser user,
boolean issueCreation) |
boolean |
ProjectLead.hasPermission(Issue issue,
String parameter,
ApplicationUser user,
boolean issueCreation) |
boolean |
SingleUser.hasPermission(Issue issue,
String parameter,
ApplicationUser user,
boolean issueCreation) |
boolean |
ApplicationRoleSecurityType.hasPermission(Issue issue,
String parameter,
ApplicationUser user,
boolean issueCreation) |
boolean |
AbstractIssueFieldSecurityType.hasPermission(Issue issue,
String parameter,
ApplicationUser user,
boolean issueCreation) |
boolean |
GroupDropdown.hasPermission(Project project,
String parameter,
ApplicationUser user,
boolean issueCreation) |
boolean |
ProjectLead.hasPermission(Project project,
String argument,
ApplicationUser user,
boolean issueCreation) |
boolean |
SingleUser.hasPermission(Project project,
String parameter,
ApplicationUser user,
boolean issueCreation) |
boolean |
ApplicationRoleSecurityType.hasPermission(Project project,
String parameter,
ApplicationUser user,
boolean issueCreation) |
boolean |
AbstractIssueFieldSecurityType.hasPermission(Project project,
String parameter,
ApplicationUser user,
boolean issueCreation) |
protected boolean |
CurrentReporter.hasProjectPermission(ApplicationUser user,
boolean issueCreation,
Project project) |
protected boolean |
CurrentAssigneeHasAssignablePermission.hasProjectPermission(ApplicationUser user,
boolean issueCreation,
Project project) |
protected boolean |
GroupCF.hasProjectPermission(ApplicationUser user,
boolean issueCreation,
Project project) |
protected boolean |
UserCF.hasProjectPermission(ApplicationUser user,
boolean issueCreation,
Project project) |
protected abstract boolean |
AbstractIssueFieldSecurityType.hasProjectPermission(ApplicationUser user,
boolean issueCreation,
Project project) |
protected boolean |
CurrentReporterHasCreatePermission.hasProjectPermission(ApplicationUser user,
boolean issueCreation,
Project project) |
protected boolean |
CurrentAssignee.hasProjectPermission(ApplicationUser user,
boolean issueCreation,
Project project)
Originally this method was intended to return false while issue creation, otherwise true.
|
Modifier and Type | Method and Description |
---|---|
Set<ApplicationUser> |
GroupSelectorUtils.getUsers(Issue issue,
String customFieldId)
Get users from a group chosen by a Group Selector custom field, in a certain issue.
|
Set<ApplicationUser> |
GroupSelectorUtils.getUsers(Object groupCustomFieldRawValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
GroupSelectorUtils.isUserInCustomFieldGroup(Issue issue,
CustomField field,
ApplicationUser user)
Determines if a user is a member of a group specified by a custom field value.
|
Modifier and Type | Method and Description |
---|---|
Iterable<JiraServiceContainer> |
DefaultServiceManager.getServicesManageableBy(ApplicationUser user) |
Iterable<JiraServiceContainer> |
ServiceManager.getServicesManageableBy(ApplicationUser user)
Gets the services that can be managed by an specific user.
|
boolean |
ServiceTypes.isManageableBy(ApplicationUser user,
String serviceClassName)
Determines whether an user is able to perform administrative tasks on services of an specified class.
|
boolean |
DefaultServiceTypes.isManageableBy(ApplicationUser user,
String serviceClassName) |
Set<InBuiltServiceTypes.InBuiltServiceType> |
DefaultInBuiltServiceTypes.manageableBy(ApplicationUser user) |
Set<InBuiltServiceTypes.InBuiltServiceType> |
InBuiltServiceTypes.manageableBy(ApplicationUser user)
Gets a list of all the in-built services types that can be managed by the specified user.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
DefaultMessageHandlerContext.createUser(String username,
String password,
String email,
String fullname,
Integer userEventType) |
ApplicationUser |
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
|
ApplicationUser |
MessageUserProcessorImpl.findUserByEmail(String emailAddress)
Returns the first User found with an email address that equals the given emailAddress case insensitively.
|
ApplicationUser |
MessageUserProcessor.findUserByEmail(String emailAddress)
Returns the first User found with an email address that equals the given emailAddress case insensitively.
|
ApplicationUser |
MessageUserProcessorImpl.findUserByUsername(String username)
Finds the user with the given username or returns null if there is no such User.
|
ApplicationUser |
MessageUserProcessor.findUserByUsername(String username)
Finds the user with the given username or returns null if there is no such User.
|
ApplicationUser |
MessageUserProcessorImpl.getAuthorFromSender(javax.mail.Message message)
For each sender of the given message in turn, look up a User first with a case-insensitively equal email address,
and failing that, with a username equal to the email address.
|
ApplicationUser |
MessageUserProcessor.getAuthorFromSender(javax.mail.Message message)
For each sender of the given message in turn, look up a User first with a case-insensitively equal email address,
and failing that, with a username equal to the email address.
|
Modifier and Type | Method and Description |
---|---|
ChangeItemBean |
DefaultMessageHandlerContext.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
Issue issue) |
ChangeItemBean |
MessageHandlerContext.createAttachment(File file,
String filename,
String contentType,
ApplicationUser author,
Issue issue)
Creates attachment (when run in real mode) or does nothing if run in dry run mode.
|
Comment |
DefaultMessageHandlerContext.createComment(Issue issue,
ApplicationUser author,
String body,
boolean dispatchEvent) |
Comment |
MessageHandlerContext.createComment(Issue issue,
ApplicationUser author,
String body,
boolean dispatchEvent)
Creates a new issue comment in JIRA or a dummy comment in dry run mode
|
Issue |
DefaultMessageHandlerContext.createIssue(ApplicationUser reporter,
Issue issue) |
Issue |
MessageHandlerContext.createIssue(ApplicationUser reporter,
Issue issue)
Creates a new issue in JIRA or a dummy issue in dry run mode
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
IndexableSharedEntity.getOwner() |
ApplicationUser |
SharedEntity.getOwner() |
ApplicationUser |
SharedEntity.Identifier.getOwner() |
Modifier and Type | Method and Description |
---|---|
EnclosedIterable<S> |
SharedEntityAccessor.get(ApplicationUser searcher,
SharedEntityAccessor.RetrievalDescriptor descriptor)
Used to get
sharable entities from a search result. |
S |
SharedEntityAccessor.getSharedEntity(ApplicationUser user,
Long entityId)
This is called to get
SharedEntity by id If the user is allows to see it |
boolean |
DefaultShareManager.hasPermission(ApplicationUser user,
SharedEntity entity)
Deprecated.
|
boolean |
ShareManager.hasPermission(ApplicationUser user,
SharedEntity entity)
Deprecated.
since 5.0 please use
#isSharedWith(com.atlassian.crowd.embedded.api.User, SharedEntity)
to get the same logic. Permission checks should be done in the service layer according to this information. |
boolean |
SharedEntityAccessor.hasPermissionToUse(ApplicationUser user,
S entity)
Returns true if the user has permission to use the
SharedEntity |
boolean |
DefaultShareManager.isSharedWith(ApplicationUser user,
SharedEntity sharedEntity) |
boolean |
ShareManager.isSharedWith(ApplicationUser user,
SharedEntity sharedEntity)
Whether this entity has been shared with the specified user.
|
boolean |
DefaultShareManager.isSharedWith(ApplicationUser user,
SharedEntity sharedEntity,
ShareRight shareRight) |
boolean |
ShareManager.isSharedWith(ApplicationUser user,
SharedEntity sharedEntity,
ShareRight shareRight)
Checks if provided user has share rights for given entity.
|
SharedEntitySearchResult<S> |
SharedEntityAccessor.search(SharedEntitySearchParameters searchParameters,
ApplicationUser user,
int pagePosition,
int pageWidth)
Search for the
sharable entities that match the passed SearchParameters. |
Constructor and Description |
---|
Identifier(Long id,
SharedEntity.TypeDescriptor<? extends SharedEntity> type,
ApplicationUser owner) |
IndexableSharedEntity(Long id,
String name,
String description,
SharedEntity.TypeDescriptor<S> entityType,
ApplicationUser owner,
Long favouriteCount) |
IndexableSharedEntity(Long id,
String name,
String description,
SharedEntity.TypeDescriptor<S> entityType,
ApplicationUser owner,
Long favouriteCount,
SharedEntity.SharePermissions permissions) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
QueryFactory.create(SharedEntitySearchParameters searchParameters,
ApplicationUser user)
Get a query with permission checks for the specified user.
|
org.apache.lucene.search.Query |
PermissionQueryFactory.create(SharedEntitySearchParameters searchParameters,
ApplicationUser user) |
org.apache.lucene.search.Query |
DefaultQueryFactory.create(SharedEntitySearchParameters params,
ApplicationUser user) |
org.apache.lucene.search.Query |
IsSharedQueryFactory.create(SharedEntitySearchParameters searchParameters,
ApplicationUser user) |
SharedEntitySearchResult<S> |
DefaultSharedEntitySearcher.search(SharedEntitySearchParameters searchParameters,
ApplicationUser user,
int pageOffset,
int pageWidth) |
Modifier and Type | Method and Description |
---|---|
SharedEntitySearchResult<S> |
SharedEntitySearcher.search(SharedEntitySearchParameters searchParameters,
ApplicationUser user,
int pageOffset,
int pageWidth)
Search for
SharedEntity instances that match the passed in searchParameters. |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
AuthenticatedUserShareQueryFactory.getQuery(ShareTypeSearchParameter parameter,
ApplicationUser user) |
org.apache.lucene.search.Query |
GlobalShareQueryFactory.getQuery(ShareTypeSearchParameter parameter,
ApplicationUser user) |
org.apache.lucene.search.Query |
GroupShareQueryFactory.getQuery(ShareTypeSearchParameter searchParameter,
ApplicationUser user) |
org.apache.lucene.search.Query |
PrivateShareQueryFactory.getQuery(ShareTypeSearchParameter parameter,
ApplicationUser user) |
org.apache.lucene.search.Query |
UserShareQueryFactory.getQuery(ShareTypeSearchParameter parameter,
ApplicationUser user) |
org.apache.lucene.search.Query |
ProjectShareQueryFactory.getQuery(ShareTypeSearchParameter searchParameter,
ApplicationUser user) |
org.apache.lucene.search.Query |
ShareQueryFactory.getQuery(ShareTypeSearchParameter parameter,
ApplicationUser user)
Get the search query for the shares that can be seen by the passed user for the passed parameter.
|
org.apache.lucene.index.Term[] |
AuthenticatedUserShareQueryFactory.getTerms(ApplicationUser user) |
org.apache.lucene.index.Term[] |
GlobalShareQueryFactory.getTerms(ApplicationUser user) |
org.apache.lucene.index.Term[] |
GroupShareQueryFactory.getTerms(ApplicationUser user) |
org.apache.lucene.index.Term[] |
PrivateShareQueryFactory.getTerms(ApplicationUser user) |
org.apache.lucene.index.Term[] |
UserShareQueryFactory.getTerms(ApplicationUser user) |
org.apache.lucene.index.Term[] |
ProjectShareQueryFactory.getTerms(ApplicationUser user) |
org.apache.lucene.index.Term[] |
ShareQueryFactory.getTerms(ApplicationUser user)
Get the search terms for the shares that can be seen by the passed user.
|
boolean |
AuthenticatedUserShareTypePermissionChecker.hasPermission(ApplicationUser user,
SharePermission permission)
All JIRA authenticated users are able to see/use shared
SharedEntity so this
will always return true, if the user is not null. |
boolean |
GlobalShareTypePermissionChecker.hasPermission(ApplicationUser user,
SharePermission permission)
All JIRA users are able to see/use globally shared
SharedEntity so this
will always return true, regardless of user passed in. |
boolean |
ProjectShareTypePermissionChecker.hasPermission(ApplicationUser user,
SharePermission permission)
If a role has been passed in, checks to see if the user is in that role for the given project.
|
boolean |
GroupShareTypePermissionChecker.hasPermission(ApplicationUser user,
SharePermission permission)
Checks to see if user is part of the group specified in the permission
|
boolean |
UserShareTypePermissionChecker.hasPermission(ApplicationUser userToBeChecked,
SharePermission permission)
Checks if specified user is the same as in share permission
|
boolean |
ShareTypePermissionChecker.hasPermission(ApplicationUser user,
SharePermission permission)
Checks if the passed user is given rights by the ShareType to user/view a
SharedEntity with the passed
permission. |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseInitialImporter.importInitialData(ApplicationUser loggedInUser) |
void |
DatabaseInitialImporter.importInitialData(ApplicationUser loggedInUser,
boolean checkAlreadyInitialized) |
void |
DatabaseInitialImporter.importInitialData(ApplicationUser loggedInUser,
io.atlassian.fugue.Option<String> serverId,
io.atlassian.fugue.Option<String> license) |
Modifier and Type | Method and Description |
---|---|
TimeZone |
TimeZoneManagerImpl.getTimeZoneforUser(ApplicationUser user) |
TimeZone |
TimeZoneManager.getTimeZoneforUser(ApplicationUser user)
Return the time zone of a user who is currently logged in.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingApplicationUser
An ApplicationUser comprising of a String key and an embedded crowd User.
|
class |
LazyLoadingApplicationUser
Application user that is created just from a name and loads its other details from Crowd when needed.
|
class |
MockApplicationUser
A convenient mock for
ApplicationUser . |
Modifier and Type | Method and Description |
---|---|
static ApplicationUser |
ApplicationUsers.byKey(String key)
Gets the
ApplicationUser in a null -safe manner. |
static ApplicationUser |
ApplicationUsers.from(com.atlassian.crowd.embedded.api.User user)
Obtains an ApplicationUser for the given directory User.
|
ApplicationUser |
ImmutableUserIssueRelevance.getUser() |
ApplicationUser |
UserIssueRelevance.getUser() |
static ApplicationUser |
UserUtils.getUser(String username)
Retrieves and returns the user by given username.
|
static ApplicationUser |
UserUtils.getUserByEmail(String emailAddress)
Return the first user found that matches the given email address (or null if not found).
|
static ApplicationUser |
UserUtils.getUserEvenWhenUnknown(String username)
Returns a
User based on user name. |
ApplicationUser |
DefaultSecureUserTokenManager.useToken(String token,
SecureUserTokenManager.TokenType tokenType) |
ApplicationUser |
SecureUserTokenManager.useToken(String token,
SecureUserTokenManager.TokenType tokenType)
Given a token and tokenType, this method returns the User that was mapped to this token and then revokes the
token to ensure it can't be used again.
|
Modifier and Type | Method and Description |
---|---|
static List<ApplicationUser> |
ApplicationUsers.from(Collection<com.atlassian.crowd.embedded.api.User> users)
Performs
null -safe conversion of a collection of directory users
to corresponding ApplicationUser objects. |
static List<ApplicationUser> |
ApplicationUsers.from(Iterable<com.atlassian.crowd.embedded.api.User> users)
Performs
null -safe conversion of a collection of directory users
to corresponding ApplicationUser objects. |
static Collection<ApplicationUser> |
UserUtils.getAllUsers()
Deprecated.
Since v7.0. Only retrieve the users you really need. See
UserSearchService |
static List<ApplicationUser> |
UserUtils.getUsersByEmail(String email)
Finds the users by the given e-mail address.
|
Set<ApplicationUser> |
UserSet.toSet() |
Collection<ApplicationUser> |
UserSet.values() |
Modifier and Type | Method and Description |
---|---|
void |
UserSet.add(ApplicationUser user) |
void |
DefaultUserAdminHistoryManager.addAdminPageToHistory(ApplicationUser user,
String key,
String data) |
void |
UserAdminHistoryManager.addAdminPageToHistory(ApplicationUser user,
String key,
String data)
Add an admin page to the user history list.
|
void |
UserHistoryStore.addHistoryItem(ApplicationUser user,
UserHistoryItem historyItem)
Add a history item to the database.
|
void |
SessionBasedAnonymousUserHistoryStore.addHistoryItem(ApplicationUser user,
UserHistoryItem historyItem)
Deprecated.
|
void |
OfBizUserHistoryStore.addHistoryItem(ApplicationUser user,
UserHistoryItem item) |
void |
CachingUserHistoryStore.addHistoryItem(ApplicationUser user,
UserHistoryItem historyItem) |
void |
OfBizUserHistoryStore.addHistoryItemNoChecks(ApplicationUser user,
UserHistoryItem item)
Optimised method for adding a history item.
|
void |
DefaultUserIssueSearcherHistoryManager.addIssueSearcherToHistory(ApplicationUser user,
IssueSearcher searcher) |
void |
UserIssueSearcherHistoryManager.addIssueSearcherToHistory(ApplicationUser user,
IssueSearcher searcher)
Add a JQL query string to the user history list.
|
void |
DefaultUserIssueHistoryManager.addIssueToHistory(ApplicationUser user,
Issue issue) |
void |
UserIssueHistoryManager.addIssueToHistory(ApplicationUser user,
Issue issue)
Add an
Issue to the user history list. |
void |
DefaultUserHistoryManager.addItemToHistory(UserHistoryItem.Type type,
ApplicationUser user,
String entityId) |
void |
UserHistoryManager.addItemToHistory(UserHistoryItem.Type type,
ApplicationUser user,
String entityId)
Create and add an
UserHistoryItem to the Users history list. |
void |
DefaultUserHistoryManager.addItemToHistory(UserHistoryItem.Type type,
ApplicationUser user,
String entityId,
String data) |
void |
UserHistoryManager.addItemToHistory(UserHistoryItem.Type type,
ApplicationUser user,
String entityId,
String data)
Create and add an
UserHistoryItem to the Users history list. |
void |
DefaultUserProjectHistoryManager.addProjectToHistory(ApplicationUser user,
Project project) |
void |
UserProjectHistoryManager.addProjectToHistory(ApplicationUser user,
Project project)
Add a
Project to the user hsitory list. |
void |
DefaultUserQueryHistoryManager.addQueryToHistory(ApplicationUser user,
String query) |
void |
UserQueryHistoryManager.addQueryToHistory(ApplicationUser user,
String query)
Add a JQL query string to the user history list.
|
com.atlassian.crowd.embedded.api.User |
MockCrowdService.addUser(ApplicationUser user) |
boolean |
MockCrowdService.addUserToGroup(ApplicationUser user,
com.atlassian.crowd.embedded.api.Group group) |
void |
DefaultUserHistoryManager.addUserToHistory(UserHistoryItem.Type type,
ApplicationUser user,
ApplicationUser entity) |
void |
UserHistoryManager.addUserToHistory(UserHistoryItem.Type type,
ApplicationUser user,
ApplicationUser entity)
Create and add an
UserHistoryItem to the Users history list. |
boolean |
MockUserDeleteVeto.allowDeleteUser(ApplicationUser user) |
boolean |
UserDeleteVeto.allowDeleteUser(ApplicationUser user) |
boolean |
UserDeleteVetoImpl.allowDeleteUser(ApplicationUser user) |
boolean |
UserSet.contains(ApplicationUser user) |
com.opensymphony.module.propertyset.PropertySet |
MockUserPropertyManager.createOrGetForUser(ApplicationUser user) |
void |
OfBizUserHistoryStore.expireOldHistoryItems(ApplicationUser user,
UserHistoryItem.Type type,
Collection<String> entityIds)
Method for expiring old items.
|
static RemoteUser |
RemoteUser.from(ApplicationUser user) |
String |
DefaultSecureUserTokenManager.generateToken(ApplicationUser user,
SecureUserTokenManager.TokenType tokenType) |
String |
SecureUserTokenManager.generateToken(ApplicationUser user,
SecureUserTokenManager.TokenType tokenType)
Given a user and tokentype this method creates a new secure token and returns this token.
|
List<UserHistoryItem> |
DefaultUserAdminHistoryManager.getAdminPageHistoryWithoutPermissionChecks(ApplicationUser user) |
List<UserHistoryItem> |
UserAdminHistoryManager.getAdminPageHistoryWithoutPermissionChecks(ApplicationUser user)
Retreive the user's admin page history queue.
|
long |
MockUserDeleteVeto.getCommentCountByAuthor(ApplicationUser user) |
long |
UserDeleteVeto.getCommentCountByAuthor(ApplicationUser user) |
long |
UserDeleteVetoImpl.getCommentCountByAuthor(ApplicationUser user) |
Project |
DefaultUserProjectHistoryManager.getCurrentProject(int permission,
ApplicationUser user) |
Project |
UserProjectHistoryManager.getCurrentProject(int permission,
ApplicationUser user)
Gets the last viewed project that the user visted and still has permission to see.
|
List<UserHistoryItem> |
DefaultUserIssueHistoryManager.getFullIssueHistoryWithoutPermissionChecks(ApplicationUser user) |
List<UserHistoryItem> |
UserIssueHistoryManager.getFullIssueHistoryWithoutPermissionChecks(ApplicationUser user)
Retrieve the user's issue history queue.
|
List<UserHistoryItem> |
DefaultUserIssueHistoryManager.getFullIssueHistoryWithPermissionChecks(ApplicationUser user) |
List<UserHistoryItem> |
UserIssueHistoryManager.getFullIssueHistoryWithPermissionChecks(ApplicationUser user)
Retrieve the user's issue history queue.
|
List<UserHistoryItem> |
DefaultUserHistoryManager.getHistory(UserHistoryItem.Type type,
ApplicationUser user) |
List<UserHistoryItem> |
UserHistoryStore.getHistory(UserHistoryItem.Type type,
ApplicationUser user)
Retrieve the history for a given user/type.
|
List<UserHistoryItem> |
SessionBasedAnonymousUserHistoryStore.getHistory(UserHistoryItem.Type type,
ApplicationUser user)
Deprecated.
|
List<UserHistoryItem> |
OfBizUserHistoryStore.getHistory(UserHistoryItem.Type type,
ApplicationUser user) |
List<UserHistoryItem> |
CachingUserHistoryStore.getHistory(UserHistoryItem.Type type,
ApplicationUser user) |
List<UserHistoryItem> |
UserHistoryManager.getHistory(UserHistoryItem.Type type,
ApplicationUser user)
Retreive the user's history queue for the given
UserHistoryItem.Type . |
static String |
ApplicationUsers.getKeyFor(ApplicationUser user)
Get the key from the given user in a null-safe manner
|
String |
MockUserKeyService.getKeyForUser(ApplicationUser user) |
String |
UserKeyServiceImpl.getKeyForUser(ApplicationUser user) |
String |
UserKeyService.getKeyForUser(ApplicationUser user)
This convenience method is equivalent to
getKeyForUsername(user.getName()) , except that
it is null -safe. |
Optional<IssueTypeId> |
UserIssueTypeManagerImpl.getLastUsedIssueTypeId(ApplicationUser user) |
Optional<IssueTypeId> |
UserIssueTypeManager.getLastUsedIssueTypeId(ApplicationUser user)
Retrieves the last used parent issue type id used by the provided user.
|
Optional<IssueTypeId> |
UserIssueTypeManagerImpl.getLastUsedSubtaskIssueTypeId(ApplicationUser user) |
Optional<IssueTypeId> |
UserIssueTypeManager.getLastUsedSubtaskIssueTypeId(ApplicationUser user)
Retrieves the last used subtask issue type id used by the provided user.
|
Locale |
MockUserLocaleStore.getLocale(ApplicationUser user) |
Locale |
PropertySetUserLocaleStore.getLocale(ApplicationUser user) |
Locale |
BootstrapUserLocaleStore.getLocale(ApplicationUser user) |
Locale |
UserLocaleStore.getLocale(ApplicationUser user)
Return the
Locale associated with the passed user. |
List<UserHistoryItem> |
DefaultUserProjectHistoryManager.getProjectHistoryWithoutPermissionChecks(ApplicationUser user) |
List<UserHistoryItem> |
UserProjectHistoryManager.getProjectHistoryWithoutPermissionChecks(ApplicationUser user)
Retreive the user's project history queue.
|
List<Project> |
DefaultUserProjectHistoryManager.getProjectHistoryWithPermissionChecks(int permission,
ApplicationUser user) |
List<Project> |
UserProjectHistoryManager.getProjectHistoryWithPermissionChecks(int permission,
ApplicationUser user)
Deprecated.
|
List<Project> |
DefaultUserProjectHistoryManager.getProjectHistoryWithPermissionChecks(ProjectAction projectAction,
ApplicationUser user) |
List<Project> |
UserProjectHistoryManager.getProjectHistoryWithPermissionChecks(ProjectAction projectAction,
ApplicationUser user)
Retreive the user's project history queue.
|
com.opensymphony.module.propertyset.PropertySet |
MockUserPropertyManager.getPropertySet(ApplicationUser user) |
com.opensymphony.module.propertyset.PropertySet |
DefaultUserPropertyManager.getPropertySet(ApplicationUser user) |
com.opensymphony.module.propertyset.PropertySet |
UserPropertyManager.getPropertySet(ApplicationUser user)
Get the property set associated with a user.
|
List<Issue> |
DefaultUserIssueHistoryManager.getShortIssueHistory(ApplicationUser user) |
List<Issue> |
UserIssueHistoryManager.getShortIssueHistory(ApplicationUser user)
Retrieve the first X (jira.max.issue.history.dropdown.items) Issues from the user's issue history queue.
|
List<UserHistoryItem> |
DefaultUserIssueSearcherHistoryManager.getUserIssueSearcherHistory(ApplicationUser user) |
List<UserHistoryItem> |
UserIssueSearcherHistoryManager.getUserIssueSearcherHistory(ApplicationUser user)
Retrieve the user's Issue Seacher history queue.
|
List<UserHistoryItem> |
DefaultUserQueryHistoryManager.getUserQueryHistory(ApplicationUser user) |
List<UserHistoryItem> |
UserQueryHistoryManager.getUserQueryHistory(ApplicationUser user)
Retrieve the user's query history queue.
|
boolean |
DefaultUserHistoryManager.hasHistory(UserHistoryItem.Type type,
ApplicationUser user) |
boolean |
UserHistoryManager.hasHistory(UserHistoryItem.Type type,
ApplicationUser user)
Determines whether a user has any items in their history for a given
UserHistoryItem.Type
This method performs no permission checks. |
boolean |
DefaultUserIssueHistoryManager.hasIssueHistory(ApplicationUser user) |
boolean |
UserIssueHistoryManager.hasIssueHistory(ApplicationUser user)
Determines whether the user has a current issue history.
|
boolean |
DefaultUserProjectHistoryManager.hasProjectHistory(int permission,
ApplicationUser user) |
boolean |
UserProjectHistoryManager.hasProjectHistory(int permission,
ApplicationUser user)
Determines whether the user has a current project history.
|
boolean |
ExternalLinkInNewWindowImpl.isEnabled(ApplicationUser user) |
boolean |
ExternalLinkInNewWindow.isEnabled(ApplicationUser user)
Tells whether the opening external links in new tabs/windows is enabled for the given user.
|
void |
DefaultUserHistoryManager.removeHistoryForUser(ApplicationUser user) |
Set<UserHistoryItem.Type> |
UserHistoryStore.removeHistoryForUser(ApplicationUser user)
Remove all history items for a given user.
|
Set<UserHistoryItem.Type> |
SessionBasedAnonymousUserHistoryStore.removeHistoryForUser(ApplicationUser user)
Deprecated.
|
Set<UserHistoryItem.Type> |
OfBizUserHistoryStore.removeHistoryForUser(ApplicationUser user) |
Set<UserHistoryItem.Type> |
CachingUserHistoryStore.removeHistoryForUser(ApplicationUser user) |
void |
UserHistoryManager.removeHistoryForUser(ApplicationUser user)
Remove the user's history.
|
void |
UserIssueTypeManagerImpl.setLastUsedIssueTypeId(ApplicationUser user,
IssueTypeId lastUsedIssueTypeId) |
void |
UserIssueTypeManager.setLastUsedIssueTypeId(ApplicationUser user,
IssueTypeId lastUsedIssueTypeId)
Sets the last used parent issue type id for the provided user.
|
void |
UserIssueTypeManagerImpl.setLastUsedSubtaskIssueTypeId(ApplicationUser user,
IssueTypeId lastUsedSubtaskIssueTypeId) |
void |
UserIssueTypeManager.setLastUsedSubtaskIssueTypeId(ApplicationUser user,
IssueTypeId lastUsedSubtaskIssueTypeId)
Sets the last used subtask issue type id for the provided user.
|
boolean |
ExternalLinkInNewWindowImpl.shouldOpenInNewWindow(ApplicationUser user,
String url) |
boolean |
ExternalLinkInNewWindow.shouldOpenInNewWindow(ApplicationUser user,
String url)
Tells whether a link with given URL should open in a new tab/window when clicked by the given user.
|
static com.atlassian.crowd.embedded.api.User |
ApplicationUsers.toDirectoryUser(ApplicationUser user)
Does a null-safe conversion from an application user to a directory user.
|
void |
OfBizUserHistoryStore.updateHistoryItemNoChecks(ApplicationUser user,
UserHistoryItem item)
Optimised method for updating a record in the database.
|
ImmutableUserIssueRelevance.IssueUserBuilder |
ImmutableUserIssueRelevance.IssueUserBuilder.withUser(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
static List<com.atlassian.crowd.embedded.api.User> |
ApplicationUsers.toDirectoryUsers(Collection<ApplicationUser> applicationUsers)
Performs
null -safe conversion of a collection of application users
to corresponding directory User objects. |
Constructor and Description |
---|
UserSet(Collection<ApplicationUser> users) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
AnonymizationParameters.getExecutor() |
ApplicationUser |
UserPropertyChangeService.UserPropertyChangeRequest.getLoggedInUser()
Logged in user that is performing operation.
|
ApplicationUser |
AnonymizeUserService.AnonymizeProcessData.getUser()
Data of user being anonymized.
|
Modifier and Type | Method and Description |
---|---|
AnonymizationParameters.Builder |
AnonymizationParameters.Builder.executor(ApplicationUser executor)
Executor of the changes.
|
protected I18nHelper |
UserPropertyChangeService.getI18nBean(ApplicationUser user) |
static UserState |
UserState.getUserState(ApplicationUser user) |
protected boolean |
UserPropertyChangeService.isAdministrator(ApplicationUser user) |
protected boolean |
UserPropertyChangeService.isSysAdmin(ApplicationUser user) |
AnonymizeUserService.AnonymizeProcessData.Builder |
AnonymizeUserService.AnonymizeProcessData.Builder.user(ApplicationUser user)
User to anonymize
|
Constructor and Description |
---|
AnonymizeProcessData(AnonymizationParameters anonymizationParameters,
ApplicationUser user,
boolean userDeletedExternally,
boolean userDeleted,
boolean userNameAlreadyAnonymized,
boolean userKeyAlreadyAnonymized,
String newUserName,
String newUserKey,
Collection<AffectedEntity> affectedEntities,
boolean affectedEntitiesWithHandlerError) |
UserPropertyChangeRequest(ApplicationUser loggedInUser,
P userPropertyChangeParameter) |
Modifier and Type | Method and Description |
---|---|
ServiceResult |
UserExternalIdChangeService.changeExternalId(ApplicationUser actingUser,
String userKey) |
protected boolean |
UserExternalIdChangeService.isAdministrator(ApplicationUser user) |
protected boolean |
UserExternalIdChangeService.isSysAdmin(ApplicationUser user) |
boolean |
UserExternalIdChangeService.userFromExternalDirectoryNotDeletedExternally(ApplicationUser applicationUser) |
ServiceResult |
UserExternalIdChangeService.validate(ApplicationUser loggedInUser,
String userKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultUserNameChangeService.userFromExternalDirectory(ApplicationUser applicationUser) |
Modifier and Type | Method and Description |
---|---|
void |
FlagDismissalServiceImpl.dismissFlagForUser(String flagKey,
ApplicationUser user) |
void |
FlagDismissalService.dismissFlagForUser(String flagKey,
ApplicationUser user) |
Set<String> |
FlagDismissalServiceImpl.getDismissedFlagsForUser(ApplicationUser user) |
Set<String> |
FlagDismissalService.getDismissedFlagsForUser(ApplicationUser user) |
void |
FlagDismissalServiceImpl.removeDismissFlagForUser(String flagKey,
ApplicationUser user) |
void |
FlagDismissalService.removeDismissFlagForUser(String flagKey,
ApplicationUser user)
Remove the dismiss entry for the current user.
|
Modifier and Type | Method and Description |
---|---|
ExtendedPreferences |
MockUserPreferencesManager.getExtendedPreferences(ApplicationUser user) |
ExtendedPreferences |
DefaultUserPreferencesManager.getExtendedPreferences(ApplicationUser user) |
ExtendedPreferences |
UserPreferencesManager.getExtendedPreferences(ApplicationUser user)
Returns The user preferences for a user.
|
com.atlassian.core.user.preferences.Preferences |
MockUserPreferencesManager.getPreferences(ApplicationUser user) |
com.atlassian.core.user.preferences.Preferences |
DefaultUserPreferencesManager.getPreferences(ApplicationUser user) |
com.atlassian.core.user.preferences.Preferences |
UserPreferencesManager.getPreferences(ApplicationUser user)
Deprecated.
Use
UserPreferencesManager.getExtendedPreferences(ApplicationUser) instead. Since v6.0. |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
AbstractUserProfileFragment.createVelocityParams(ApplicationUser profileUser,
ApplicationUser currentUser)
Creates the parameters passed to the velocity template.
|
String |
ActivityUserProfileFragment.getFragmentHtml(ApplicationUser profileUser,
ApplicationUser currentUser)
Get the HTML Fragement.
|
String |
UserProfileFragment.getFragmentHtml(ApplicationUser profileUser,
ApplicationUser currentUser)
Creates the HTML for this fragment.
|
String |
InlineActivityUserProfileFragment.getFragmentHtml(ApplicationUser profileUser,
ApplicationUser currentUser) |
String |
AbstractUserProfileFragment.getFragmentHtml(ApplicationUser profileUser,
ApplicationUser currentUser)
Creates the HTML for this fragment.
|
String |
PluggableUserProfileFragment.getFragmentHtml(ApplicationUser profileUser,
ApplicationUser currentUser) |
String |
SummaryUserProfilePanel.getHtml(ApplicationUser profileUser) |
boolean |
ActivityUserProfileFragment.showFragment(ApplicationUser profileUser,
ApplicationUser currentUser)
We only display this is both the Activity Stream Plugin and Gadget Plugin are installed
|
boolean |
UserProfileFragment.showFragment(ApplicationUser profileUser,
ApplicationUser currentUser)
Whether or not we display this fragment.
|
boolean |
InlineActivityUserProfileFragment.showFragment(ApplicationUser profileUser,
ApplicationUser currentUser) |
boolean |
AbstractUserProfileFragment.showFragment(ApplicationUser profileUser,
ApplicationUser currentUser)
Whether or not we display this fragment.
|
Modifier and Type | Method and Description |
---|---|
protected ApplicationUser |
AbstractUserMapper.getUser(String username) |
ApplicationUser |
UserMapper.getUserFromEmailAddress(String emailAddress)
Return a user for this particular email address.
|
ApplicationUser |
PropertyFileUserMapper.getUserFromEmailAddress(String emailAddress) |
ApplicationUser |
UserMapperChain.getUserFromEmailAddress(String emailAddress) |
abstract ApplicationUser |
AbstractUserMapper.getUserFromEmailAddress(String emailAddress) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
MockUserManager.addUser(ApplicationUser user) |
ApplicationUser |
MockUserManager.createUser(UserDetails userData) |
ApplicationUser |
DefaultUserManager.createUser(UserDetails userData) |
ApplicationUser |
UserManager.createUser(UserDetails userData)
Creates a user in the specified directory (userDirectoryId).
|
ApplicationUser |
UserUtilImpl.createUser(UserDetails userData,
boolean sendEmailNotification,
int eventType,
Set<com.atlassian.application.api.ApplicationKey> applicationKeys) |
ApplicationUser |
UserUtil.createUser(UserDetails userData,
boolean sendEmail,
int eventType,
Set<com.atlassian.application.api.ApplicationKey> applicationKeys)
Deprecated.
Use
UserService.createUser(CreateUserValidationResult) instead. Since v7.0. |
ApplicationUser |
UserUtilImpl.createUserNoNotification(String username,
String password,
String emailAddress,
String displayName) |
ApplicationUser |
UserUtil.createUserNoNotification(String username,
String password,
String emailAddress,
String displayName)
Deprecated.
Use
UserService.createUser(CreateUserValidationResult) instead. Since v7.0. |
ApplicationUser |
UserUtilImpl.createUserNoNotification(String username,
String password,
String emailAddress,
String displayName,
Long directoryId) |
ApplicationUser |
UserUtil.createUserNoNotification(String username,
String password,
String emailAddress,
String displayName,
Long directoryId)
Deprecated.
Use
UserService.createUser(CreateUserValidationResult) instead. Since v7.0. |
ApplicationUser |
UserUtilImpl.createUserWithNotification(String username,
String password,
String email,
String fullname,
int userEventType) |
ApplicationUser |
UserUtil.createUserWithNotification(String username,
String password,
String email,
String fullname,
int userEventType)
Deprecated.
Use
UserService.createUser(CreateUserValidationResult) instead. Since v7.0. |
ApplicationUser |
UserUtilImpl.createUserWithNotification(String username,
String password,
String email,
String fullname,
Long directoryId,
int userEventType) |
ApplicationUser |
UserUtil.createUserWithNotification(String username,
String password,
String email,
String fullname,
Long directoryId,
int userEventType)
Deprecated.
Use
UserService.createUser(CreateUserValidationResult) instead. Since v7.0. |
ApplicationUser |
MockUserManager.findUserInDirectory(String userName,
Long directoryId) |
ApplicationUser |
DefaultUserManager.findUserInDirectory(String userName,
Long directoryId) |
ApplicationUser |
UserManager.findUserInDirectory(String userName,
Long directoryId)
Returns a
User based on user name and directoryId |
ApplicationUser |
UserUtil.PasswordResetToken.getUser() |
ApplicationUser |
MockUserManager.getUser(String userName) |
ApplicationUser |
DefaultUserManager.getUser(String userName) |
ApplicationUser |
UserUtilImpl.getUser(String userName)
Get a User by name.
|
ApplicationUser |
UserUtil.getUser(String userName)
Deprecated.
Use
UserUtil.getUserByKey(String) or UserUtil.getUserByName(String) instead. Since v6.0. |
ApplicationUser |
UserManager.getUser(String userName)
Deprecated.
Use
UserManager.getUserByKey(String) or UserManager.getUserByName(String) instead. Since v6.0. |
ApplicationUser |
MockUserManager.getUserByKey(String userKey) |
ApplicationUser |
DefaultUserManager.getUserByKey(String key) |
ApplicationUser |
UserUtilImpl.getUserByKey(String key) |
ApplicationUser |
UserUtil.getUserByKey(String userkey)
Deprecated.
use
UserManager.getUserByKey(String) . since 7.0 |
ApplicationUser |
UserManager.getUserByKey(String userKey)
Returns an
ApplicationUser based on user key. |
ApplicationUser |
MockUserManager.getUserByKeyEvenWhenUnknown(String userKey) |
ApplicationUser |
DefaultUserManager.getUserByKeyEvenWhenUnknown(String userKey) |
ApplicationUser |
UserManager.getUserByKeyEvenWhenUnknown(String userKey)
Returns an
ApplicationUser based on user key. |
ApplicationUser |
MockUserManager.getUserByName(String userName) |
ApplicationUser |
DefaultUserManager.getUserByName(String username) |
ApplicationUser |
UserUtilImpl.getUserByName(String username) |
ApplicationUser |
UserUtil.getUserByName(String username)
Deprecated.
use
UserManager.getUserByName(String) . since 7.0 |
ApplicationUser |
UserManager.getUserByName(String userName)
Returns an
ApplicationUser based on user name. |
ApplicationUser |
MockUserManager.getUserByNameEvenWhenUnknown(String userName) |
ApplicationUser |
DefaultUserManager.getUserByNameEvenWhenUnknown(String userName) |
ApplicationUser |
UserManager.getUserByNameEvenWhenUnknown(String userName)
Returns an
ApplicationUser based on user name. |
ApplicationUser |
MockUserManager.getUserEvenWhenUnknown(String userName) |
ApplicationUser |
DefaultUserManager.getUserEvenWhenUnknown(String userName) |
ApplicationUser |
UserManager.getUserEvenWhenUnknown(String userName)
Deprecated.
Use
UserManager.getUserByKeyEvenWhenUnknown(String) or UserManager.getUserByNameEvenWhenUnknown(String) instead. Since v6.0. |
ApplicationUser |
MockUserManager.getUserObject(String userName) |
ApplicationUser |
DefaultUserManager.getUserObject(String userName) |
ApplicationUser |
UserUtilImpl.getUserObject(String userName) |
ApplicationUser |
UserUtil.getUserObject(String userName)
Deprecated.
Use
UserUtil.getUserByKey(String) or UserUtil.getUserByName(String) instead. Since v6.0. |
ApplicationUser |
UserManager.getUserObject(String userName)
Deprecated.
Use
UserManager.getUserByKey(String) or UserManager.getUserByName(String) instead. Since v6.0. |
static ApplicationUser |
SneakyAutoLoginUtil.logUserInByName(String username,
javax.servlet.http.HttpServletRequest request)
Attempt to authenticate the user with JIRA and return their details if successful.
|
Modifier and Type | Method and Description |
---|---|
void |
UserUtilImpl.addToJiraUsePermission(ApplicationUser user) |
void |
UserUtil.addToJiraUsePermission(ApplicationUser user)
Deprecated.
|
ApplicationUser |
MockUserManager.addUser(ApplicationUser user) |
void |
UserUtilImpl.addUserToGroup(com.atlassian.crowd.embedded.api.Group group,
ApplicationUser userToAdd) |
void |
UserUtil.addUserToGroup(com.atlassian.crowd.embedded.api.Group group,
ApplicationUser userToAdd)
This is used to add a specified user to a specified group.
|
void |
UserUtilImpl.addUserToGroups(Collection<com.atlassian.crowd.embedded.api.Group> groups,
ApplicationUser userToAdd) |
void |
UserUtil.addUserToGroups(Collection<com.atlassian.crowd.embedded.api.Group> groups,
ApplicationUser userToAdd)
This is used to add a user to many groups at once.
|
boolean |
MockUserManager.canRenameUser(ApplicationUser user) |
boolean |
DefaultUserManager.canRenameUser(ApplicationUser user) |
boolean |
UserManager.canRenameUser(ApplicationUser user)
Test if this user can be renamed.
|
boolean |
MockUserManager.canUpdateGroupMembershipForUser(ApplicationUser user) |
boolean |
DefaultUserManager.canUpdateGroupMembershipForUser(ApplicationUser user) |
boolean |
UserManager.canUpdateGroupMembershipForUser(ApplicationUser user)
Test if this user's group membership can be updated, i.e.
|
boolean |
MockUserManager.canUpdateUser(ApplicationUser user) |
boolean |
DefaultUserManager.canUpdateUser(ApplicationUser user) |
boolean |
UserManager.canUpdateUser(ApplicationUser user)
Test if this user can be updated, i.e.
|
boolean |
MockUserManager.canUpdateUserPassword(ApplicationUser user) |
boolean |
DefaultUserManager.canUpdateUserPassword(ApplicationUser user) |
boolean |
UserManager.canUpdateUserPassword(ApplicationUser user)
Test if this user's password can be updated, i.e.
|
void |
UserUtilImpl.changePassword(ApplicationUser user,
String newPassword) |
void |
UserUtil.changePassword(ApplicationUser user,
String newPassword)
Can be called to set the password for a user.
|
UserUtil.PasswordResetToken |
UserUtilImpl.generatePasswordResetToken(ApplicationUser user) |
UserUtil.PasswordResetToken |
UserUtil.generatePasswordResetToken(ApplicationUser user)
This is used to generate a reset password token that last a certain time and allows a person to access a page
anonymously so they can reset their password.
|
Collection<ProjectComponent> |
UserUtilImpl.getComponentsUserLeads(ApplicationUser user) |
Collection<ProjectComponent> |
UserUtil.getComponentsUserLeads(ApplicationUser user)
Retrieve a collection of ProjectComponents - where the lead of each component is the specified user.
|
SharedEntity.SharePermissions |
UserSharingPreferencesUtil.getDefaultSharePermissions(ApplicationUser user)
Return the default share permissions for the passed user.
|
SharedEntity.SharePermissions |
UserSharingPreferencesUtilImpl.getDefaultSharePermissions(ApplicationUser user) |
String |
UserUtilImpl.getDisplayableNameSafely(ApplicationUser user) |
String |
UserUtil.getDisplayableNameSafely(ApplicationUser user)
Takes the given user and returns a "displayable name" by cautiously checking the different edge cases for users.
|
long |
UserUtilImpl.getNumberOfAssignedIssuesIgnoreSecurity(ApplicationUser loggedInUser,
ApplicationUser user) |
long |
UserUtil.getNumberOfAssignedIssuesIgnoreSecurity(ApplicationUser loggedInUser,
ApplicationUser user)
Returns number of issues assigned to user
|
long |
UserUtilImpl.getNumberOfReportedIssuesIgnoreSecurity(ApplicationUser loggedInUser,
ApplicationUser user) |
long |
UserUtil.getNumberOfReportedIssuesIgnoreSecurity(ApplicationUser loggedInUser,
ApplicationUser user)
Returns number of issues reported by user
|
Collection<Project> |
UserUtilImpl.getProjectsLeadBy(ApplicationUser user) |
Collection<Project> |
UserUtil.getProjectsLeadBy(ApplicationUser user)
Returns all the projects that leadUser is the project lead for.
|
protected JiraServiceContext |
UserUtilImpl.getServiceContext(ApplicationUser user)
Protected level factory method to allow for better test integration
|
UserManager.UserState |
MockUserManager.getUserState(ApplicationUser user) |
UserManager.UserState |
DefaultUserManager.getUserState(ApplicationUser user) |
UserManager.UserState |
UserManager.getUserState(ApplicationUser user)
This convenience method is equivalent to
getUserState(user.getUsername(), user.getDirectoryId())
except that a null user is permitted and returns UserManager.UserState.INVALID_USER . |
static boolean |
Users.isAnonymous(ApplicationUser user)
Whether the specified user is anonymous.
|
boolean |
UserUtilImpl.isNonSysAdminAttemptingToDeleteSysAdmin(ApplicationUser loggedInUser,
ApplicationUser user) |
boolean |
UserUtil.isNonSysAdminAttemptingToDeleteSysAdmin(ApplicationUser loggedInUser,
ApplicationUser user)
Checking if user without SYSTEM_ADMIN rights tries to remove user with SYSTEM_ADMIN rights.
|
boolean |
StaticRecoveryMode.isRecoveryUser(ApplicationUser user) |
boolean |
DisabledRecoveryMode.isRecoveryUser(ApplicationUser user) |
boolean |
DefaultRecoveryMode.isRecoveryUser(ApplicationUser user) |
boolean |
RecoveryMode.isRecoveryUser(ApplicationUser user)
Tells if the caller if the passed
ApplicationUser is the 'recovery admin'. |
boolean |
MockUserManager.isUserDeleted(ApplicationUser user) |
boolean |
DefaultUserManager.isUserDeleted(ApplicationUser user) |
boolean |
UserManager.isUserDeleted(ApplicationUser user)
Checks if given user is deleted user.
|
boolean |
MockUserManager.isUserExisting(ApplicationUser user) |
boolean |
DefaultUserManager.isUserExisting(ApplicationUser user) |
boolean |
UserManager.isUserExisting(ApplicationUser user)
Checks if given user is existing user
|
static boolean |
SneakyAutoLoginUtil.logUserIn(ApplicationUser user,
javax.servlet.http.HttpServletRequest request) |
void |
UserUtilImpl.removeUser(ApplicationUser loggedInUser,
ApplicationUser user) |
void |
UserUtil.removeUser(ApplicationUser loggedInUser,
ApplicationUser user)
This will remove the user and removes the user from all the groups.
|
void |
UserUtilImpl.removeUserFromGroup(com.atlassian.crowd.embedded.api.Group group,
ApplicationUser userToRemove) |
void |
UserUtil.removeUserFromGroup(com.atlassian.crowd.embedded.api.Group group,
ApplicationUser userToRemove)
This is used to remove a specified user from a specified group.
|
void |
UserUtilImpl.removeUserFromGroups(Collection<com.atlassian.crowd.embedded.api.Group> groups,
ApplicationUser userToRemove) |
void |
UserUtil.removeUserFromGroups(Collection<com.atlassian.crowd.embedded.api.Group> groups,
ApplicationUser userToRemove)
This is used to remove a user from many groups at once.
|
void |
MockUserManager.updateUser(ApplicationUser user) |
void |
DefaultUserManager.updateUser(ApplicationUser user) |
void |
UserManager.updateUser(ApplicationUser user)
Updates the
ApplicationUser . |
boolean |
MockUserManager.userCanUpdateOwnDetails(ApplicationUser user) |
boolean |
DefaultUserManager.userCanUpdateOwnDetails(ApplicationUser user) |
boolean |
UserManager.userCanUpdateOwnDetails(ApplicationUser user)
Check if this user is allowed to update their own user details.
|
UserUtil.PasswordResetTokenValidation |
UserUtilImpl.validatePasswordResetToken(ApplicationUser user,
String token) |
UserUtil.PasswordResetTokenValidation |
UserUtil.validatePasswordResetToken(ApplicationUser user,
String token)
This can be called to validate a token against the user.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationUser |
ParameterUtils.getUserParam(Map params,
String s) |
Modifier and Type | Method and Description |
---|---|
boolean |
EmailFormatterImpl.emailVisible(ApplicationUser user)
Emails are visible by user if email visibility is set to
show (public) or mask (masked) or user (show to logged in users only)
|
boolean |
EmailFormatter.emailVisible(ApplicationUser currentUser)
Returns whether or not email addresses are visible to this user, as determined by the
APKeys.JIRA_OPTION_EMAIL_VISIBLE setting. |
String |
EmailFormatterImpl.formatEmail(ApplicationUser user,
ApplicationUser currentUser) |
String |
EmailFormatter.formatEmail(ApplicationUser user,
ApplicationUser currentUser)
Formats
user 's email address for the purpose of displaying it to currentUser ,
as determined by the
APKeys.JIRA_OPTION_EMAIL_VISIBLE setting. |
String |
EmailFormatterImpl.formatEmail(String email,
ApplicationUser currentUser) |
String |
EmailFormatter.formatEmail(String email,
ApplicationUser currentUser)
Formats an email address for the purpose of displaying it to a user
as determined by the
APKeys.JIRA_OPTION_EMAIL_VISIBLE setting. |
String |
EmailFormatterImpl.formatEmailAsLink(String email,
ApplicationUser currentUser)
Returns a HTML link for the e-mail if appropriate.
|
String |
EmailFormatter.formatEmailAsLink(String email,
ApplicationUser currentUser)
Returns email address as HTML links, if appropriate.
|
Collection<String> |
GlobalPermissionGroupAssociationUtil.getAdminMemberGroups(ApplicationUser user)
Returns All the groupNames that have global "Administration" permission that this user is a member of.
|
List<String> |
GlobalPermissionGroupAssociationUtil.getGroupNamesModifiableByCurrentUser(ApplicationUser currentUser,
Collection<String> groupNames)
Determines which groups will be visible to the current user.
|
List<com.atlassian.crowd.embedded.api.Group> |
GlobalPermissionGroupAssociationUtil.getGroupsModifiableByCurrentUser(ApplicationUser currentUser,
List<com.atlassian.crowd.embedded.api.Group> groups)
Determines which groups will be visible to the current user.
|
I18nHelper |
NoopI18nFactory.getInstance(ApplicationUser user) |
I18nHelper |
I18nHelper.BeanFactory.getInstance(ApplicationUser user)
Returns an
I18nHelper instance associated with the provided User 's locale preference. |
Collection<String> |
GlobalPermissionGroupAssociationUtil.getSysAdminMemberGroups(ApplicationUser user)
Returns All the groupNames that have global "System Administration" permission that this user is a member of.
|
boolean |
ExperienceOverride.hasOverride(ApplicationUser user,
String experienceId,
Locale locale)
Returns true if there is experience override for given user
|
boolean |
GroupPermissionChecker.hasViewGroupPermission(String group,
ApplicationUser user) |
boolean |
GroupPermissionCheckerImpl.hasViewGroupPermission(String groupName,
ApplicationUser user) |
boolean |
GlobalPermissionGroupAssociationUtil.isRemovingAllMyAdminGroups(Collection<String> groupsToLeave,
ApplicationUser user)
Return true if the user is trying to remove all the groups that grant them the administration permission.
|
boolean |
GlobalPermissionGroupAssociationUtil.isRemovingAllMySysAdminGroups(Collection<String> groupsToLeave,
ApplicationUser user)
Return true if the user is trying to remove all the groups that grant them the system administration permission.
|
boolean |
GlobalPermissionGroupAssociationUtil.isUserAbleToDeleteGroup(ApplicationUser user,
String groupName)
Determines, based on the users permissions, if the group can be deleted.
|
Constructor and Description |
---|
ParameterStore(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
void |
OffRequestThreadExecutorImpl.execute(ApplicationUser runAsUser,
Runnable command) |
void |
OffRequestThreadExecutor.execute(ApplicationUser runAsUser,
Runnable command)
Executes the code with the specified user in context via
JiraAuthenticationContext |
Modifier and Type | Method and Description |
---|---|
boolean |
FieldVisibilityManagerImpl.isFieldHidden(ApplicationUser remoteUser,
Field field) |
boolean |
FieldVisibilityManager.isFieldHidden(ApplicationUser remoteUser,
Field field)
Checks if the field is hidden across all the projects
that the user can see (has the
Permissions.BROWSE permission). |
boolean |
FieldVisibilityManagerImpl.isFieldHidden(ApplicationUser remoteUser,
String id) |
boolean |
FieldVisibilityManager.isFieldHidden(ApplicationUser remoteUser,
String id)
Checks if the field is hidden across all the projects
that the user can see (has the
Permissions.BROWSE permission). |
boolean |
FieldVisibilityManagerImpl.isFieldHiddenInAllSchemes(Field field,
SearchContext context,
ApplicationUser user) |
boolean |
FieldVisibilityManager.isFieldHiddenInAllSchemes(Field field,
SearchContext context,
ApplicationUser user) |
boolean |
FieldVisibilityManagerImpl.isFieldHiddenInAllSchemes(String fieldId,
SearchContext context,
ApplicationUser user) |
boolean |
FieldVisibilityManager.isFieldHiddenInAllSchemes(String fieldId,
SearchContext context,
ApplicationUser user) |
boolean |
FieldVisibilityManagerImpl.isFieldVisible(ApplicationUser remoteUser,
Field field) |
boolean |
FieldVisibilityManager.isFieldVisible(ApplicationUser remoteUser,
Field field)
Checks if the field is visible in at least one of the projects
that the user can see (has the
Permissions.BROWSE permission). |
boolean |
FieldVisibilityManagerImpl.isFieldVisible(ApplicationUser remoteUser,
String id) |
boolean |
FieldVisibilityManager.isFieldVisible(ApplicationUser remoteUser,
String id)
Checks if the field is visible in at least one of the projects
that the user can see (has the
Permissions.BROWSE permission). |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
JiraWebActionSupport.getLoggedInApplicationUser()
Deprecated.
Use
JiraWebActionSupport.getLoggedInUser() . Since v7.0 |
ApplicationUser |
JiraWebActionSupport.getLoggedInUser() |
Modifier and Type | Method and Description |
---|---|
String |
IssueActionSupport.getCurrentFailedLoginCount(ApplicationUser user)
This can be called to get a the number of times the user currently failed to logged in
|
boolean |
IssueActionSupport.getEverLoggedIn(ApplicationUser user)
True if the user has ever logged in to JIRA
|
String |
IssueActionSupport.getLastFailedLogin(ApplicationUser user)
This can be called to get a description of the last time the user failed to logged in
|
String |
IssueActionSupport.getLastLogin(ApplicationUser user)
This can be called to get a description of the last time the user logged in
|
String |
IssueActionSupport.getLoginCount(ApplicationUser user)
This can be called to get a the number of times the user logged in
|
String |
IssueActionSupport.getPreviousLogin(ApplicationUser user)
This can be called to get a description of the second last time the user logged in
|
String |
IssueActionSupport.getTotalFailedLoginCount(ApplicationUser user)
This can be called to get a the total number of times the user has failed to logged in
|
boolean |
IssueActionSupport.isElevatedSecurityCheckRequired(ApplicationUser user)
True if the user requires an elevated security check on the next login
|
static boolean |
AjaxHeaders.requestUsernameMatches(javax.servlet.http.HttpServletRequest request,
ApplicationUser user)
Checks whether the effective user has change between the time when the view issue page was loaded and the time
when the current request was made (this can happen due to session timeouts, logging out in another window, etc).
|
Modifier and Type | Method and Description |
---|---|
protected ApplicationUser |
CustomFieldValidatorImpl.getLoggedInUser() |
Modifier and Type | Method and Description |
---|---|
boolean |
CustomFieldContextConfigHelperImpl.doesAddingContextToCustomFieldAffectIssues(ApplicationUser user,
CustomField customField,
List<JiraContextNode> projectContexts,
List<IssueType> issueTypes,
boolean isNewCustomField) |
boolean |
CustomFieldContextConfigHelper.doesAddingContextToCustomFieldAffectIssues(ApplicationUser user,
CustomField customField,
List<JiraContextNode> projectContexts,
List<IssueType> issueTypes,
boolean isNewCustomField)
Determines if adding the project and issue type contexts to the custom field will affect any issues.
|
boolean |
CustomFieldContextConfigHelperImpl.doesChangingContextAffectIssues(ApplicationUser user,
CustomField customField,
FieldConfigScheme oldFieldConfigScheme,
boolean isNewSchemeGlobal,
List<JiraContextNode> projectContexts,
List<IssueType> issueTypes) |
boolean |
CustomFieldContextConfigHelper.doesChangingContextAffectIssues(ApplicationUser user,
CustomField customField,
FieldConfigScheme oldFieldConfigScheme,
boolean isNewSchemeGlobal,
List<JiraContextNode> newProjectContexts,
List<IssueType> newIssueTypes)
Determines if altering an existing configuration context for a custom field will affect any issues.
|
boolean |
CustomFieldContextConfigHelperImpl.doesRemovingSchemeFromCustomFieldAffectIssues(ApplicationUser user,
CustomField customField,
FieldConfigScheme fieldConfigScheme) |
boolean |
CustomFieldContextConfigHelper.doesRemovingSchemeFromCustomFieldAffectIssues(ApplicationUser user,
CustomField customField,
FieldConfigScheme fieldConfigScheme)
Determines if removing an existing configuration context for a custom field will affect any issues.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ChangeSharedDashboardOwner.getOwnerUserObj() |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ChangeSharedFilterOwner.getOwnerUserObj() |
Constructor and Description |
---|
IndexRecoveryCommand(ApplicationUser user,
IndexRecoveryService indexRecoveryService,
JohnsonProvider johnsonProvider,
org.apache.log4j.Logger log,
I18nHelper i18nHelper,
String recoveryFilename) |
Modifier and Type | Method and Description |
---|---|
boolean |
FieldLayoutSchemeHelper.doesChangingFieldLayoutAssociationRequireMessage(ApplicationUser user,
FieldLayoutScheme fieldLayoutScheme,
Long oldFieldLayoutId,
Long newFieldLayoutId)
Determines whether or not a reindex message is required after changing the association of the specified issue type
in the given scheme from the old field layout (Field Configuration) to the new field layout.
|
boolean |
FieldLayoutSchemeHelperImpl.doesChangingFieldLayoutAssociationRequireMessage(ApplicationUser user,
FieldLayoutScheme fieldLayoutScheme,
Long oldFieldLayoutId,
Long newFieldLayoutId) |
boolean |
FieldLayoutSchemeHelper.doesChangingFieldLayoutRequireMessage(ApplicationUser user,
EditableFieldLayout fieldLayout)
Determines whether or not a reindex message is required after modifying visibility of a field in the specified
field layout.
|
boolean |
FieldLayoutSchemeHelperImpl.doesChangingFieldLayoutRequireMessage(ApplicationUser user,
EditableFieldLayout fieldLayout) |
boolean |
FieldLayoutSchemeHelper.doesChangingFieldLayoutSchemeForProjectRequireMessage(ApplicationUser user,
Long projectId,
Long oldFieldLayoutSchemeId,
Long newFieldLayoutSchemeId)
Determines whether or not a reindex message is required after changing the associated
FieldLayoutScheme
(field configuration scheme) for a project. |
boolean |
FieldLayoutSchemeHelperImpl.doesChangingFieldLayoutSchemeForProjectRequireMessage(ApplicationUser user,
Long projectId,
Long oldFieldLayoutSchemeId,
Long newFieldLayoutSchemeId) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ViewUserProjectRoles.getProjectRoleEditUser() |
Modifier and Type | Field and Description |
---|---|
protected ApplicationUser |
ViewUser.user |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ViewUser.getApplicationUser() |
ApplicationUser |
EditUser.getEditedUser() |
ApplicationUser |
ViewUser.getUser() |
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
UserBrowser.getBrowsableItems() |
List<ApplicationUser> |
UserBrowser.getCurrentPage()
Return the current 'page' of issues (given max and start) for the current filter
|
Collection<ApplicationUser> |
UserBrowser.getUsers()
Convenience method to use from JSP's to access total number of users
|
Collection<ApplicationUser> |
BulkEditUserGroups.getUsersToAssignToTheMultiSelect() |
Modifier and Type | Method and Description |
---|---|
Iterator<ApplicationRole> |
UserBrowser.getApplicationRolesForUser(ApplicationUser user) |
String |
UserBrowser.getDirectoryForUser(ApplicationUser user) |
Iterator |
UserBrowser.getGroupsForUser(ApplicationUser user) |
boolean |
UserBrowser.isCanAnonymizeUser(ApplicationUser userToAnonymize) |
boolean |
UserBrowser.isRemoteUserPermittedToEditSelectedUser(ApplicationUser user) |
boolean |
UserBrowser.isRemoteUserPermittedToEditSelectedUsersGroups(ApplicationUser user) |
boolean |
UserBrowser.isUserFocused(ApplicationUser user) |
void |
PasswordChangeService.setPassword(ErrorCollection errorCollection,
ApplicationUser user,
String newPassword)
This can be called to set the password for a user.
|
boolean |
UserPickerBrowser.wasPreviouslySelected(ApplicationUser user) |
Constructor and Description |
---|
AdminArchivedProjectBean(Project project,
boolean recent,
ApplicationUser archivedBy,
Long archivedTimestamp) |
ArchivedProjectBean(Project project,
boolean recent,
ApplicationUser archivedBy,
Long archivedTimestamp) |
ProjectBean(String key,
String name,
Long id,
boolean hasDefaultAvatar,
ApplicationUser lead,
ProjectCategory projectCategory,
boolean recent,
String url,
ProjectTypeKey projectTypeKey) |
Modifier and Type | Method and Description |
---|---|
static FilterOperationsBean |
FilterOperationsBean.create(SearchRequest searchRequest,
boolean validFilter,
ApplicationUser user,
boolean isAdvancedScreen)
Factory method that uses common inputs to build a sensible default state.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
IssueSearchResultsAction.getLoggedInApplicationUser()
Get the user executing the search.
|
ApplicationUser |
IssueSummaryAware.getLoggedInApplicationUser() |
Modifier and Type | Method and Description |
---|---|
FieldScreenRenderer |
IssueCreationHelperBeanImpl.createFieldScreenRenderer(ApplicationUser remoteUser,
Issue issueObject)
Create a field screen renderer
|
FieldScreenRenderer |
IssueCreationHelperBean.createFieldScreenRenderer(ApplicationUser remoteUser,
Issue issueObject)
Deprecated.
Use
IssueCreationHelperBean.createFieldScreenRenderer(com.atlassian.jira.issue.Issue) instead. Since v6.2. |
protected FilterOperationsBean |
SearchDescriptionEnabledAction.createFilterOperationsBean(ApplicationUser user) |
String |
ManageWatchers.getCheckboxName(ApplicationUser user) |
List<OrderableField> |
IssueCreationHelperBeanImpl.getFieldsForCreate(ApplicationUser user,
Issue issueObject) |
List<OrderableField> |
IssueCreationHelperBean.getFieldsForCreate(ApplicationUser user,
Issue issueObject)
Deprecated.
Gets the fields that will be shown in the create issue screen for that issues project and issue type
|
List |
UpdateFieldsHelperBeanImpl.getFieldsForEdit(ApplicationUser user,
Issue issueObject) |
List |
UpdateFieldsHelperBean.getFieldsForEdit(ApplicationUser user,
Issue issueObject)
Deprecated.
Use
FieldScreenRendererFactory instead. Since v5.0. |
List<String> |
IssueCreationHelperBeanImpl.getProvidedFieldNames(ApplicationUser remoteUser,
Issue issueObject) |
List<String> |
IssueCreationHelperBean.getProvidedFieldNames(ApplicationUser remoteUser,
Issue issueObject)
Deprecated.
Use
IssueCreationHelperBean.getProvidedFieldNames(com.atlassian.jira.issue.Issue) instead. Since v6.2. |
boolean |
UpdateFieldsHelperBeanImpl.isFieldValidForEdit(ApplicationUser user,
String fieldId,
Issue issueObject) |
boolean |
UpdateFieldsHelperBean.isFieldValidForEdit(ApplicationUser user,
String fieldId,
Issue issueObject)
Deprecated.
Use
FieldScreenRendererFactory instead. Since v5.0. |
static Map<String,Object> |
IssueNavigatorViewsHelper.makeContext(ApplicationUser remoteUser,
JiraHelper jiraHelper) |
static Map<String,Object> |
IssueNavigatorConstants.makeContext(ApplicationUser remoteUser,
JiraHelper jiraHelper) |
void |
IssueCreationHelperBeanImpl.validateLicense(ApplicationUser remoteUser,
ErrorCollection errors,
I18nHelper i18n) |
void |
IssueCreationHelperBean.validateLicense(ApplicationUser remoteUSer,
ErrorCollection errors,
I18nHelper i18n)
Deprecated.
|
Constructor and Description |
---|
BulkEditCallable(org.apache.log4j.Logger log,
I18nHelper i18nHelper,
ProgressAwareBulkOperation bulkOperation,
BulkEditBean bulkEditBean,
ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
AttachmentsBulkOperationResult<ChangeItemBean> |
BackwardCompatibleTemporaryAttachmentUtil.convertTemporaryAttachments(ApplicationUser user,
Issue issue,
List<String> temporaryAttachmentsIds) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
EditProjectLeadAndDefaultAssignee.getLeadUserObj() |
ApplicationUser |
ViewProjects.getUser(org.ofbiz.core.entity.GenericValue project)
Deprecated.
call
Project.getProjectLead() instead. |
Modifier and Type | Method and Description |
---|---|
String |
SetupCompleteRedirectHelper.getRedirectUrl(ApplicationUser loggedInUser) |
Constructor and Description |
---|
DataImportAsyncCommand(com.atlassian.johnson.JohnsonEventContainer eventCont,
DataImportService dataImportService,
ApplicationUser loggedInUser,
DataImportService.ImportValidationResult validationResult,
com.atlassian.johnson.event.Event johnsonEvent,
VelocityRequestContext velocityRequestContext,
javax.servlet.http.HttpSession session,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
abstract ApplicationUser |
GenericEditProfile.getEditedUser() |
ApplicationUser |
UserProfileAction.getUser()
Return the current user.
|
ApplicationUser |
ViewProfile.getUser() |
ApplicationUser |
ViewUserHover.getUser() |
Modifier and Type | Method and Description |
---|---|
String |
ViewProfile.getAvatarUrl(ApplicationUser user) |
String |
ContactAdministrators.getFormat(ApplicationUser user) |
boolean |
RestoreDefaultDashboard.isHasViewGroupPermission(String group,
ApplicationUser user) |
boolean |
UserProfileAction.isHasViewGroupPermission(String group,
ApplicationUser user)
Returns whether or not the passed caller is allowed to see the passed group.
|
Modifier and Type | Method and Description |
---|---|
List<IssueType> |
PopularIssueTypesUtilImpl.getOtherIssueTypesForProject(Project project,
ApplicationUser user) |
List<IssueType> |
PopularIssueTypesUtil.getOtherIssueTypesForProject(Project project,
ApplicationUser user)
Returns the set difference between all available issue types for a project, and the popular issue types for a
project/user context.
|
PopularIssueTypesUtil.PopularIssueTypesHolder |
PopularIssueTypesUtilImpl.getPopularAndOtherIssueTypesForProject(Project project,
ApplicationUser user) |
PopularIssueTypesUtil.PopularIssueTypesHolder |
PopularIssueTypesUtil.getPopularAndOtherIssueTypesForProject(Project project,
ApplicationUser user)
Returns a holder that contains both - popular and other issue Types.
|
List<IssueType> |
PopularIssueTypesUtilImpl.getPopularIssueTypesForProject(Project project,
ApplicationUser user) |
List<IssueType> |
PopularIssueTypesUtil.getPopularIssueTypesForProject(Project project,
ApplicationUser user)
Returns the most popular non-subtask issue types used for issue creation in the specified project and by the
specified user, within a designated time frame.
|
Modifier and Type | Method and Description |
---|---|
List<ApplicationUser> |
UserBrowserFilter.getFilteredUsers() |
List<ApplicationUser> |
UserPickerFilter.getFilteredUsers()
Get a list of users based on the parameters of the filter
|
Modifier and Type | Method and Description |
---|---|
static Collection |
FilterUtils.getGroups(ApplicationUser user)
Get the groups that this filter can be shared with.
|
I18nHelper |
MockI18nBean.MockI18nBeanFactory.getInstance(ApplicationUser user) |
static Locale |
I18nBean.getLocaleFromUser(ApplicationUser user) |
void |
MultiBulkMoveBeanImpl.validate(ErrorCollection errors,
BulkMoveOperation bulkMoveOperation,
ApplicationUser applicationUser) |
void |
MultiBulkMoveBean.validate(ErrorCollection errors,
BulkMoveOperation bulkMoveOperation,
ApplicationUser applicationUser) |
Constructor and Description |
---|
I18nBean(ApplicationUser user) |
StatisticAccessorBean(ApplicationUser remoteUser,
Long projectId) |
StatisticAccessorBean(ApplicationUser remoteUser,
Long projectId,
boolean limitToOpenIssues) |
StatisticAccessorBean(ApplicationUser remoteUser,
Long projectId,
Clause additionalClause,
boolean limitToOpenIssues)
Instantiates this class with given parameters.
|
StatisticAccessorBean(ApplicationUser remoteUser,
SearchRequest filter) |
StatisticAccessorBean(ApplicationUser remoteUser,
SearchRequest filter,
boolean overrideSecurity) |
Modifier and Type | Method and Description |
---|---|
IssueTableLayoutBean |
TableLayoutFactory.getAllColumnsExcelLayout(SearchRequest searchRequest,
ApplicationUser user) |
List<Field> |
TableLayoutFactory.getAllUserCsvColumnsFields(SearchRequest searchRequest,
ApplicationUser user) |
List<ColumnLayoutItem> |
TableLayoutUtilsImpl.getColumns(ApplicationUser user,
List<String> fields) |
List<ColumnLayoutItem> |
TableLayoutUtils.getColumns(ApplicationUser user,
List<String> fields)
Get the columns based off the a list of field names
|
List<ColumnLayoutItem> |
ColumnLayoutItemProvider.getColumns(ApplicationUser user,
SearchRequest searchRequest)
Gets the columns to be displayed on the result table for a given user and a given search request.
|
List<ColumnLayoutItem> |
TableLayoutUtilsImpl.getColumns(ApplicationUser user,
String applicationPropertyName) |
List<ColumnLayoutItem> |
TableLayoutUtils.getColumns(ApplicationUser user,
String applicationPropertyName)
Get the columns based off an application property
|
List<ColumnLayoutItem> |
TableLayoutUtilsImpl.getColumns(ApplicationUser user,
String context,
List<String> columnNames,
boolean addDefaults) |
List<ColumnLayoutItem> |
TableLayoutUtils.getColumns(ApplicationUser user,
String applicationPropertyName,
List<String> fields,
boolean addDefaults)
Get the columns based on a list of field names, and the default as defined in application properties
with the given property name.
|
List<Field> |
TableLayoutFactory.getCurrentUserCsvColumnsFields(SearchRequest searchRequest,
ApplicationUser user) |
IssueTableLayoutBean |
TableLayoutFactory.getDashboardLayout(ApplicationUser user,
List<String> columnNames)
Get the columns relevant for the dashboard, but limiting to a specific list of column names.
|
List<ModuleWebComponentFields.SectionsAndLinks> |
ModuleWebComponentFieldsImpl.getDropdownSections(String key,
ApplicationUser user,
JiraHelper helper) |
List<ModuleWebComponentFields.SectionsAndLinks> |
ModuleWebComponentFields.getDropdownSections(String key,
ApplicationUser user,
JiraHelper helper)
Returns dropdown sections and links for the given module
|
List<SimpleLink> |
ModuleWebComponentFieldsImpl.getHeaderItems(String key,
ApplicationUser user,
JiraHelper helper) |
List<SimpleLink> |
ModuleWebComponentFields.getHeaderItems(String key,
ApplicationUser user,
JiraHelper helper)
Returns header links for the given module
|
IssueTableLayoutBean |
TableLayoutFactory.getPrintableLayout(SearchRequest searchRequest,
ApplicationUser user) |
IssueTableLayoutBean |
TableLayoutFactory.getStandardExcelLayout(SearchRequest searchRequest,
ApplicationUser user) |
IssueTableLayoutBean |
TableLayoutFactory.getStandardLayout(SearchRequest searchRequest,
ApplicationUser user) |
IssueTableLayoutBean |
TableLayoutFactory.getSubTaskIssuesLayout(ApplicationUser user,
Issue parentIssue,
SubTaskBean subTaskBean,
String subTaskView,
boolean timeTrackingData)
Get the layout for sub-tasks on the view issue page.
|
List<ColumnLayoutItem> |
ColumnLayoutItemProvider.getUserColumns(ApplicationUser user)
Returns the list of columns that an user sees by default on his searches.
|
boolean |
SimpleColumnLayoutItem.isAliasForField(ApplicationUser user,
String sortField) |
String |
ModuleWebComponentImpl.renderModule(ApplicationUser user,
javax.servlet.http.HttpServletRequest request,
com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor webPanelModuleDescriptor,
Map<String,Object> params) |
String |
ModuleWebComponent.renderModule(ApplicationUser user,
javax.servlet.http.HttpServletRequest request,
com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor webPanelModuleDescriptor,
Map<String,Object> params) |
String |
ModuleWebComponentImpl.renderModules(ApplicationUser user,
javax.servlet.http.HttpServletRequest request,
List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> webPanelModuleDescriptors,
Map<String,Object> params) |
String |
ModuleWebComponent.renderModules(ApplicationUser user,
javax.servlet.http.HttpServletRequest request,
List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> webPanelModuleDescriptors,
Map<String,Object> params)
A convienence method that iterates over of the list of WebPanels and renders each.
|
Constructor and Description |
---|
IssueTableLayoutBean(ApplicationUser user,
Collection<SearchSort> searchSorts) |
Modifier and Type | Method and Description |
---|---|
String |
DefaultAutoCompleteJsonGenerator.getVisibleFieldNamesJson(ApplicationUser user,
Locale locale) |
String |
AutoCompleteJsonGenerator.getVisibleFieldNamesJson(ApplicationUser user,
Locale locale)
Will return an array of JSON objects containing the field names that the user can see, listed in alphabetical order.
|
String |
DefaultAutoCompleteJsonGenerator.getVisibleFunctionNamesJson(ApplicationUser user,
Locale locale) |
String |
AutoCompleteJsonGenerator.getVisibleFunctionNamesJson(ApplicationUser user,
Locale locale)
Will return an array of JSON objects containing the functions names that are available in the system, listed in alphabetical order.
|
Modifier and Type | Method and Description |
---|---|
static List<UserBean> |
UserBean.convertUsersToUserBeans(Locale userLocale,
Collection<ApplicationUser> users)
Converts a collection of user objects to an oredered list of user beans.
|
String |
UserPickerWebComponent.getHtml(UserPickerLayoutBean layoutBean,
Collection<ApplicationUser> currentUsers,
boolean canEdit,
Long id) |
Modifier and Type | Method and Description |
---|---|
ColumnLayoutItem |
ColumnLayoutItemFactory.getSubTaskReorderColumn(ApplicationUser user,
Issue parentIssue,
SubTaskBean subTaskBean,
String subTaskView)
Create a column for SubTaskView for reordering (displaying reorder arrows)
|
Constructor and Description |
---|
SubTaskReorderColumnLayoutItem(PermissionManager permissionManager,
ApplicationUser user,
VelocityTemplatingEngine templatingEngine,
SubTaskBean subTaskBean,
String subTaskView,
String contextPath,
Issue parentIssue,
I18nHelper i18n) |
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
ViewUserProfileContextLayoutBean.getProfileUser() |
Constructor and Description |
---|
ViewUserProfileContextLayoutBean(ApplicationUser profileUser,
String actionName) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
LandingPageRedirectManager.redirectUrl(ApplicationUser applicationUser) |
Optional<String> |
LandingPageRedirector.redirectUrl(ApplicationUser applicationUser)
Returns the landing page URL to which the given user should be redirected.
|
Optional<String> |
RenaissanceMigrationPageRedirect.url(ApplicationUser user) |
Modifier and Type | Method and Description |
---|---|
protected ApplicationUser |
AttachmentZipServlet.getLoggedInUser() |
protected ApplicationUser |
AbstractViewFileServlet.getLoggedInUser() |
Modifier and Type | Method and Description |
---|---|
ChangeItemBean |
DefaultWebAttachmentManager.createAttachment(webwork.multipart.MultiPartRequestWrapper requestWrapper,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue issue,
String fileParamName,
Map<String,Object> attachmentProperties) |
ChangeItemBean |
WebAttachmentManager.createAttachment(webwork.multipart.MultiPartRequestWrapper requestWrapper,
ApplicationUser remoteUser,
org.ofbiz.core.entity.GenericValue issue,
String fileParamName,
Map<String,Object> attachmentProperties)
Deprecated.
Use
#createAttachment(webwork.multipart.MultiPartRequestWrapper, com.atlassian.crowd.embedded.api.User, com.atlassian.jira.issue.Issue, String, java.util.Map) instead. Since v5.0. |
ChangeItemBean |
DefaultWebAttachmentManager.createAttachment(webwork.multipart.MultiPartRequestWrapper requestWrapper,
ApplicationUser remoteUser,
Issue issue,
String fileParamName,
Map<String,Object> attachmentProperties) |
ChangeItemBean |
WebAttachmentManager.createAttachment(webwork.multipart.MultiPartRequestWrapper requestWrapper,
ApplicationUser remoteUser,
Issue issue,
String fileParamName,
Map<String,Object> attachmentProperties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UserResponse |
UserResponse.fromApplicationUser(ApplicationUser user,
String avatarUrl,
io.atlassian.fugue.Option<String> lastSession,
boolean isEmailVisible,
List<String> applicationRoleNames) |
Modifier and Type | Method and Description |
---|---|
protected ApplicationUser |
WorkflowFunctionUtils.getCaller(Map transientVars,
Map args)
Deprecated.
Use
WorkflowFunctionUtils.getCallerUser(java.util.Map, java.util.Map) instead. Since v6.0. |
static ApplicationUser |
WorkflowUtil.getCallerUser(Map transientVars)
Given a map of transientVars from a Workflow Function, returns the
ApplicationUser object of the caller. |
protected ApplicationUser |
WorkflowFunctionUtils.getCallerUser(Map transientVars,
Map args)
Get the
ApplicationUser executing this condition. |
static ApplicationUser |
WorkflowFunctionUtils.getCallerUserFromArgs(Map transientVars,
Map args)
Get the
ApplicationUser executing this condition. |
ApplicationUser |
MockDraftWorkflowScheme.getLastModifiedUser() |
ApplicationUser |
MockDraftWorkflowScheme.MockBuilder.getLastModifiedUser() |
ApplicationUser |
DraftWorkflowSchemeBuilder.getLastModifiedUser() |
ApplicationUser |
DraftWorkflowScheme.getLastModifiedUser()
The user that last modified the scheme.
|
ApplicationUser |
DraftWorkflowScheme.Builder.getLastModifiedUser() |
ApplicationUser |
WorkflowTransitionUtilImpl.getRemoteApplicationUser() |
ApplicationUser |
WorkflowProgressAware.getRemoteApplicationUser() |
ApplicationUser |
WorkflowTransitionUtilImpl.getRemoteUser()
Deprecated.
Use
WorkflowTransitionUtilImpl.getRemoteApplicationUser() instead. Since v6.2.3. |
ApplicationUser |
WorkflowProgressAware.getRemoteUser()
Deprecated.
Use
WorkflowProgressAware.getRemoteApplicationUser() instead. Since v6.0. |
ApplicationUser |
MockJiraWorkflow.getUpdateAuthor() |
ApplicationUser |
AbstractJiraWorkflow.getUpdateAuthor() |
ApplicationUser |
JiraWorkflow.getUpdateAuthor()
Returns the most recent author
|
static ApplicationUser |
WorkflowFunctionUtils.getUserByKey(String key) |
Modifier and Type | Method and Description |
---|---|
AssignableWorkflowScheme |
EagerWorkflowSchemeManager.cleanUpSchemeDraft(Project project,
ApplicationUser user) |
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.cleanUpSchemeDraft(Project project,
ApplicationUser user) |
AssignableWorkflowScheme |
WorkflowSchemeManager.cleanUpSchemeDraft(Project project,
ApplicationUser user)
If the project's workflow scheme is only used by one project and if this scheme has a draft,
then the draft is copied to a separate scheme and deleted.
|
void |
OSWorkflowManager.copyAndDeleteDraftsForInactiveWorkflowsIn(ApplicationUser user,
Iterable<JiraWorkflow> workflows) |
void |
WorkflowManager.copyAndDeleteDraftsForInactiveWorkflowsIn(ApplicationUser user,
Iterable<JiraWorkflow> workflows)
Provided a set of workflows, this method will check, if the passed in inactive workflows have any drafts linked
to them.
|
void |
OSWorkflowManager.copyAndDeleteDraftWorkflows(ApplicationUser user,
Set<JiraWorkflow> workflows) |
void |
WorkflowManager.copyAndDeleteDraftWorkflows(ApplicationUser user,
Set<JiraWorkflow> workflows)
Deprecated.
Since 5.1. This method should not be used directly by external developers as it is an operation
that only makes sense in the context of a higher level operation in JIRA (i.e. project removal / changing the
workflow scheme of a given project).
Please use the API calls for these higher level operations instead. |
AssignableWorkflowScheme |
EagerWorkflowSchemeManager.copyDraft(DraftWorkflowScheme draft,
ApplicationUser user,
String newDescription) |
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.copyDraft(DraftWorkflowScheme draft,
ApplicationUser user,
String newDescription) |
AssignableWorkflowScheme |
WorkflowSchemeManager.copyDraft(DraftWorkflowScheme draft,
ApplicationUser user,
String newDescription) |
JiraWorkflow |
OSWorkflowManager.copyWorkflow(ApplicationUser user,
String clonedWorkflowName,
String clonedWorkflowDescription,
JiraWorkflow workflowToClone) |
JiraWorkflow |
WorkflowManager.copyWorkflow(ApplicationUser user,
String clonedWorkflowName,
String clonedWorkflowDescription,
JiraWorkflow workflowToClone)
Clones a workflow by creating a deep copy of the workflow provided.
|
DraftWorkflowScheme |
EagerWorkflowSchemeManager.createDraft(ApplicationUser creator,
DraftWorkflowScheme workflowScheme) |
DraftWorkflowScheme |
DefaultWorkflowSchemeManager.createDraft(ApplicationUser creator,
DraftWorkflowScheme workflowScheme) |
DraftWorkflowScheme |
WorkflowSchemeManager.createDraft(ApplicationUser creator,
DraftWorkflowScheme workflowScheme)
Create the passed draft workflow scheme.
|
DraftWorkflowScheme |
EagerWorkflowSchemeManager.createDraftOf(ApplicationUser creator,
AssignableWorkflowScheme workflowScheme) |
DraftWorkflowScheme |
DefaultWorkflowSchemeManager.createDraftOf(ApplicationUser creator,
AssignableWorkflowScheme workflowScheme) |
DraftWorkflowScheme |
WorkflowSchemeManager.createDraftOf(ApplicationUser creator,
AssignableWorkflowScheme workflowScheme)
Create a draft for the passed workflow scheme.
|
JiraWorkflow |
OfBizDraftWorkflowStore.createDraftWorkflow(ApplicationUser author,
JiraWorkflow parentWorkflow) |
JiraWorkflow |
DraftWorkflowStore.createDraftWorkflow(ApplicationUser author,
JiraWorkflow parentWorkflow)
Creates a temporary workflow linked back to the named active workflow by id.
|
JiraWorkflow |
CachingDraftWorkflowStore.createDraftWorkflow(ApplicationUser author,
JiraWorkflow parentWorkflow) |
JiraWorkflow |
OSWorkflowManager.createDraftWorkflow(ApplicationUser user,
String parentWorkflowName) |
JiraWorkflow |
WorkflowManager.createDraftWorkflow(ApplicationUser user,
String parentWorkflowName)
This will create an draft workflow of the named active workflow.
|
void |
OSWorkflowManager.createWorkflow(ApplicationUser user,
JiraWorkflow workflow) |
void |
WorkflowManager.createWorkflow(ApplicationUser user,
JiraWorkflow workflow) |
Collection<com.opensymphony.workflow.loader.ActionDescriptor> |
IssueWorkflowManagerImpl.getAvailableActions(Issue issue,
ApplicationUser user) |
Collection<com.opensymphony.workflow.loader.ActionDescriptor> |
IssueWorkflowManager.getAvailableActions(Issue issue,
ApplicationUser user)
Returns the Workflow actions that are valid for the given Issue in its current state for given user.
|
Collection<com.opensymphony.workflow.loader.ActionDescriptor> |
IssueWorkflowManagerImpl.getAvailableActions(Issue issue,
TransitionOptions transitionOptions,
ApplicationUser user) |
Collection<com.opensymphony.workflow.loader.ActionDescriptor> |
IssueWorkflowManager.getAvailableActions(Issue issue,
TransitionOptions transitionOptions,
ApplicationUser user)
Returns the Workflow actions that are valid for the given Issue in its current state for given user.
|
List<com.opensymphony.workflow.loader.ActionDescriptor> |
IssueWorkflowManagerImpl.getSortedAvailableActions(Issue issue,
ApplicationUser user) |
List<com.opensymphony.workflow.loader.ActionDescriptor> |
IssueWorkflowManager.getSortedAvailableActions(Issue issue,
ApplicationUser user)
Returns the Workflow actions that are valid for the given Issue in its current state for given user.
|
List<com.opensymphony.workflow.loader.ActionDescriptor> |
IssueWorkflowManagerImpl.getSortedAvailableActions(Issue issue,
TransitionOptions transitionOptions,
ApplicationUser user) |
List<com.opensymphony.workflow.loader.ActionDescriptor> |
IssueWorkflowManager.getSortedAvailableActions(Issue issue,
TransitionOptions transitionOptions,
ApplicationUser user)
Returns the Workflow actions that are valid for the given Issue in its current state for given user.
|
boolean |
IssueWorkflowManagerImpl.isValidAction(Issue issue,
int actionId,
ApplicationUser user) |
boolean |
IssueWorkflowManager.isValidAction(Issue issue,
int actionId,
ApplicationUser user)
Returns true if the given transition ID is valid for the given issue and given user.
|
boolean |
IssueWorkflowManagerImpl.isValidAction(Issue issue,
int actionId,
TransitionOptions transitionOptions,
ApplicationUser user) |
boolean |
IssueWorkflowManager.isValidAction(Issue issue,
int actionId,
TransitionOptions transitionOptions,
ApplicationUser user)
Returns true if the given transition ID is valid for the given issue and current user.
|
com.opensymphony.workflow.Workflow |
OSWorkflowManager.makeWorkflow(ApplicationUser user) |
com.opensymphony.workflow.Workflow |
WorkflowManager.makeWorkflow(ApplicationUser user)
Prepares
Workflow object with given user as caller |
void |
OSWorkflowManager.overwriteActiveWorkflow(ApplicationUser user,
String workflowName) |
void |
WorkflowManager.overwriteActiveWorkflow(ApplicationUser user,
String workflowName)
Saves the draft workflow into the active workflow.
|
static void |
WorkflowFunctionUtils.populateParamsWithUser(Map<String,Object> params,
ApplicationUser user)
Populate given map of parameters with data which can identify user, in order to be able retrieve
ApplicationUser later via WorkflowFunctionUtils.getCallerUserFromArgs(java.util.Map, java.util.Map) |
MockDraftWorkflowScheme |
MockDraftWorkflowScheme.setLastModifiedUser(ApplicationUser lastModifiedUser) |
JiraWorkflow |
OfBizDraftWorkflowStore.updateDraftWorkflow(ApplicationUser user,
String parentWorkflowName,
JiraWorkflow workflow) |
JiraWorkflow |
DraftWorkflowStore.updateDraftWorkflow(ApplicationUser user,
String parentWorkflowName,
JiraWorkflow workflow)
Updates a temporary workflow with the one provided for the parent workflow name passed in.
|
JiraWorkflow |
CachingDraftWorkflowStore.updateDraftWorkflow(ApplicationUser user,
String parentWorkflowName,
JiraWorkflow workflow) |
DraftWorkflowScheme |
EagerWorkflowSchemeManager.updateDraftWorkflowScheme(ApplicationUser user,
DraftWorkflowScheme scheme) |
DraftWorkflowScheme |
DefaultWorkflowSchemeManager.updateDraftWorkflowScheme(ApplicationUser user,
DraftWorkflowScheme scheme) |
DraftWorkflowScheme |
WorkflowSchemeManager.updateDraftWorkflowScheme(ApplicationUser user,
DraftWorkflowScheme scheme)
Save changes to the passed draft workflow scheme.
|
void |
OSWorkflowManager.updateWorkflow(ApplicationUser user,
JiraWorkflow workflow) |
void |
WorkflowManager.updateWorkflow(ApplicationUser user,
JiraWorkflow workflow)
Saves the given JiraWorkflow, which may be either a "live" or "draft" version.
|
void |
OSWorkflowManager.updateWorkflowNameAndDescription(ApplicationUser user,
JiraWorkflow currentWorkflow,
String newName,
String newDescription) |
void |
WorkflowManager.updateWorkflowNameAndDescription(ApplicationUser user,
JiraWorkflow currentWorkflow,
String newName,
String newDescription)
Used to change the name and description of an existing worfklow with the given name.
|
Modifier and Type | Method and Description |
---|---|
ApplicationUser |
Workflow.getUpdateAuthor()
Returns the most recent author
|
Modifier and Type | Method and Description |
---|---|
ServiceResult |
WorkflowStatusesValidator.validateStatusDelete(ApplicationUser user,
@NotNull JiraWorkflow mutableWorkflow,
String statusId)
Validates if status can be deleted from workflow by user.
|
ServiceResult |
WorkflowStatusesValidator.validateStatusDeleteWhenOverwriteWorkflow(ApplicationUser user,
@NotNull JiraWorkflow liveWorkflow,
String statusId) |
Modifier and Type | Field and Description |
---|---|
protected ApplicationUser |
AbstractWorkflowSchemeMigrationHelper.user |
Modifier and Type | Method and Description |
---|---|
void |
HelpTipManager.dismissTip(ApplicationUser user,
String id) |
Collection<String> |
HelpTipManager.getDismissedTips(ApplicationUser user) |
void |
HelpTipManager.undismissTip(ApplicationUser user,
String id) |
Modifier and Type | Method and Description |
---|---|
PersonalDataInQueryFindingService.UserDataInQuery |
PersonalDataInQueryFindingServiceImpl.containsUserData(ApplicationUser user,
Query query) |
PersonalDataInQueryFindingService.UserDataInQuery |
PersonalDataInQueryFindingService.containsUserData(ApplicationUser user,
Query query)
Test the given query to find out whether it contains any
references to the given user.
|
Copyright © 2002-2020 Atlassian. All Rights Reserved.