org.opencrx.kernel.utils
Class AccountsFilterHelper

java.lang.Object
  extended by org.opencrx.kernel.utils.AccountsFilterHelper

public class AccountsFilterHelper
extends Object


Field Summary
protected  AccountFilterGlobal accountFilter
           
protected  Account1Package accountPackage
           
protected  Segment accountSegment
           
protected  String filterName
           
protected  javax.jdo.PersistenceManager pm
           
 
Constructor Summary
AccountsFilterHelper(javax.jdo.PersistenceManager pm)
           
 
Method Summary
static String formatDate(Date date)
           
 AbstractFilterAccount getAccountFilter()
           
 Segment getAccountSegment()
           
 Collection<Account> getFilteredAccounts(AccountQuery accountQuery)
           
 String getFilterName()
           
 javax.jdo.PersistenceManager getPersistenceManager()
           
 int parseFilteredAccountsUri(String uri)
           
static List<String> splitUri(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pm

protected final javax.jdo.PersistenceManager pm

accountFilter

protected AccountFilterGlobal accountFilter

accountPackage

protected Account1Package accountPackage

accountSegment

protected Segment accountSegment

filterName

protected String filterName
Constructor Detail

AccountsFilterHelper

public AccountsFilterHelper(javax.jdo.PersistenceManager pm)
Method Detail

parseFilteredAccountsUri

public int parseFilteredAccountsUri(String uri)
                             throws IllegalArgumentException
Throws:
IllegalArgumentException

getAccountFilter

public AbstractFilterAccount getAccountFilter()

getAccountSegment

public Segment getAccountSegment()

getFilterName

public String getFilterName()

getFilteredAccounts

public Collection<Account> getFilteredAccounts(AccountQuery accountQuery)

formatDate

public static String formatDate(Date date)

splitUri

public static List<String> splitUri(String uri)
                             throws IllegalArgumentException
Throws:
IllegalArgumentException

getPersistenceManager

public javax.jdo.PersistenceManager getPersistenceManager()


This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.