class: FacesBean

public class: FacesBean
Author: Mario Wagner
Project: Phase: 1.0; Status: Proposed; Version: @version; Complexity: 1
Dates: Created: 16.07.2009 15:31:54; Modified: 16.07.2009 15:31:54;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {1FFEB9EE-392A-4a94-A72D-BC687992C3A6}
The FacesBean provides common features for bean and facesMessage handling. Designed to replace inheritance from FacesBean and others.
 

Goto: Custom Properties, Fields, Methods

Extends: InternationalizedImpl

See also: AcceptItem, AcceptItemSessionBean, AffiliationBean, AffiliationSessionBean, AffiliationTree, BreadcrumbPage, InternationalizedImpl, AudienceBean, AudienceSessionBean, PubItemStorageSessionBean, BreadcrumbItem, BreadcrumbItemHistoryRequestBean, BreadcrumbItemHistorySessionBean, BasePaginatorListSessionBean, ContextListSessionBean, CreateItem, DepositorWSSessionBean, AdvancedSearch, Header, Login, Logo, Navigation, Search, EasySubmission, EasySubmissionSessionBean, CreatorBean, SourceBean, EditItem, EditItemSessionBean, FileUploadBean, ExportItems, ExportItemsSessionBean, Home, ItemList, ViewItemLog, ImportData, ImportItemDetails, ImportItems, ImportWorkspace, MultipleImport, QAWSSessionBean, ItemVersionListSessionBean, ReleaseHistory, ReviseItem, CreateRevision, RelationListSessionBean, CriterionBean, SearchResultListSessionBean, ViewItemStatistics, SubmitItem, SubmitItemSessionBean, SwordUtil, ListControlSessionBean, FileLocatorUploadBean, GrantVOPresentation, LoginHelper, PubFileVOPresentation, FileBean, SourceBean, ViewItem, ViewItemFull, ViewItemMedium, ViewItemOrganizationInformation, ViewItemOrganizationInformationPage, ViewItemSessionBean, WithdrawItem, WithdrawItemSessionBean, AffiliationDetailPage, ApplicationBean, CreateItemPage, GTAdvancedSearchPage, GTAffiliationPage, GTDepositorWSPage, GTEditItemPage, GTSearching, GTSearchResultListPage, GTViewItemFullPage, GTviewItemPage, ItemControllerSessionBean, ItemList, ItemListSessionBean, PubManRequestBean, PubManSessionBean, RightsManagementSessionBean

Appears in: appbase

Connections
 
Custom Properties
 
FacesBean Attributes
Attribute Details
public static String
  BEAN_NAME
Initial: FacesBean.class.getName()
private static Logger
  logger
Initial: Logger.getLogger(FacesBean.class)
 
FacesBean Methods
Operation Details
public static
error(
   String summary):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
error(
   String summary,
   String detail):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text, a detailed description and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
error(
   UIComponent component,
   String summary):void
Sequential
Notes: Enqueue a <code>FacesMessage</code> associated with the specified component, containing the specified summary text and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
error(
   String summary,
   String detail,
   UIComponent component):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text, a detailed description and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public
FacesBean():
Sequential
public static
fatal(
   String summary):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
fatal(
   String summary,
   String detail):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text, a detailed description and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
fatal(
   UIComponent component,
   String summary):void
Sequential
Notes: Enqueue a <code>FacesMessage</code> associated with the specified component, containing the specified summary text and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
fatal(
   String summary,
   String detail,
   UIComponent component):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text, a detailed description and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
getApplication():Application
Sequential
Notes: Return the <code>Application</code> instance for the current web application.
@return <code>Application</code>
public static
getBean(
   Class cls):Object
Sequential
Tags: annotations=@Deprecated
Notes: Return any bean stored in request, session or application scope under the specified name.
@return the actual or new bean instance
@Deprecated Use getRequestBean(), getSessionBean() or getApplicationBean instead.
public
getBeanName():String
Sequential
Notes: Get the name of the actual bean.
@return The name of the actual bean.
public static
getExternalContext():ExternalContext
Sequential
Notes: Return the <code>ExternalContext</code> instance for the current request.
@return <code>ExternalContext</code>
public static
getFacesContext():FacesContext
Sequential
Notes: Return the <code>FacesContext</code> instance for the current request.
@return <code>FacesContext</code>
public
getHasErrorMessages():boolean
Sequential
public
getHasMessages():boolean
Sequential
public
getNumberOfMessages():int
Sequential
public static
info(
   String summary):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
info(
   String summary,
   String detail):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text, a detailed description and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
info(
   UIComponent component,
   String summary):void
Sequential
Notes: Enqueue a <code>FacesMessage</code> associated with the specified component, containing the specified summary text and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
info(
   String summary,
   String detail,
   UIComponent component):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text, a detailed description and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
protected
init():void
Sequential
Notes: Dummy method to please derived classes.
public static
message(
   String summary,
   String detail,
   UIComponent component,
   Severity severity):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text, a detailed description and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
protected
prerender():void
Sequential
Notes: Dummy method to please derived classes.
protected
testLogin():void
Sequential
Notes: Check if a user is already logged in.
public static
warn(
   String summary):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
warn(
   String summary,
   String detail):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text, a detailed description and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
warn(
   UIComponent component,
   String summary):void
Sequential
Notes: Enqueue a <code>FacesMessage</code> associated with the specified component, containing the specified summary text and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.
public static
warn(
   String summary,
   String detail,
   UIComponent component):void
Sequential
Notes: Enqueue a global <code>FacesMessage</code> (not associated with any particular component) containing the specified summary text, a detailed description and a message severity level of <code>FacesMessage.SEVERITY_ERROR</code>.