com.atlassian.jira.project.Project.getGenericValue()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(4.8k)|赞(0)|评价(0)|浏览(134)

本文整理了Java中com.atlassian.jira.project.Project.getGenericValue()方法的一些代码示例,展示了Project.getGenericValue()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Project.getGenericValue()方法的具体详情如下:
包路径:com.atlassian.jira.project.Project
类名称:Project
方法名:getGenericValue

Project.getGenericValue介绍

暂无

代码示例

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public final GenericValue getProject()
{
  return project.getGenericValue();
}

代码示例来源:origin: com.atlassian.jira/jira-core

public GenericValue get(final Project project)
  {
    return project.getGenericValue();
  }
};

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
  public GenericValue apply(@Nullable final Project input)
  {
    return (null != input) ? input.getGenericValue() : null;
  }
}));

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public IssueTypeScreenScheme getIssueTypeScreenScheme(Project project)
{
  return getIssueTypeScreenScheme(project.getGenericValue());
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public void removeSchemeAssociation(Project project, IssueTypeScreenScheme issueTypeScreenScheme)
{
  removeSchemeAssociation(project.getGenericValue(), issueTypeScreenScheme);
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public Collection<Group> getGroups(@Nonnull ProjectPermissionKey permissionKey, @Nonnull Project project)
{
  return getGroups(permissionKey, project.getGenericValue());
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public PropertySet getPropertySet(Project project)
{
  return OFBizPropertyUtils.getCachingPropertySet(project.getGenericValue());
}

代码示例来源:origin: com.atlassian.jira/jira-core

public GenericValue getProject()
{
  Project project = null;
  if (projectId != null)
  {
    project = projectManager.getProjectObj(projectId);
  }
  return project != null ? project.getGenericValue() : null;
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public void associateWithDefaultScheme(Project project)
{
  associateWithDefaultScheme(project.getGenericValue());
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public GenericValue getWorkflowScheme(final Project project) throws GenericEntityException
{
  return getWorkflowScheme(project.getGenericValue());
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public void addSchemeAssociation(Project project, IssueTypeScreenScheme issueTypeScreenScheme)
{
  addSchemeAssociation(project.getGenericValue(), issueTypeScreenScheme);
}

代码示例来源:origin: com.atlassian.jira/jira-core

@VisibleForTesting
GenericValue getSchemeForProject(final Project project)
{
  return getSchemeForProject(project.getGenericValue());
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public boolean hasPermission(@Nonnull final ProjectPermissionKey permissionsKey, @Nonnull final Project project, @Nullable final ApplicationUser user)
{
  final boolean permSchemeAllows = super.hasPermission(permissionsKey, project, user);
  return workflowPermissionCheck(permSchemeAllows, permissionsKey, getIssueOrNull(project.getGenericValue()), user);
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public boolean hasPermission(@Nonnull final ProjectPermissionKey permissionsKey, @Nonnull final Project project, final ApplicationUser user, final boolean issueCreation)
{
  final boolean permSchemeAllows = super.hasPermission(permissionsKey, project, user, issueCreation);
  return workflowPermissionCheck(permSchemeAllows, permissionsKey, getIssueOrNull(project.getGenericValue()), user);
}

代码示例来源:origin: com.atlassian.jira/jira-core

public Collection<IssueType> getNonSubTaskIssueTypesForProject(Project project)
{
  FieldConfigScheme fieldConfigScheme = getConfigScheme(project.getGenericValue());
  return getIssueTypesForConfigScheme(fieldConfigScheme, false, true);
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public Long getDefaultSecurityLevel(Project project)
{
  try
  {
    return getSchemeDefaultSecurityLevel(project != null ? project.getGenericValue() : null);
  }
  catch (GenericEntityException e)
  {
    throw new DataAccessException(e);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public void removeSchemesFromProject(final Project project) throws DataAccessException
{
  try
  {
    removeSchemesFromProject(project.getGenericValue());
  }
  catch (final GenericEntityException e)
  {
    throw new DataAccessException(e);
  }
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public boolean hasPermission(final int permissionsId, final Project project, final ApplicationUser user)
{
  final boolean permSchemeAllows = super.hasPermission(permissionsId, project, user);
  return workflowPermissionCheck(permSchemeAllows, permissionsId, project.getGenericValue(), user);
}

代码示例来源:origin: com.atlassian.jira/jira-core

public Collection<IssueType> getSubTaskIssueTypesForProject(Project project)
{
  FieldConfigScheme fieldConfigScheme = getConfigScheme(project.getGenericValue());
  return getIssueTypesForConfigScheme(fieldConfigScheme, true, false);
}

代码示例来源:origin: com.atlassian.jira/jira-core

@Override
public void addDefaultSchemeToProject(final Project project) throws DataAccessException
{
  try
  {
    addDefaultSchemeToProject(project.getGenericValue());
  }
  catch (GenericEntityException e)
  {
    throw new DataAccessException(e);
  }
}

相关文章