Java Doc for PageMap.java in  » J2EE » wicket » org » apache » wicket » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » wicket » org.apache.wicket 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.wicket.PageMap

All known Subclasses:   org.apache.wicket.AccessStackPageMap,
PageMap
abstract public class PageMap implements IClusterable,IPageMap(Code)

author:
   Jonathan Locke
author:
   jcompagner

Inner Class :static interface IVisitor

Field Summary
final public static  StringDEFAULT_NAME
    

Constructor Summary
public  PageMap(String name)
    

Method Summary
final public  StringattributeForId(int id)
    
final  StringattributePrefix()
    
public  voidclear()
    
final public  booleancontinueToOriginalDestination()
     Redirects to any intercept page previously specified by a call to redirectToInterceptPage.
final protected  voiddirty()
    
public static  IPageMapforName(String pageMapName)
     Gets a page map for a page map name, automatically creating the page map if it does not exist.
abstract public  Pageget(int id, int versionNumber)
    
final public  IPageMapEntrygetEntry(int id)
    
final public  SerializablegetMetaData(MetaDataKey key)
     Gets metadata for this PageMap using the given key.
final public  StringgetName()
    
final public  SessiongetSession()
    
final public  longgetSizeInBytes()
    
final public  booleanisDefault()
    
final public  intnextId()
    
abstract public  voidput(Page page)
    
final public  voidredirectToInterceptPage(Class pageClazz)
     Redirects browser to an intermediate page such as a sign-in page.
final public  voidredirectToInterceptPage(Page page)
     Redirects browser to an intermediate page such as a sign-in page.
final public  voidremove()
    
final public  voidremove(Page page)
    
abstract public  voidremoveEntry(IPageMapEntry entry)
    
final public  voidsetMetaData(MetaDataKey key, Serializable object)
     Sets the metadata for this PageMap using the given key.
public  StringtoString()
    
final protected  voidvisitEntries(IVisitor visitor)
    

Field Detail
DEFAULT_NAME
final public static String DEFAULT_NAME(Code)
Name of default pagemap




Constructor Detail
PageMap
public PageMap(String name)(Code)
Constructor
Parameters:
  name - The name of this page map
Parameters:
  session - The session holding this page map




Method Detail
attributeForId
final public String attributeForId(int id)(Code)

See Also:   org.apache.wicket.IPageMap.attributeForId(int)



attributePrefix
final String attributePrefix()(Code)
The attribute prefix for this page map



clear
public void clear()(Code)

See Also:   org.apache.wicket.IPageMap.clear



continueToOriginalDestination
final public boolean continueToOriginalDestination()(Code)
Redirects to any intercept page previously specified by a call to redirectToInterceptPage. True if an original destination was redirected to
See Also:   PageMap.redirectToInterceptPage(Page)



dirty
final protected void dirty()(Code)



forName
public static IPageMap forName(String pageMapName)(Code)
Gets a page map for a page map name, automatically creating the page map if it does not exist. If you do not want the pagemap to be automatically created, you can call Session.pageMapForName(pageMapName, false).
Parameters:
  pageMapName - The name of the page map to get The PageMap with the given name from the current session



get
abstract public Page get(int id, int versionNumber)(Code)

See Also:   org.apache.wicket.IPageMap.get(intint)



getEntry
final public IPageMapEntry getEntry(int id)(Code)

See Also:   org.apache.wicket.IPageMap.getEntry(int)



getMetaData
final public Serializable getMetaData(MetaDataKey key)(Code)
Gets metadata for this PageMap using the given key.
Parameters:
  key - The key for the data The metadata or null of no metadata was found for the given key
See Also:   MetaDataKey



getName
final public String getName()(Code)

See Also:   org.apache.wicket.IPageMap.getName



getSession
final public Session getSession()(Code)
Session this page map is in



getSizeInBytes
final public long getSizeInBytes()(Code)

See Also:   org.apache.wicket.IPageMap.getSizeInBytes



isDefault
final public boolean isDefault()(Code)

See Also:   org.apache.wicket.IPageMap.isDefault



nextId
final public int nextId()(Code)

See Also:   org.apache.wicket.IPageMap.nextId



put
abstract public void put(Page page)(Code)

See Also:   org.apache.wicket.IPageMap.put(org.apache.wicket.Page)



redirectToInterceptPage
final public void redirectToInterceptPage(Class pageClazz)(Code)
Redirects browser to an intermediate page such as a sign-in page. The current request's URL is saved exactly as it was requested for future use by continueToOriginalDestination(); Only use this method when you plan to continue to the current URL at some later time; otherwise just use setResponsePage or, when you are in a constructor, redirectTo.
Parameters:
  pageClazz - The page clazz to temporarily redirect to



redirectToInterceptPage
final public void redirectToInterceptPage(Page page)(Code)
Redirects browser to an intermediate page such as a sign-in page. The current request's URL is saved exactly as it was requested for future use by continueToOriginalDestination(); Only use this method when you plan to continue to the current URL at some later time; otherwise just use setResponsePage or, when you are in a constructor, redirectTo.
Parameters:
  page - The page to temporarily redirect to



remove
final public void remove()(Code)

See Also:   org.apache.wicket.IPageMap.remove



remove
final public void remove(Page page)(Code)

See Also:   org.apache.wicket.IPageMap.remove(org.apache.wicket.Page)



removeEntry
abstract public void removeEntry(IPageMapEntry entry)(Code)

See Also:   org.apache.wicket.IPageMap.removeEntry(org.apache.wicket.session.pagemap.IPageMapEntry)



setMetaData
final public void setMetaData(MetaDataKey key, Serializable object)(Code)
Sets the metadata for this PageMap using the given key. If the metadata object is not of the correct type for the metadata key, an IllegalArgumentException will be thrown. For information on creating MetaDataKeys, see MetaDataKey .
Parameters:
  key - The singleton key for the metadata
Parameters:
  object - The metadata object
throws:
  IllegalArgumentException -
See Also:   MetaDataKey



toString
public String toString()(Code)

See Also:   java.lang.Object.toString



visitEntries
final protected void visitEntries(IVisitor visitor)(Code)

Parameters:
  visitor - The visitor to call at each Page in this PageMap.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.