*/
public Object execute( Object thiz, Object[] args ) throws Exception {
// It does not matter which type of PIM list is being opened here
// They share the same categories defined in the PIM database
BlackBerryPIMList pimList = (BlackBerryPIMList) BlackBerryPIM.getInstance().openPIMList( PIM.TODO_LIST, PIM.READ_WRITE );
pimList.addCategory( args[ 0 ].toString() );
return UNDEFINED;
}
/**
* @see blackberry.core.ScriptableFunctionBase#getFunctionSignatures()