Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

oracle.apps.fnd.applcore.attachments.ui
Class CachedToolbarButtonState

java.lang.Object
  extended by oracle.apps.fnd.applcore.attachments.ui.CachedToolbarButtonState

public class CachedToolbarButtonState
extends java.lang.Object

Data class representing an the states of the buttons in the table where the attachments are managed.

Version:
$Header: CachedToolbarButtonState.java 08-aug-2011.17:05:56 pacross Exp $
Author:
pacross

Constructor Summary
CachedToolbarButtonState()
          Default Constructor.
 
Method Summary
 boolean isCancelCheckoutDisabled()
          Whether the Undo/Cancel Check Out button should be disabled.
 boolean isCheckInDisabled()
          Whether the Check In button should be disabled.
 boolean isCheckOutDisabled()
          Whether the Check Out button should be disabled.
 boolean isDeleteDisabled()
          Whether the Delete button should be disabled.
 boolean loadState(oracle.adf.view.rich.component.UIXTable attachmentsTable)
          Based upon the state of the rows in the attachmentsTable provided, determine the disabled state of the Delete, Check In, Check Out and Undo Check Out buttons.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedToolbarButtonState

public CachedToolbarButtonState()
Default Constructor.

Method Detail

loadState

public boolean loadState(oracle.adf.view.rich.component.UIXTable attachmentsTable)
Based upon the state of the rows in the attachmentsTable provided, determine the disabled state of the Delete, Check In, Check Out and Undo Check Out buttons.

Parameters:
attachmentsTable - data table containing the rows to check.
Returns:
whether the load was successful.

isDeleteDisabled

public boolean isDeleteDisabled()
Whether the Delete button should be disabled.

Returns:
delete button disabled status.

isCheckOutDisabled

public boolean isCheckOutDisabled()
Whether the Check Out button should be disabled.

Returns:
check out button disabled status.

isCheckInDisabled

public boolean isCheckInDisabled()
Whether the Check In button should be disabled.

Returns:
check in button disabled status.

isCancelCheckoutDisabled

public boolean isCancelCheckoutDisabled()
Whether the Undo/Cancel Check Out button should be disabled.

Returns:
undo check out button disabled status.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.