com.atlassian.jira.plugin.viewissue
Class AttachmentSortingOptionsFactory

java.lang.Object
  extended by com.atlassian.jira.plugin.viewissue.AttachmentSortingOptionsFactory
All Implemented Interfaces:
SimpleLinkFactory

public class AttachmentSortingOptionsFactory
extends Object
implements SimpleLinkFactory

Factory to return the options for the different sorting options

Since:
v5.0

Constructor Summary
AttachmentSortingOptionsFactory(VelocityRequestContextFactory requestContextFactory, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 List<SimpleLink> getLinks(com.atlassian.crowd.embedded.api.User user, Map<String,Object> params)
          Generates a list of SimpleLink objects.
 void init(SimpleLinkFactoryModuleDescriptor descriptor)
          Initialization method for the factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentSortingOptionsFactory

public AttachmentSortingOptionsFactory(VelocityRequestContextFactory requestContextFactory,
                                       JiraAuthenticationContext authenticationContext)
Method Detail

init

public void init(SimpleLinkFactoryModuleDescriptor descriptor)
Description copied from interface: SimpleLinkFactory
Initialization method for the factory. Used to retrieve information off the module descriptor

Specified by:
init in interface SimpleLinkFactory
Parameters:
descriptor - The descriptor responsible for defining this factory.

getLinks

public List<SimpleLink> getLinks(com.atlassian.crowd.embedded.api.User user,
                                 Map<String,Object> params)
Description copied from interface: SimpleLinkFactory
Generates a list of SimpleLink objects.

Specified by:
getLinks in interface SimpleLinkFactory
Parameters:
user - The user this list is being generated for.
Returns:
a list of SimpleLink objects tailored for the user.


Copyright © 2002-2014 Atlassian. All Rights Reserved.