com.atlassian.jira.issue.subscription
Class FilterSubscriptionFactory

java.lang.Object
  extended by com.atlassian.jira.entity.AbstractEntityFactory<FilterSubscription>
      extended by com.atlassian.jira.issue.subscription.FilterSubscriptionFactory
All Implemented Interfaces:
EntityBuilder<FilterSubscription>, EntityFactory<FilterSubscription>, NamedEntityBuilder<FilterSubscription>

public class FilterSubscriptionFactory
extends AbstractEntityFactory<FilterSubscription>

Since:
v6.2

Field Summary
static String EMAIL_ON_EMPTY
           
static String FILTER_ID
           
static String GROUP
           
static String ID
           
static String LAST_RUN_TIME
           
static String USER_KEY
           
 
Constructor Summary
FilterSubscriptionFactory()
           
 
Method Summary
 FilterSubscription build(org.ofbiz.core.entity.GenericValue gv)
          Builds an instance of this Entity from the given GenericValue.
 Map<String,Object> fieldMapFrom(FilterSubscription filterSubscription)
          Builds a FieldMap from an entity Object.
 String getEntityName()
          The name of the Entity as defined in the entitymodel.xml file.
 
Methods inherited from class com.atlassian.jira.entity.AbstractEntityFactory
buildList, genericValueFrom, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values

FILTER_ID

public static final String FILTER_ID
See Also:
Constant Field Values

USER_KEY

public static final String USER_KEY
See Also:
Constant Field Values

GROUP

public static final String GROUP
See Also:
Constant Field Values

LAST_RUN_TIME

public static final String LAST_RUN_TIME
See Also:
Constant Field Values

EMAIL_ON_EMPTY

public static final String EMAIL_ON_EMPTY
See Also:
Constant Field Values
Constructor Detail

FilterSubscriptionFactory

public FilterSubscriptionFactory()
Method Detail

getEntityName

public String getEntityName()
Description copied from interface: NamedEntityBuilder
The name of the Entity as defined in the entitymodel.xml file.

Returns:
the name of the Entity.

build

public FilterSubscription build(org.ofbiz.core.entity.GenericValue gv)
Description copied from interface: EntityBuilder
Builds an instance of this Entity from the given GenericValue.

Parameters:
gv - GenericValue for the entity
Returns:
the entity Object

fieldMapFrom

public Map<String,Object> fieldMapFrom(FilterSubscription filterSubscription)
Description copied from interface: EntityFactory
Builds a FieldMap from an entity Object. The FieldMap is the data held by a GenericValue, so this basically is the reverse operation of turning an object into a GenericValue.

Parameters:
filterSubscription - the Entity value
Returns:
Map of field values


Copyright © 2002-2014 Atlassian. All Rights Reserved.