Java Doc for ABFetchTag.java in  » Portal » Open-Portal » com » sun » portal » wireless » taglibs » ab » 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 » Portal » Open Portal » com.sun.portal.wireless.taglibs.ab 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.servlet.jsp.tagext.TagSupport
      com.sun.portal.wireless.taglibs.base.BaseTagSupport
         com.sun.portal.wireless.taglibs.base.CommandTag
            com.sun.portal.wireless.taglibs.ab.ABBaseCommandTag
               com.sun.portal.wireless.taglibs.ab.ABFetchTag

ABFetchTag
public class ABFetchTag extends ABBaseCommandTag (Code)
The ABFetchTag class executes the address book search/fetch command. Attibutes (all optional): sd, sb, any, fn, ln, em, hp, bp, fp, mp, pp, cn,
author:
   Mihir Sambhus
version:
   1.0



Constructor Summary
public  ABFetchTag()
    

Method Summary
public  booleanexecute()
     Execute the search command with the given filters on the user's address book.
public  StringgetAny()
    
public  StringgetBp()
     Get bp - Business Phon valuee from the Entry bean.
public  StringgetCn()
     Get cn - Common name/display name of the element.
public  StringgetCollection()
    
public  StringgetElementtype()
    
public  StringgetEm()
     Get em - Email value from the Entry bean.
public  StringgetExact()
    
public  StringgetFn()
     Get fn - First name value from the Entry bean.
public  StringgetFp()
     Get fp - Fax value from the Entry bean.
public  StringgetGroupid()
     Get group id - index into the current collection.
public  StringgetHp()
     Get hp - Home Phon valuee from the Entry bean.
public  StringgetLn()
     Get ln - Last name value from the Entry bean.
public  StringgetMp()
     Get mp - Mobile phone value from the Entry bean.
public  StringgetPp()
     Get pp - Pager phone value from the Entry bean.
public  StringgetSb()
    
public  StringgetSd()
    
public  voidrelease()
    
public  voidsetAny(String any)
    
public  voidsetBp(String bp)
     Set bp - Business Phone in Entry bean.
public  voidsetCn(String cn)
     Set cn - Common name/display name of the element.
public  voidsetCollection(String collection)
    
public  voidsetElementtype(String elementtype)
    
public  voidsetEm(String em)
     Set em - Email in Entry bean.
public  voidsetExact(String exact)
    
public  voidsetFn(String fn)
     Set fn - First name in Entry bean
Parameters:
  fn - the fn String.
public  voidsetFp(String fp)
     Set fp - Fax in Entry bean.
public  voidsetGroupid(String groupid)
     Set group id - index into the current collection.
public  voidsetHp(String hp)
     Set hp - Home Phone in Entry bean.
public  voidsetLn(String ln)
     Set ln - Last name in Entry bean.
public  voidsetMp(String mp)
     Set mp - Mobile Phone in Entry bean.
public  voidsetPp(String pp)
     Set pp - Pager phone in Entry bean.
public  voidsetSb(String sb)
    
public  voidsetSd(String sd)
    


Constructor Detail
ABFetchTag
public ABFetchTag()(Code)
Constructor for ABFetchTag() - instantiates the searchEntry object




Method Detail
execute
public boolean execute() throws JspException(Code)
Execute the search command with the given filters on the user's address book. Returns the command status. If the command fails then the tag body is included, Else if the command succeeds then the tag body is skipped. true if the command succeeds.false if the command fails.
exception:
  JspException -



getAny
public String getAny()(Code)
Get any - 'any' field value from the Entry bean 'any' - String



getBp
public String getBp()(Code)
Get bp - Business Phon valuee from the Entry bean. Valid while searching Entry bp - String



getCn
public String getCn()(Code)
Get cn - Common name/display name of the element. Valid in Entry as well as Group. cn - String



getCollection
public String getCollection()(Code)
Get Collection - collection to store the results in collection



getElementtype
public String getElementtype()(Code)
Get element elementtype - Can be entry, group, all elementtype - String



getEm
public String getEm()(Code)
Get em - Email value from the Entry bean. Valid while searching Entry em - String



getExact
public String getExact()(Code)
Get Exact - Determines whether search is exact or approximate exact



getFn
public String getFn()(Code)
Get fn - First name value from the Entry bean. Valid while searching Entry fn - String



getFp
public String getFp()(Code)
Get fp - Fax value from the Entry bean. Valid while searching Entry fp - String



getGroupid
public String getGroupid()(Code)
Get group id - index into the current collection. groupid



getHp
public String getHp()(Code)
Get hp - Home Phon valuee from the Entry bean. Valid while searching Entry hp - String



getLn
public String getLn()(Code)
Get ln - Last name value from the Entry bean. Valid while searching Entry ln - String



getMp
public String getMp()(Code)
Get mp - Mobile phone value from the Entry bean. Valid while searching Entry mp - String



getPp
public String getPp()(Code)
Get pp - Pager phone value from the Entry bean. Valid while searching Entry pp - String



getSb
public String getSb()(Code)
Get sb - sort by attribute value sb - sort by attribute value



