com.atlassian.jira.service
Interface ServiceTypes

All Known Implementing Classes:
DefaultServiceTypes

public interface ServiceTypes

Represents the service class which implement the JiraService interface.

Since:
v4.3

Method Summary
 boolean isCustom(String serviceClassName)
          Determines whether the service class has not shipped with JIRA.
 boolean isInBuilt(String serviceClassName)
          Determines whether the service class has shipped with JIRA.
 boolean isManageableBy(com.atlassian.crowd.embedded.api.User user, String serviceClassName)
          Determines whether an user is able to perform administrative tasks on services of an specified class.
 

Method Detail

isCustom

boolean isCustom(String serviceClassName)
Determines whether the service class has not shipped with JIRA.

Parameters:
serviceClassName - The name of the service class.
Returns:
true if the service class has not shipped with JIRA; otherwise, false.

isInBuilt

boolean isInBuilt(String serviceClassName)
Determines whether the service class has shipped with JIRA.

Parameters:
serviceClassName - The name of the service class.
Returns:
true if the service class has not shipped with JIRA; otherwise, false.

isManageableBy

boolean isManageableBy(com.atlassian.crowd.embedded.api.User user,
                       String serviceClassName)
Determines whether an user is able to perform administrative tasks on services of an specified class.

Parameters:
user - The user in play.
serviceClassName - The class of the service to check.
Returns:
true if the user is able to perform administrative tasks on services of this class; otherwise false.


Copyright © 2002-2014 Atlassian. All Rights Reserved.