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 Sambhusversion: 1.0
ABFetchTag public ABFetchTag()(Code) Constructor for ABFetchTag() - instantiates the searchEntry object
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.base.CommandTag protected boolean executeStatus(Code) (Java Doc)
Fields inherited from com.sun.portal.wireless.taglibs.base.BaseTagSupport protected String name(Code) (Java Doc)