getSd
public String getSd()(Code)
Get sd - sort direction attribute value sd - sort direction attribute value



release
public void release()(Code)
Cleanup



setAny
public void setAny(String any)(Code)
Set any - fn, ln, em, bp, hp, mp, fp, pp in Entry bean
Parameters:
  any - the 'any' String



setBp
public void setBp(String bp)(Code)
Set bp - Business Phone in Entry bean. Valid in Entry only
Parameters:
  bp - the bp String



setCn
public void setCn(String cn)(Code)
Set cn - Common name/display name of the element. Valid in Entry as well as Group.
Parameters:
  cn - the cn String



setCollection
public void setCollection(String collection)(Code)
Set Collection - collection to store the results in
Parameters:
  collection -



setElementtype
public void setElementtype(String elementtype)(Code)
Set element type - Can be entry or group
Parameters:
  elementtype - - String



setEm
public void setEm(String em)(Code)
Set em - Email in Entry bean. Valid in Entry only
Parameters:
  em - the em String



setExact
public void setExact(String exact)(Code)
Set Exact - Determines whether search is exact or approximate
Parameters:
  exact -



setFn
public void setFn(String fn)(Code)
Set fn - First name in Entry bean
Parameters:
  fn - the fn String. Valid in Entry only



setFp
public void setFp(String fp)(Code)
Set fp - Fax in Entry bean. Valid in Entry only
Parameters:
  fp - the fp String



setGroupid
public void setGroupid(String groupid)(Code)
Set group id - index into the current collection. If specified, search for elements in the group
Parameters:
  groupid -



setHp
public void setHp(String hp)(Code)
Set hp - Home Phone in Entry bean. Valid in Entry only
Parameters:
  hp - the hp String



setLn
public void setLn(String ln)(Code)
Set ln - Last name in Entry bean. Valid in Entry only
Parameters:
  ln - the ln String



setMp
public void setMp(String mp)(Code)
Set mp - Mobile Phone in Entry bean. Valid in Entry only
Parameters:
  mp - the mp String



setPp
public void setPp(String pp)(Code)
Set pp - Pager phone in Entry bean. Valid in Entry only
Parameters:
  pp - the pp String



setSb
public void setSb(String sb)(Code)
Set sb - 'Sort by' attribute
Parameters:
  sb - the 'sort by' String



setSd
public void setSd(String sd)(Code)
Set sd - 'Sort direction' attribtue
Parameters:
  sd - the 'sort direction' String



Fields inherited from com.sun.portal.wireless.taglibs.ab.ABBaseCommandTag
protected ABContext abContext(Code)(Java Doc)
protected String entryid(Code)(Java Doc)
protected String name(Code)(Java Doc)

Methods inherited from com.sun.portal.wireless.taglibs.ab.ABBaseCommandTag
public ABContext getABContext() throws JspException(Code)(Java Doc)
public ContactDB getContactDB() throws JspException(Code)(Java Doc)
public Element getElement() throws JspException(Code)(Java Doc)
public Element getEntry(int entryid) throws JspException(Code)(Java Doc)
public String getEntryid()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public void release()(Code)(Java Doc)
public boolean requiredPropertiesExist(Element e) throws JspException(Code)(Java Doc)
public void setEntryid(String entryid)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void verifyEntryid() throws JspException(Code)(Java Doc)

Fields inherited from com.sun.portal.wireless.taglibs.base.CommandTag
protected boolean executeStatus(Code)(Java Doc)

Methods inherited from com.sun.portal.wireless.taglibs.base.CommandTag
public int doEndTag() throws JspException(Code)(Java Doc)
public int doStartTag() throws JspException(Code)(Java Doc)
abstract public boolean execute() throws JspException(Code)(Java Doc)
public void release()(Code)(Java Doc)

Fields inherited from com.sun.portal.wireless.taglibs.base.BaseTagSupport
protected String name(Code)(Java Doc)

Methods inherited from com.sun.portal.wireless.taglibs.base.BaseTagSupport
public String evalAttribute(String attribute)(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public void release()(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)

Fields inherited from javax.servlet.jsp.tagext.TagSupport
protected String id(Code)(Java Doc)
protected PageContext pageContext(Code)(Java Doc)

Methods inherited from javax.servlet.jsp.tagext.TagSupport
public int doAfterBody() throws JspException(Code)(Java Doc)
public int doEndTag() throws JspException(Code)(Java Doc)
public int doStartTag() throws JspException(Code)(Java Doc)
final public static Tag findAncestorWithClass(Tag from, Class klass)(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public Tag getParent()(Code)(Java Doc)
public Object getValue(String k)(Code)(Java Doc)
public Enumeration getValues()(Code)(Java Doc)
public void release()(Code)(Java Doc)
public void removeValue(String k)(Code)(Java Doc)
public void setId(String id)(Code)(Java Doc)
public void setPageContext(PageContext pageContext)(Code)(Java Doc)
public void setParent(Tag t)(Code)(Java Doc)
public void setValue(String k, Object o)(Code)(Java Doc)

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.