Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.GetL
Retrieves the
IList
object for the given list name.This method does not create a list; it retrieves an existing list from among those known to Content Server. There are two variants of this method:
- GetList (Variant 1) , which retrieves a specified
IList
- GetList (Variant 2) , which retrieves a specified
IList
and can set theIList
's cursor to the first position in the list
ICS.GetL
Retrieves the
IList
object for the given list name.Syntax
public IList GetList(String listname)Parameters
listname
- The name of the list.
Description
The
GetList
method retrieves theIList
object for the given list name. This method does not create a list, it retrieves an existing list from among those known to ContentServer.Returns
The requested
IList
, or null if it does not exist.Example
The following code gets a list whose name is passed in the variable
theListName
:
String sListName = ics.GetVar("theListName"); IList theList = ics.GetList(sListName);See Also
ICS.GetL
Retrieves the
IList
object for the given list name.Syntax
public IList GetList(String listname, Boolean reset)Parameters
listname
- The name of the list.
reset
- A value of
true
sets the cursor to the first position in the list. A value offalse
maintains the current position in the list.
Description
The
GetList
method retrieves theIList
object for the given list name. This method does not create a list, it retrieves an existing list from among those known to ContentServer.Returns
The requested
IList
, or null if it does not exist.Example
The following code gets a list whose name is passed in the variable
theListName
:
String sListName = ics.GetVar("theListName"); IList theList = ics.GetList(sListName, true);See Also
CopyList , RegisterList , RenameList
Home > Contents > Index > FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.