Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

oracle.apps.fnd.appltest.diagfwk.test.sample
Class GLPeriod

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.test.sample.GLPeriod

public final class GLPeriod
extends java.lang.Object


Field Summary
static java.lang.String RCS_ID
          File version
 
Method Summary
 void clearData()
           
 void findPeriod(java.sql.Connection conn, java.lang.String pPeriodName, java.math.BigDecimal pLedgerId, java.math.BigDecimal pApplicationId)
          Get GLPeriod information from the GLPeriod Object for a given period, ledger and application This method returns data from GL_PERIOD_STATUSES and will include period status information
 java.util.Date getEndDate()
          Gets the period end date
 java.lang.String getPeriodName()
          Gets the period name
 int getPeriodNum()
          Gets the period number
 java.lang.String getPeriodStatus()
          Gets the period status
 int getPeriodYear()
          Gets the period year
 java.util.Date getStartDate()
          Gets the period start date
 boolean isValid()
          Gets the result of if period is found
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID
File version

See Also:
Constant Field Values
Method Detail

findPeriod

public void findPeriod(java.sql.Connection conn,
                       java.lang.String pPeriodName,
                       java.math.BigDecimal pLedgerId,
                       java.math.BigDecimal pApplicationId)
                throws java.sql.SQLException,
                       java.text.ParseException
Get GLPeriod information from the GLPeriod Object for a given period, ledger and application This method returns data from GL_PERIOD_STATUSES and will include period status information

Parameters:
conn - Current connection
periodName - Period Name
ledgerId - Ledger Id
applicationId - Application Id (this can be left null and will default to pick up period status information for General GLLedger)
Throws:
java.lang.Exception
java.sql.SQLException
java.text.ParseException

clearData

public void clearData()
               throws java.text.ParseException
Throws:
java.text.ParseException

getPeriodName

public java.lang.String getPeriodName()
Gets the period name

Returns:
The period name value

getStartDate

public java.util.Date getStartDate()
Gets the period start date

Returns:
The start date value

getEndDate

public java.util.Date getEndDate()
Gets the period end date

Returns:
The end date value

getPeriodNum

public int getPeriodNum()
Gets the period number

Returns:
The period number value

getPeriodYear

public int getPeriodYear()
Gets the period year

Returns:
The period year value

getPeriodStatus

public java.lang.String getPeriodStatus()
Gets the period status

Returns:
The period status value (null if retrieving period details from GL_PERIODS)

isValid

public boolean isValid()
Gets the result of if period is found

Returns:
If the period is found or not

Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.