Modifier and Type | Method and Description |
---|---|
Avatar |
AvatarManager.create(Avatar avatar)
Creates a database record for the given avatar.
|
Avatar |
AvatarManager.create(Avatar avatar,
InputStream image,
Selection selection)
Creates a database record for the given avatar and uses the content of the InputStream as the image.
|
Avatar |
AvatarManager.create(String fileName,
String contentType,
ApplicationUser owner,
InputStream image,
Selection selection)
Creates a database record for the given avatar and uses the content of the InputStream as the image.
|
Avatar |
AvatarManager.create(String fileName,
String contentType,
Project owner,
InputStream image,
Selection selection)
Creates a database record for the given avatar and uses the content of the InputStream as the image.
|
boolean |
AvatarManager.delete(Long avatarId)
Delete the avatar with the given id and the file on disk.
|
List<Avatar> |
AvatarManager.getAllSystemAvatars(Avatar.Type type)
Provides a list of all system avatars.
|
Avatar |
AvatarManager.getById(Long avatarId)
Retrieve the avatar with the given id.
|
Avatar |
AvatarManager.getByIdTagged(Long avatarId)
Retrieve the avatar with the given id,
ensuring the avatar file is tagged with metadata identifying the image came from JIRA.
|
List<Avatar> |
AvatarManager.getCustomAvatarsForOwner(Avatar.Type type,
String ownerId)
Provides a list of all avatars that are of the given type which have the given owner.
|
void |
AvatarManager.update(Avatar avatar)
Saves the avatar as an updated version of the avatar with the same id that is already in the database.
|
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<CustomField> |
CustomFieldService.create(CreateValidationResult createValidationResult)
Creates a custom field using a
CreateValidationResult as parameter. |
Modifier and Type | Method and Description |
---|---|
void |
FeatureStore.create(String featureName,
String userKey)
Creates an feature with the properties of the given feature.
|
void |
DefaultFeatureStore.create(String featureKey,
String userKey) |
void |
FeatureStore.delete(String featureKey,
String userKey)
Permanently removes the feature from the system.
|
void |
DefaultFeatureStore.delete(String featureKey,
String userKey) |
Set<String> |
FeatureStore.getSiteFeatures()
Returns a list of all enabled site features
|
Set<String> |
DefaultFeatureStore.getSiteFeatures() |
Set<String> |
FeatureStore.getUserFeatures(String userKey)
Returns a list of all enabled features for a user
|
Set<String> |
DefaultFeatureStore.getUserFeatures(String userKey) |
void |
SubTaskManager.moveSubTaskIssueTypeDown(String id) |
void |
SubTaskManager.moveSubTaskIssueTypeUp(String id) |
void |
ConstantsManager.storeIssueTypes(List<org.ofbiz.core.entity.GenericValue> issueTypes)
Bulk operation to store a list of issueTypes.
|
void |
ConstantsManager.updateIssueType(String id,
String name,
Long sequence,
String style,
String description,
String iconurl)
Deprecated.
|
void |
SubTaskManager.updateSubTaskIssueType(String id,
String name,
Long sequence,
String description,
Long avatarId)
Update existing sub-task issue type.
|
void |
SubTaskManager.updateSubTaskIssueType(String id,
String name,
Long sequence,
String description,
String iconurl)
Deprecated.
Use
SubTaskManager.updateSubTaskIssueType(String, String, Long, String, Long) instead. Since v6.3. |
Modifier and Type | Method and Description |
---|---|
Attachment |
AttachmentManager.getAttachment(Long id)
Get a single attachment by its ID.
|
List<Attachment> |
AttachmentManager.getAttachments(Issue issue)
Get a list of all attachments for a certain issue.
|
List<Attachment> |
AttachmentManager.getAttachments(Issue issue,
Comparator<? super Attachment> comparator)
Get a list of all attachments for a certain issue, sorted according to the specified comparator.
|
org.ofbiz.core.entity.GenericValue |
IssueManager.getIssue(Long id)
Deprecated.
Use
IssueManager.getIssueObject(Long) instead. |
MutableIssue |
IssueManager.getIssueByCurrentKey(String key)
Retrieves the
Issue that has the given key, or null if no such Issue exists. |
MutableIssue |
IssueManager.getIssueByKeyIgnoreCase(String key)
Retrieves the
Issue that has the given key, or null if no such Issue exists. |
MutableIssue |
IssueManager.getIssueObject(Long id)
Retrieves an issue by id.
|
MutableIssue |
IssueManager.getIssueObject(String key)
Retrieves the
Issue that has the given key, or null if no such Issue exists. |
Modifier and Type | Method and Description |
---|---|
File |
AttachmentStore.getAttachmentFile(Attachment attachment)
Deprecated.
Returns the physical File for the given Attachment.
|
File |
AttachmentStore.getAttachmentFile(Issue issue,
Attachment attachment)
Deprecated.
Returns the physical File for the given Attachment.
|
Modifier and Type | Method and Description |
---|---|
Scheme |
IssueSecuritySchemeManager.getSchemeObject(Long id)
Deprecated.
Use
IssueSecuritySchemeManager.getIssueSecurityLevelScheme(Long) instead. Since v5.2. |
Modifier and Type | Method and Description |
---|---|
void |
SubscriptionManager.updateSubscription(ApplicationUser user,
Long subscriptionId,
String groupName,
String cronExpression,
Boolean emailOnEmpty) |
void |
SubscriptionManager.updateSubscription(ApplicationUser user,
Long subscriptionId,
String groupName,
org.quartz.Trigger trigger,
Boolean emailOnEmpty)
Deprecated.
Since v6.2. Quartz internals are no longer supported through the JIRA api
use
SubscriptionManager.updateSubscription(ApplicationUser, Long, String, String, Boolean) |
void |
SubscriptionManager.updateSubscription(com.atlassian.crowd.embedded.api.User user,
Long subscriptionId,
String groupName,
org.quartz.Trigger trigger,
Boolean emailOnEmpty)
Deprecated.
Use use
SubscriptionManager.updateSubscription(ApplicationUser, Long, String, String, Boolean) instead. Since v6.0. |
Modifier and Type | Method and Description |
---|---|
List<String> |
WatcherManager.getCurrentWatcherUsernames(org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Use
WatcherManager.getCurrentWatcherUsernames(com.atlassian.jira.issue.Issue) instead. Since v5.0. |
List<String> |
WatcherManager.getCurrentWatcherUsernames(Issue issue)
Retrieve the list of usernames of users watching the given issue
|
Modifier and Type | Method and Description |
---|---|
int |
OfBizDelegator.bulkCopyColumnValuesByAnd(String entityName,
Map updateColumns,
Map criteria)
This can be used to perform an update on the entityName of all the rows
identified by AND criteria of the fields specified by the criteria map.
|
int |
OfBizDelegator.bulkUpdateByAnd(String entityName,
Map<String,?> updateValues,
Map<String,?> criteria)
This can be used to perform an update on the entityName of all the rows
identified by AND criteria of the fields specified by the criteria map.
|
int |
OfBizDelegator.bulkUpdateByPrimaryKey(String entityName,
Map<String,?> updateValues,
List<Long> keys)
This can be used to perform an update on the entityName of all the rows
identified by the keys with the values stored in the updateValues.
|
org.ofbiz.core.entity.GenericValue |
OfBizDelegator.createValue(String entityName,
Map<String,Object> fields)
Creates a new GenericValue, and persists it.
|
void |
OfBizDelegator.createValueWithoutId(String entityName,
Map<String,Object> fields)
Creates a new GenericValue, and persists it without trying to automatically populate the ID column.
|
List<org.ofbiz.core.entity.GenericValue> |
OfBizDelegator.findAll(String s) |
List<org.ofbiz.core.entity.GenericValue> |
OfBizDelegator.findAll(String s,
List<String> orderBy) |
List<org.ofbiz.core.entity.GenericValue> |
OfBizDelegator.findByAnd(String entityName,
List<org.ofbiz.core.entity.EntityCondition> expressions) |
List<org.ofbiz.core.entity.GenericValue> |
OfBizDelegator.findByAnd(String entityName,
Map<String,?> fields)
Finds GenericValue records by all of the specified fields (ie: combined using AND).
|
List<org.ofbiz.core.entity.GenericValue> |
OfBizDelegator.findByAnd(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<org.ofbiz.core.entity.GenericValue> |
OfBizDelegator.findByCondition(String entityName,
org.ofbiz.core.entity.EntityCondition entityCondition,
Collection<String> fieldsToSelect)
Finds GenericValues by the conditions specified in the EntityCondition object with no specified order.
|
List<org.ofbiz.core.entity.GenericValue> |
OfBizDelegator.findByCondition(String entityName,
org.ofbiz.core.entity.EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy)
Finds GenericValues by the conditions specified in the EntityCondition object.
|
org.ofbiz.core.entity.GenericValue |
OfBizDelegator.findById(String entityName,
Long id)
Find a Generic Entity by its numeric ID.
|
List<org.ofbiz.core.entity.GenericValue> |
OfBizDelegator.findByLike(String entityName,
Map<String,?> map) |
List<org.ofbiz.core.entity.GenericValue> |
OfBizDelegator.findByLike(String entityName,
Map<String,?> map,
List<String> orderBy) |
List<org.ofbiz.core.entity.GenericValue> |
OfBizDelegator.findByOr(String entityName,
List<? extends org.ofbiz.core.entity.EntityCondition> expressions,
List<String> orderBy) |
org.ofbiz.core.entity.GenericValue |
OfBizDelegator.findByPrimaryKey(String entityName,
Long id)
Find a Generic Entity by its single numeric Primary Key.
|
org.ofbiz.core.entity.GenericValue |
OfBizDelegator.findByPrimaryKey(String entityName,
Map<String,?> fields)
Find a Generic Entity by its Primary Key.
|
OfBizListIterator |
OfBizDelegator.findListIteratorByCondition(String entityType,
org.ofbiz.core.entity.EntityCondition condition)
Returns a new OfBizListIterator.
|
OfBizListIterator |
OfBizDelegator.findListIteratorByCondition(String entityName,
org.ofbiz.core.entity.EntityCondition whereEntityCondition,
org.ofbiz.core.entity.EntityCondition havingEntityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy,
org.ofbiz.core.entity.EntityFindOptions entityFindOptions)
Returns a new OfBizListIterator.
|
long |
OfBizDelegator.getCount(String entityName)
Runs a
COUNT * query over the given entity. |
List<org.ofbiz.core.entity.GenericValue> |
OfBizDelegator.getRelated(String relationName,
org.ofbiz.core.entity.GenericValue gv) |
List<org.ofbiz.core.entity.GenericValue> |
OfBizDelegator.getRelated(String relationName,
org.ofbiz.core.entity.GenericValue gv,
List<String> orderBy) |
void |
OfBizDelegator.removeAll(List<org.ofbiz.core.entity.GenericValue> genericValues) |
int |
OfBizDelegator.removeByAnd(String s,
Map<String,?> map) |
int |
OfBizDelegator.removeByCondition(String entityName,
org.ofbiz.core.entity.EntityCondition condition) |
int |
OfBizDelegator.removeByOr(String entityName,
String entityId,
List<Long> ids)
This can be used to remove rows for a given entity based on entityName
and where entityId
|
int |
OfBizDelegator.removeValue(org.ofbiz.core.entity.GenericValue value) |
void |
OfBizDelegator.store(org.ofbiz.core.entity.GenericValue gv) |
void |
OfBizDelegator.storeAll(List<org.ofbiz.core.entity.GenericValue> genericValues) |
Modifier and Type | Method and Description |
---|---|
Collection<ProjectCategory> |
ProjectManager.getAllProjectCategories()
Returns all ProjectCategories, ordered by name.
|
org.ofbiz.core.entity.GenericValue |
ProjectManager.getComponent(org.ofbiz.core.entity.GenericValue project,
String name)
Deprecated.
Use ProjectComponentManager instead. Deprecated in v4.0.
|
org.ofbiz.core.entity.GenericValue |
ProjectManager.getComponent(Long id)
Deprecated.
Use ProjectComponentManager instead. Deprecated in v4.0.
|
Collection<org.ofbiz.core.entity.GenericValue> |
ProjectManager.getComponents(org.ofbiz.core.entity.GenericValue project)
Deprecated.
Use ProjectComponentManager instead. Deprecated in v4.0.
|
long |
ProjectManager.getNextId(Project project)
Get the next issue ID from this project (transactional).
|
org.ofbiz.core.entity.GenericValue |
ProjectManager.getProject(org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Use
Issue.getProjectObject() instead. Deprecated since v4.0. |
org.ofbiz.core.entity.GenericValue |
ProjectManager.getProject(Long id)
Deprecated.
please use
ProjectManager.getProjectObj(java.lang.Long) |
org.ofbiz.core.entity.GenericValue |
ProjectManager.getProjectByKey(String key)
Deprecated.
please use the
ProjectManager.getProjectObjByKey(java.lang.String) method to return a Project object |
org.ofbiz.core.entity.GenericValue |
ProjectManager.getProjectByName(String name)
Deprecated.
Please use
ProjectManager.getProjectObjByName(java.lang.String) instead. Deprecated since v4.0. |
Collection<org.ofbiz.core.entity.GenericValue> |
ProjectManager.getProjectCategories()
Deprecated.
since v4.4. Use
ProjectManager.getAllProjectCategories() instead. |
org.ofbiz.core.entity.GenericValue |
ProjectManager.getProjectCategory(Long id)
Deprecated.
Use
ProjectManager.getProjectCategoryObject(Long) instead. Since v4.4. |
org.ofbiz.core.entity.GenericValue |
ProjectManager.getProjectCategoryByName(String projectCategoryName)
Deprecated.
Use
ProjectManager.getProjectCategoryObjectByName(String) instead. Since v4.4. |
ProjectCategory |
ProjectManager.getProjectCategoryForProject(Project project)
Returns a project's category.
|
org.ofbiz.core.entity.GenericValue |
ProjectManager.getProjectCategoryFromProject(org.ofbiz.core.entity.GenericValue project)
Deprecated.
Use
ProjectManager.getProjectCategoryForProject(com.atlassian.jira.project.Project) instead. Since 4.4 |
ProjectCategory |
ProjectManager.getProjectCategoryObject(Long id)
Returns a single project category by id.
|
long |
ProjectManager.getProjectCount()
Return the total number of
Project s. |
Project |
ProjectManager.getProjectObj(Long id)
Retrieves a single
Project by its id. |
List<Project> |
ProjectManager.getProjectObjects()
Return all
Project s ordered by name. |
Collection<Project> |
ProjectManager.getProjectObjectsFromProjectCategory(Long projectCategoryId)
Returns a list of projects in a particular category.
|
Collection<Project> |
ProjectManager.getProjectObjectsWithNoCategory()
Returns a list of projects without project category, sorted by project name
|
Collection<org.ofbiz.core.entity.GenericValue> |
ProjectManager.getProjects()
Deprecated.
Use
ProjectManager.getProjectObjects() instead. Deprecated in v4.0. |
Collection<org.ofbiz.core.entity.GenericValue> |
ProjectManager.getProjectsFromProjectCategory(org.ofbiz.core.entity.GenericValue projectCategory)
Deprecated.
Use
ProjectManager.getProjectsFromProjectCategory(ProjectCategory) instead. Since v4.4. |
Collection<Project> |
ProjectManager.getProjectsFromProjectCategory(ProjectCategory projectCategory)
Returns a list of projects in a particular category.
|
Collection<org.ofbiz.core.entity.GenericValue> |
ProjectManager.getProjectsWithNoCategory()
Deprecated.
Use
ProjectManager.getProjectObjectsWithNoCategory() instead. Since v4.4. |
void |
ProjectManager.setProjectCategory(org.ofbiz.core.entity.GenericValue project,
org.ofbiz.core.entity.GenericValue category)
Deprecated.
|
void |
ProjectManager.setProjectCategory(Project project,
ProjectCategory category)
Sets a project's category.
|
void |
ProjectManager.updateProjectCategory(org.ofbiz.core.entity.GenericValue projectCat)
Deprecated.
Use
ProjectManager.updateProjectCategory(ProjectCategory) instead. Since v4.4. |
void |
ProjectManager.updateProjectCategory(ProjectCategory projectCategory)
Persist an updated project category.
|
Modifier and Type | Method and Description |
---|---|
Scheme |
SchemeManager.createSchemeAndEntities(Scheme scheme) |
Scheme |
SchemeManager.getSchemeObject(Long id)
Gets a scheme by id from the database.
|
Scheme |
SchemeManager.getSchemeObject(String name)
Gets a scheme by name from the database.
|
List<Scheme> |
SchemeManager.getSchemeObjects()
Gets all scheme objects in the database.
|
List<Scheme> |
SchemeManager.getUnassociatedSchemes()
Will return all @link Scheme objects that are not currently associated with any projects.
|
Modifier and Type | Method and Description |
---|---|
static File |
AttachmentUtils.getAttachmentFile(Attachment attachment)
Deprecated.
Returns the physical File for the given Attachment.
|
static File |
AttachmentUtils.getAttachmentFile(Issue issue,
Attachment attachment)
Deprecated.
Returns the physical File for the given Attachment.
|
Modifier and Type | Method and Description |
---|---|
protected Issue |
AbstractJiraCondition.getIssue(Map transientVars)
This method retrieves the original (unmodified) issue object that will be examined for the condition check.
|
Modifier and Type | Method and Description |
---|---|
protected MutableIssue |
AbstractJiraFunctionProvider.getIssue(Map transientVars)
This method retrieves the (potentially modified) issue object that is being transitioned through workflow.
|
Copyright © 2002-2014 Atlassian. All Rights Reserved.