com.atlassian.jira.issue.context
Class LazyIssueContext

java.lang.Object
  extended by com.atlassian.jira.issue.context.LazyIssueContext
All Implemented Interfaces:
IssueContext

Deprecated. Use IssueContextImpl instead. Since v6.1.

@Deprecated
public class LazyIssueContext
extends Object
implements IssueContext

This class offers no real advantage over IssueContextImpl except that it does the component accessor lookups exactly once regardless of how many times you call its getters. If that's worth doing, then it's worth doing in IssueContextImpl too. Otherwise this class's functionality is identical except that it does not offer equals and hashCode implementations. There really isn't any point in using it.


Field Summary
 
Fields inherited from interface com.atlassian.jira.issue.context.IssueContext
GLOBAL
 
Constructor Summary
LazyIssueContext(Long projectId, String issueTypeId)
          Deprecated.  
 
Method Summary
 org.ofbiz.core.entity.GenericValue getIssueType()
          Deprecated. Gets the IssueType for this IssueContext.
 String getIssueTypeId()
          Deprecated. Gets the ID of the IssueType for this IssueContext.
 IssueType getIssueTypeObject()
          Deprecated. Gets the IssueType for this IssueContext.
 org.ofbiz.core.entity.GenericValue getProject()
          Deprecated. Gets the Project for this IssueContext.
 Long getProjectId()
          Deprecated. Gets the ID of the Project for this IssueContext.
 Project getProjectObject()
          Deprecated. Gets the Project for this IssueContext.
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LazyIssueContext

public LazyIssueContext(Long projectId,
                        String issueTypeId)
Deprecated. 
Method Detail

getProjectObject

public Project getProjectObject()
Deprecated. 
Description copied from interface: IssueContext
Gets the Project for this IssueContext.

A null return value is used to represent that this context applies to all Projects.

Specified by:
getProjectObject in interface IssueContext
Returns:
The Project for this IssueContext (can be null).

getProject

public org.ofbiz.core.entity.GenericValue getProject()
Deprecated. 
Description copied from interface: IssueContext
Gets the Project for this IssueContext.

A null return value is used to represent that this context applies to all Projects.

Specified by:
getProject in interface IssueContext
Returns:
The Project for this IssueContext (can be null).

getProjectId

public Long getProjectId()
Deprecated. 
Description copied from interface: IssueContext
Gets the ID of the Project for this IssueContext.

A null return value is used to represent that this context applies to all Projects.

Specified by:
getProjectId in interface IssueContext
Returns:
The ID of the Project for this IssueContext (can be null).

getIssueTypeObject

public IssueType getIssueTypeObject()
Deprecated. 
Description copied from interface: IssueContext
Gets the IssueType for this IssueContext.

A null return value is used to represent that this context applies to all IssueTypes.

Specified by:
getIssueTypeObject in interface IssueContext
Returns:
The IssueType for this IssueContext (can be null).

getIssueType

public org.ofbiz.core.entity.GenericValue getIssueType()
Deprecated. 
Description copied from interface: IssueContext
Gets the IssueType for this IssueContext.

A null return value is used to represent that this context applies to all IssueTypes.

Specified by:
getIssueType in interface IssueContext
Returns:
The IssueType for this IssueContext (can be null).

getIssueTypeId

public String getIssueTypeId()
Deprecated. 
Description copied from interface: IssueContext
Gets the ID of the IssueType for this IssueContext.

A null return value is used to represent that this context applies to all IssueTypes.

Specified by:
getIssueTypeId in interface IssueContext
Returns:
The ID of the IssueType for this IssueContext (can be null).

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.