Nuxeo Enterprise Platform 5.1

org.nuxeo.ecm.webapp.helpers
Class ApplicationControllerBean

java.lang.Object
  extended by org.nuxeo.ecm.webapp.helpers.ApplicationControllerBean
All Implemented Interfaces:
ApplicationController

Deprecated.

@Name(value="applicationController")
@Startup
@Scope(value=SESSION)
@Deprecated
public class ApplicationControllerBean
extends Object
implements ApplicationController

Encapsulates the page handling logic. Based on a document type, computes what page should be displayed to the user.

Author:
Razvan Caraghin, Anahide Tchertchian

Field Summary
protected static String CREATE_VIEW
          Deprecated.  
protected static String DEFAULT_VIEW
          Deprecated.  
protected static String EDIT_VIEW
          Deprecated.  
 
Constructor Summary
ApplicationControllerBean()
          Deprecated.  
 
Method Summary
 void destroy()
          Deprecated. Called by seam when this component needs to be distroyed.
 String getPageOnCreatedDocumentType(Type docType)
          Deprecated. Return the page to display when given document type is selected for creation.
 String getPageOnCreateDocumentType(Type docType)
          Deprecated. Return the page to display when given document type is selected for creation.
 String getPageOnEditDocumentType(Type docType)
          Deprecated. Return the page to display when given document type is selected for edition.
 String getPageOnEditedDocumentType(Type docType)
          Deprecated. Return the page to display when given document type has been successfully edited.
 String getPageOnSelectedDocumentType(Type docType)
          Deprecated. Return the page to display when given document type is selected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_VIEW

protected static final String DEFAULT_VIEW
Deprecated. 
See Also:
Constant Field Values

CREATE_VIEW

protected static final String CREATE_VIEW
Deprecated. 
See Also:
Constant Field Values

EDIT_VIEW

protected static final String EDIT_VIEW
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

ApplicationControllerBean

public ApplicationControllerBean()
Deprecated. 
Method Detail

getPageOnSelectedDocumentType

public String getPageOnSelectedDocumentType(Type docType)
Deprecated. 
Description copied from interface: ApplicationController
Return the page to display when given document type is selected. Can be configured setting the document type default view (default-view attribute).

Specified by:
getPageOnSelectedDocumentType in interface ApplicationController

getPageOnEditDocumentType

public String getPageOnEditDocumentType(Type docType)
Deprecated. 
Description copied from interface: ApplicationController
Return the page to display when given document type is selected for edition. Can be configured setting the document type edit view (edit-view attribute).

Specified by:
getPageOnEditDocumentType in interface ApplicationController

getPageOnEditedDocumentType

public String getPageOnEditedDocumentType(Type docType)
Deprecated. 
Description copied from interface: ApplicationController
Return the page to display when given document type has been successfully edited. Can be configured setting on the document type a view named after-edit, falls back on the document default view if not set.

Specified by:
getPageOnEditedDocumentType in interface ApplicationController

getPageOnCreateDocumentType

public String getPageOnCreateDocumentType(Type docType)
Deprecated. 
Description copied from interface: ApplicationController
Return the page to display when given document type is selected for creation. Can be configured setting the document type create view (create-view attribute).

Specified by:
getPageOnCreateDocumentType in interface ApplicationController

getPageOnCreatedDocumentType

public String getPageOnCreatedDocumentType(Type docType)
Deprecated. 
Description copied from interface: ApplicationController
Return the page to display when given document type is selected for creation. Can be configured setting on the document type a view named after-create, falls back on the document default view if not set.

Specified by:
getPageOnCreatedDocumentType in interface ApplicationController

destroy

public void destroy()
Deprecated. 
Description copied from interface: ApplicationController
Called by seam when this component needs to be distroyed.

Specified by:
destroy in interface ApplicationController

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.