com.atlassian.greenhopper.manager.lexorank.balancer
Class BalancerEntryManagerImpl

java.lang.Object
  extended by com.atlassian.greenhopper.manager.lexorank.balancer.BalancerEntryManagerImpl
All Implemented Interfaces:
BalancerEntryManager

@Service
public class BalancerEntryManagerImpl
extends java.lang.Object
implements BalancerEntryManager

BalancerEntryManager implementation.


Field Summary
protected  LoggerWrapper log
           
 
Constructor Summary
BalancerEntryManagerImpl()
           
 
Method Summary
 void delete(BalancerEntry entry)
          Delete a balancer entry.
 BalancerEntry get(java.lang.Long fieldId)
          Get a balancer entry given a fieldId.
 java.util.List<BalancerEntry> list()
          Get all balancer entries present.
 java.lang.Long save(BalancerEntry entry)
          Save/Update a balancer entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final LoggerWrapper log
Constructor Detail

BalancerEntryManagerImpl

public BalancerEntryManagerImpl()
Method Detail

delete

public void delete(BalancerEntry entry)
Description copied from interface: BalancerEntryManager
Delete a balancer entry.

Specified by:
delete in interface BalancerEntryManager
Parameters:
entry - is the entry to delete

save

public java.lang.Long save(BalancerEntry entry)
Description copied from interface: BalancerEntryManager
Save/Update a balancer entry.

Specified by:
save in interface BalancerEntryManager
Parameters:
entry - is the entry to save/update.
Returns:
the id of the entry that was updated.

list

public java.util.List<BalancerEntry> list()
Description copied from interface: BalancerEntryManager
Get all balancer entries present.

Specified by:
list in interface BalancerEntryManager
Returns:
a list of balancer entries.

get

public BalancerEntry get(java.lang.Long fieldId)
Description copied from interface: BalancerEntryManager
Get a balancer entry given a fieldId.

Specified by:
get in interface BalancerEntryManager
Parameters:
fieldId - is the fieldId
Returns:
the BalancerEntry, or null.


Copyright © 2007-2014 Atlassian. All Rights Reserved.