org.chorem.lima.service.neogia.util
Class NeogiaUtil

java.lang.Object
  extended by org.chorem.lima.service.neogia.util.NeogiaUtil

public class NeogiaUtil
extends java.lang.Object

Author:
ore

Constructor Summary
NeogiaUtil()
           
 
Method Summary
static java.lang.String findStatusType(java.lang.String id)
           
static java.lang.Long getLowLevelCode(AccountDTO account)
           
static java.lang.String getTreePath(AccountDTO account)
           
static EntryDTO mapToEntryDTO(org.ofbiz.webservice.wrappers.xsd.GenericValueGlEntryAndGlEntryAccount value, java.util.List<AccountDTO> accounts)
           
static JournalDTO mapToJournalDTO(org.ofbiz.webservice.wrappers.xsd.GenericValueAcctgTransactionType value)
           
static PeriodDTO mapToPeriodDTO(java.util.List<StatusDTO> status, org.ofbiz.webservice.wrappers.xsd.GenericValueGlPeriod value)
           
static StatusDTO mapToStatusDTO(org.ofbiz.webservice.wrappers.xsd.GenericValueStatusItem value)
           
static TransactionDTO mapToTransactionDTO(org.ofbiz.webservice.wrappers.xsd.GenericValueAcctgTransactionItemAndGlPeriod value, java.util.List<PeriodDTO> periods, java.util.List<JournalDTO> journals, java.util.List<StatusDTO> status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NeogiaUtil

public NeogiaUtil()
Method Detail

mapToStatusDTO

public static StatusDTO mapToStatusDTO(org.ofbiz.webservice.wrappers.xsd.GenericValueStatusItem value)

findStatusType

public static java.lang.String findStatusType(java.lang.String id)

mapToTransactionDTO

public static TransactionDTO mapToTransactionDTO(org.ofbiz.webservice.wrappers.xsd.GenericValueAcctgTransactionItemAndGlPeriod value,
                                                 java.util.List<PeriodDTO> periods,
                                                 java.util.List<JournalDTO> journals,
                                                 java.util.List<StatusDTO> status)

mapToJournalDTO

public static JournalDTO mapToJournalDTO(org.ofbiz.webservice.wrappers.xsd.GenericValueAcctgTransactionType value)
Parameters:
value -
Returns:

getLowLevelCode

public static java.lang.Long getLowLevelCode(AccountDTO account)
Parameters:
account -
Returns:

mapToPeriodDTO

public static PeriodDTO mapToPeriodDTO(java.util.List<StatusDTO> status,
                                       org.ofbiz.webservice.wrappers.xsd.GenericValueGlPeriod value)

getTreePath

public static java.lang.String getTreePath(AccountDTO account)
Parameters:
account -
Returns:

mapToEntryDTO

public static EntryDTO mapToEntryDTO(org.ofbiz.webservice.wrappers.xsd.GenericValueGlEntryAndGlEntryAccount value,
                                     java.util.List<AccountDTO> accounts)


Copyright © 2008-2009 CodeLutin. All Rights Reserved.